On Friday, September 27, 2002, at 06:18  PM, Andrea Riciputi wrote:
>
>> [localhost:my_dir]me% cc -o prova -I /sw/include prova.c -lgsl -lm
>
> as suggested by GSL manual I get:
>
>> /usr/bin/ld: can't locate file for: -lgsl
>
> Finally, if I search gsl*.lib I can't find it anywhere under /sw. 
> Where I get wrong?
>

Add -L/sw/lib

libraries are called ".dylib" on mac OS X.

FAQ http://fink.sourceforge.net/faq/usage-general.php#compile-myself

-Ben



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to