On Solaris, libtool does not allow me to do the following: > /bin/sh ../libtool --mode=link gcc -g -O2 -o libfoo.la -rpath /usr/local/lib foo.lo /usr/local/lib/libbar.a libtool: link: cannot build libtool library `libfoo.la' from non-libtool objects: /usr/local/lib/libbar.a and yet the Solaris linker allows this: > /usr/ccs/bin/ld -G -h libfoo.so.0 -o .libs/libfoo.so.0.0.0 foo.lo -lc /usr/local/lib/libbar.a Is there a special flag/option that I need to add to get this functionality? -- Thanks, Paul
- RE: Link static library into libtool library Paul Berrevoets
- RE: Link static library into libtool library Thomas Tanner
- Re: Link static library into libtool library Alexandre Oliva
- Re: Link static library into libtool library Chris
- Re: Link static library into libtool library Alexandre Oliva
- Re: Link static library into libtool library Frank Ch. Eigler
- Re: Link static library into libtool library Alexandre Oliva
- Re: Link static library into libtool library Gary V. Vaughan
- Re: Link static library into libtool library Thomas Tanner
- Re: Link static library into libtool library Paul Berrevoets
- Re: Link static library into libtool library Ossama Othman