Re SDLMain: many problems on MacOSX

Hello Enzo,

when I compile a SDL application on Mac OS X with Xcode or Project Builder,
I link my code with all this FrameWorks :

Carbon.Frameworks
Quicktime.Frameworks
Appkit.Frameworks
Foundation.Frameworks
IOKit.Frameworks
Cocoa.Frameworks

for SDL_main, you can just include your SDL_main.m file and SDL_main.h file in your
project and it works fine…

Jo?l Rodi?re

You wrote:

when I compile a SDL application on Mac OS X with Xcode or Project Builder,

Yes, but if I want to compile it WITHOUT Project Builder (only with gcc),
how can I do?

The only way I’ve been successful at getting it to run on the
Mac is to build it completely through src. Don’t use the runtime
libraries.

But, the same autoconf/automake code in my system worked pretty
much for the mac as with linux.

Enzo wrote:> You wrote:

when I compile a SDL application on Mac OS X with Xcode or Project Builder,

Yes, but if I want to compile it WITHOUT Project Builder (only with gcc),
how can I do?