Re: libtool



Example:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I/home/larry/garnome/include/glib-2.0 -I/home/larry/garnome/lib/glib-2.0/include -I/home/larry/garnome/include/gnome-vfs-2.0 -I/home/larry/garnome/lib/gnome-vfs-2.0/include -I/home/larry/garnome/include/bonobo-activation-2.0 -I/home/larry/garnome/include/orbit-2.0 -I/home/larry/garnome/include/libxml2 -I/home/larry/garnome/include/linc-1.0 -I/home/larry/garnome/include/gnome-vfs-module-2.0 -I/home/larry/garnome/include/libbonobo-2.0 -DSERVERDIR=\"/home/larry/garnome/libexec\" -I/home/larry/garnome/include -I/usr/local/X11R6/include -I/usr/local/openssl/include -I/home/larry/garnome/include -I/usr/local/X11R6/include -I/usr/local/openssl/include -I/home/larry/garnome/include -I/usr/local/X11R6/include -I/usr/local/openssl/include -I/home/larry/garnome/include -I/usr/local/X11R6/include -I/usr/local/openssl/include -I/home/larry/garnome/include -I/usr/local/X11R6/include -I/usr/local/openssl/include -I/home/larry/garnome/include -I/usr/local/X11R6/include -L/home/larry/garnome/lib -L/usr/local/X11R6/lib -I/usr/local/openssl/include -O2 -pipe -g -I/home/larry/garnome/include -I/usr/local/X11R6/include -L/home/larry/garnome/lib -L/usr/local/X11R6/lib -I/usr/local/openssl/include -O2 -pipe -g -I/home/larry/garnome/include -I/usr/local/X11R6/include -L/home/larry/garnome/lib -L/usr/local/X11R6/lib -I/usr/local/openssl/include -O2 -pipe -g -I/home/larry/garnome/include -I/usr/local/X11R6/include -L/home/larry/garnome/lib -L/usr/local/X11R6/lib -I/usr/local/openssl/include -O2 -pipe -g -I/home/larry/garnome/include -I/usr/local/X11R6/include -L/home/larry/garnome/lib -L/usr/local/X11R6/lib -I/usr/local/openssl/include -O2 -pipe -c help-method.c -fPIC -DPIC -o help-method.lo /usr/local/bin/bash ../../libtool --mode=link gcc -I/home/larry/garnome/include -I/usr/local/X11R6/include -L/home/larry/garnome/lib -L/usr/local/X11R6/lib -I/usr/local/openssl/include -O2 -pipe -g -I/home/larry/garnome/include -I/usr/local/X11R6/include -L/home/larry/garnome/lib -L/usr/local/X11R6/lib -I/usr/local/openssl/include -O2 -pipe -g -I/home/larry/garnome/include -I/usr/local/X11R6/include -L/home/larry/garnome/lib -L/usr/local/X11R6/lib -I/usr/local/openssl/include -O2 -pipe -g -I/home/larry/garnome/include -I/usr/local/X11R6/include -L/home/larry/garnome/lib -L/usr/local/X11R6/lib -I/usr/local/openssl/include -O2 -pipe -g -I/home/larry/garnome/include -I/usr/local/X11R6/include -L/home/larry/garnome/lib -L/usr/local/X11R6/lib -I/usr/local/openssl/include -O2 -pipe -L/home/larry/garnome/lib -L/usr/local/X11R6/lib -L/usr/local/openssl/lib -L/home/larry/garnome/lib -L/usr/local/X11R6/lib -L/usr/local/openssl/lib -L/home/larry/garnome/lib -L/usr/local/X11R6/lib -L/usr/local/openssl/lib -L/home/larry/garnome/lib -L/usr/local/X11R6/lib -L/usr/local/openssl/lib -L/home/larry/garnome/lib -L/usr/local/X11R6/lib -L/usr/local/openssl/lib -o libvfs-help.la -rpath /home/larry/garnome/lib/gnome-vfs-2.0/modules -export_dynamic -avoid-version help-method.lo -L/home/larry/garnome/lib -lgnomevfs-2 -lbonobo-2 -lbonobo-activation -lORBit-2 -lxml2 -lz -lm -lsocket -lnsl -llinc -lgmodule-2.0 -ldl -lgobject-2.0 -lgthread-2.0 -lthread -lglib-2.0 -lintl -liconv -lpopt -liconv


ARGH!!!

Larry

Larry McQueary wrote:

For that matter, and perhaps libtool's not the culprit on this, in many if not most packages I see my CFLAGS being repeated 3, 4, 10 times in a row during compilation of each file. I can appreciate wearing a belt and suspenders, but can't understand the ad nauseam repetition. Again, is this something everyone else is seeing, or is it perhaps just related to my non-Linux system? I find that hard to believe, given how generic GNU make and libtool are meant to be.

Larry McQueary wrote:

Does anyone else have issues with libtool creating many many many duplicate library dependencies ?? I find in some packages (like gnome-vfs) that I'll have -L/somepathname -lnsl -lsocket (as examples) repeated over and over 30, 50, or 100 times for the same link. Of course, many other times, they're only repeated 10 times or less.

It's so bad in some packages that I'll literally get so many repetitions of "-lnsl -lsocket" that the line length is exceeded and the script malfunctions as a result because the link line is not completed. I finally had to start copying the libtool from gtk+-2.0.6 over into some packages, and even then had to hack it up so that it wouldn't loop endlessly.

Comments?

Larry
(Solaris 2.8, gcc-3.2, most common GNU packages installed)







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]