SDL Forum Index
SDL
Simple DirectMedia Layer Forums
Reply to topic
Porting SDL to the PS3 GameOS
Seb DA ROCHA
Guest

Reply with 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
Porting SDL to the PS3 GameOS
Cebash


Joined: 28 Nov 2010
Posts: 7
Reply with quote
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
View user's profileSend private message
Porting SDL to the PS3 GameOS
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic