Hi, when I try to compile (using apples gcc) a sdl program (also including the cocoa framework along with sdlmain to be able to run it nativ in OS X) and link it statically to be able to run it on my other computers that hasn't got the sdl library installed I get the following error:
I never include this library in my compilation (doing it from the command line) so it most be made automatically by GCC.
I made a search for crt and I found crt1 and crt2 in my sdk, my question is if I'm missing something in the sdk and how I solve it?
Code:
ld: can't locate file for: -lcrt0.o
I never include this library in my compilation (doing it from the command line) so it most be made automatically by GCC.
I made a search for crt and I found crt1 and crt2 in my sdk, my question is if I'm missing something in the sdk and how I solve it?