[jamming] How to specify libraries on link line?

Andrew Marlow apm35 at student.open.ac.uk
Fri May 7 08:23:31 PDT 2004

I am trying to use jam but am struggling.
I have a socket program which needs to be
linked with "-lsocket -lnsl" on Solaris
and with winsock on Windoze. How do I add
the appropriate options to the linker
command line please?

I cannot use LinkLibraries because the libraries
are system libraries so they should not take part
in the dependency calculations, neither should full
pathnames be given.


Andrew Marlow
There is an emerald here the size of a plover's egg!

More information about the jamming mailing list