Re: libtool

Date view Thread view Subject view Author view

From: Alexandre Oliva (oliva@dcc.unicamp.br)
Date: Sun Jan 10 1999 - 16:19:35 EST


On Jan 10, 1999, Godmar Back <gback@marker.cs.utah.edu> wrote:

> Do you find anything unusual about this cmdline produced by automake/libtool?

> gcc -g -O2 -Wall -Wstrict-prototypes -o .libs/Kaffe .libs/KaffeS.o -Wl,--export-dynamic -lm -lc -lm -lc -lm -lc -lz -lm -lc -lm -lc -lm -lc -L/usr/X11R6/lib -ljpeg -lpng -lz -lgif -lm -lc main.o -Wl,--rpath -Wl,/x/gback/transvirtual/install/lib ../kaffevm/.libs/libkaffevm.so -ldl -lm -lc -lm -lc -lm -lc -lm -lc

Nope, nothing unusual. Every library depends on a set of other
libraries, at least -lm and -lc, and libtool includes all dependent
libraries in the link command. We might have eliminated the
duplicates in libtool, but sometimes the duplicates are necessary,
and, if not, they don't hurt, so we'd better leave it as is.

-- 
Alexandre Oliva  http://www.dcc.unicamp.br/~oliva  aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:34 EDT