The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
Porting SDL to the PS3 GameOS
Seb DA ROCHA
Guest

Hi,

I'm trying to port SDL to the PS3 using the PSL1GHT SDK.

I've managed to compile a dummy lib, but I had to comment some code for that (i.e. memory.h isn't provided in the SDK).

I would like to put a macro #define for that instead of just commenting. But I don't see how setup a macro at configure time that won't be erased next time I call autogen.sh ?

Could some one give me clue on that ?

Thanks a lot
Porting SDL to the PS3 GameOS
Cebash


Joined: 28 Nov 2010
Posts: 7
Ok, I did figure out something (I hope) clean:

I made a psl1ght section in configure.in and added my macro to the EXTRA_CFLAGS

I thought I code use the AC_DEFINE macro, bit doesn't seems to be used for that... *needs to follow a autocong tutorial some day :/ *

Anyway if someone interested, I will get the thing working here:

https://github.com/cebash/SDL_PSL1GHT

Thanks for this greats library Smile

On Sun, Nov 28, 2010 at 12:53 PM, Seb DA ROCHA wrote:
Quote:
Hi,

I'm trying to port SDL to the PS3 using the PSL1GHT SDK.

I've managed to compile a dummy lib, but I had to comment some code for that (i.e. memory.h isn't provided in the SDK).

I would like to put a macro #define for that instead of just commenting. But I don't see how setup a macro at configure time that won't be erased next time I call autogen.sh ?

Could some one give me clue on that ?

Thanks a lot