Edward Pilatowicz wrote:
> hey all,
>
> how do i link an application against a library with a non-standard name?
>
> for example, if i have a library called "foo_bar.so" i can't do:
> cc foo.c -o foo -lfoo_bar
You can just give the full path to the library - so if your
library is foo_bar.so:
cc foo.c -o foo /<somepath>/foo_bar.so
_Mike_
>
> since the linker will always prepend the "lib" prefix and search for
> libfoo_bar.so.
>
> thanks
> ed
> _______________________________________________
> tools-linking mailing list
> tools-linking at opensolaris.org