Right, but that completely ignores Salem's correct advice. What happens when you try this?
gcc foo.c -l SDLmain
Type: Posts; User: laserlight
Right, but that completely ignores Salem's correct advice. What happens when you try this?
gcc foo.c -l SDLmain
I don't what the reason is, but I do know that it should work with MinGW. You'll need to provide more information.
Are those .a files in the compiler's lib directory? If not, did you specify the directory that they are in with the -L option?