Linking problems
Alexandre Oliva
aoliva@redhat.com
Wed Mar 14 19:57:00 GMT 2001
On Mar 14, 2001, Eduardo José Hernández Cisneros <is100403@mail.udlap.mx> wrote:
> I have a static library developed with Sunôs Worshop compiler:
> /.../lib/abc.a
Is that in C++? Sun Workshop and g++ aren't binary compatible for
C++.
> -L /./lib \
> -L /./xyz//lib \
> -L /opt/GCC281/lib \
> -l myGNU\
> -l myGNUclass \
> -l stdc++ \
> -l iberty \
> -o client client.o
Always list object files before libraries they depend on, unless you
know exactly why you don't want to do it that way.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
More information about the Gcc-help
mailing list