Port to macosx

Hi,

I’ve wrote a SDL,OpenGL program on linux.
Now I would porting this program to macosx.
My question! What must I change? Have anyone experience with this
problem?

-JF

Nothing. Your code should stay intact as long as you are not using any
system specific library’s.

I regularly work between platforms. Coding some parts in OSX, windows,
and linux. I never have to change anything in the code.On Tue, 2004-03-02 at 15:38, Jens Frederich wrote:

Hi,

I’ve wrote a SDL,OpenGL program on linux.
Now I would porting this program to macosx.
My question! What must I change? Have anyone experience with this
problem?

-JF


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

I’ve wrote a SDL,OpenGL program on linux.
Now I would porting this program to macosx.
My question! What must I change? Have anyone experience with this
problem?

Nothing. Your code should stay intact as long as you are not using any
system specific library’s.

I regularly work between platforms. Coding some parts in OSX, windows,
and linux. I never have to change anything in the code.

Any suggestions on tools, etc. for OS X? I’ve written an app that I can build for Linux, Windows, and MacOS classic (e.g. 9.x), but haven’t looked into getting it to compile on OS X. Any problem with forgoing XCode and just building it from my makefile or perhaps CodeWarrior? I’d like to end up with an OS X native app…

-Roy

If you’re willing to statically link, I think you can install Fink and
use the Fink-installed SDL libraries in /sw/lib.

If you want to dynamically link however, you’ll need to build with the
OS X SDL framework in /Library/Frameworks, and have a lot of fun trying
to convince autoconf to use that.

-HollisOn Mar 2, 2004, at 3:15 PM, Roy Wood wrote:

Any suggestions on tools, etc. for OS X? I’ve written an app that I
can build for Linux, Windows, and MacOS classic (e.g. 9.x), but
haven’t looked into getting it to compile on OS X. Any problem with
forgoing XCode and just building it from my makefile or perhaps
CodeWarrior? I’d like to end up with an OS X native app…

If you want to dynamically link however, you’ll need to build with the
OS X SDL framework in /Library/Frameworks, and have a lot of fun trying
to convince autoconf to use that.

This isn’t true…you can build SDL in the “the unix way” from the
command line and dynamically link it without Fink. I did this for ut2004
(and other titles).

I just use gcc and GNU make, not XCode.

–ryan.