Can't find library although I specify where it should look
I'm trying to get sdl to work. I figured that I most likly didn't have to install it again since I already have it installed for fink and a library should be a library...
So I decided to try to link it to the lib I already have using:
but I get
gcc -L/sw/lib/ -llibSDL -llibSDLmain -I /sw/include -framework Cocoa example1.c
although I know that the files are in sw/lib...I tried searching google and the sdl website to find out what's wrong but I haven't found anything :(
ld: can't locate file for: -llibSDL