Trouble using SDL on Mac OsX 10.5.8 PPC

Bumping this

I am trying to test my SDL on a PPC mac.
I am not using xcode, I am using command line building.

I have two “flavors” of SDL on the mac. One is the official release using frameworks in /Library/Frameworks, the other is the compiled from source version installed in /opt/local/lib as libraries (this is the macports version). And I’ve got programs whose compile scripts (be it cmake, or automake, etc) are written for one and won’t work for the other.

I don’t know how to use the automake system. See previous post.

Does anyone have samples of SDL programs that are supposed to work “just fine” on PPC machines, and use any form of lightmaps? (If that’s not the right term, I’m sorry.)

Ultimately, I’m trying to track down issues with UfoAI not working right on PPC. It works just-fine on x86, and sometimes but not always on PPC. But its build system is complex, and needs the /opt/local/lib library versions, not the /Library/Frameworks versions.------------------------
(placeholder)

if all you are using is SDL as a dependency:
gcc source.c -o executable_name -I/path/to/SDL/include -L/path/to/SDL/lib
-lSDL -lSDLmain -llibrary_name

Makefiles are usually for larger projects with a bunch of dependencies and
whatnot.
I hope that helps,
-AlexOn Sat, Jul 17, 2010 at 11:28 PM, Keybounce wrote:

Bumping this

I am trying to test my SDL on a PPC mac.
I am not using xcode, I am using command line building.

I have two “flavors” of SDL on the mac. One is the official release using
frameworks in /Library/Frameworks, the other is the compiled from source
version installed in /opt/local/lib as libraries (this is the macports
version). And I’ve got programs whose compile scripts (be it cmake, or
automake, etc) are written for one and won’t work for the other.

I don’t know how to use the automake system. See previous post.

Does anyone have samples of SDL programs that are supposed to work “just
fine” on PPC machines, and use any form of lightmaps? (If that’s not the
right term, I’m sorry.)

Ultimately, I’m trying to track down issues with UfoAI not working right on
PPC. It works just-fine on x86, and sometimes but not always on PPC. But its
build system is complex, and needs the /opt/local/lib library versions, not
the /Library/Frameworks versions.


(placeholder)


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org