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:

Code:
gcc -L/sw/lib/ -llibSDL  -llibSDLmain -I /sw/include -framework Cocoa example1.c
but I get

Code:
ld: can't locate file for: -llibSDL
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