[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Stripping of -R options: libtool 1.3.4 (and 1.3.5) and gtk+-1.2.8
From: |
Tom Kacvinsky |
Subject: |
Stripping of -R options: libtool 1.3.4 (and 1.3.5) and gtk+-1.2.8 |
Date: |
Thu, 14 Dec 2000 08:48:09 -0500 (EST) |
I was building gtk+-1.2.8 on a sparc-sun-solaris2.7 box using Sun's Pro compiler
and Sun's ld. When libtool was invoked for linking, I see this as the argument
list for libtool:
/bin/sh ../libtool --mode=link ld -g -o libgdk.la -rpath /dsk1/scratch/lib \
-version-info 5:3:5 -release 1.2 -export-dynamic -L/dsk1/scratch/lib \
-R /dsk1/scratch/lib -lgmodule -lglib -ldl -L/usr/openwin/lib \
-R /usr/openwin/lib -lXext -lX11 -lsocket -lnsl -lm gdk.lo gdkcc.lo \
gdkcolor.lo gdkcursor.lo gdkdnd.lo gdkdraw.lo gdkevents.lo gdkfont.lo \
gdkgc.lo gdkglobals.lo gdkim.lo gdkimage.lo gdkinput.lo gdkpixmap.lo \
gdkproperty.lo gdkrgb.lo gdkrectangle.lo gdkregion.lo gdkselection.lo \
gdkvisual.lo gdkwindow.lo gdkxid.lo gxid_lib.lo
Yet, after libtool is done parsing the arguments and finally calls ld, I see:
/usr/ccs/bin/ld -G -h libgdk-1.2.so.0 -o .libs/libgdk-1.2.so.0.5.3 gdk.lo \
gdkcc.lo gdkcolor.lo gdkcursor.lo gdkdnd.lo gdkdraw.lo gdkevents.lo \
gdkfont.lo gdkgc.lo gdkglobals.lo gdkim.lo gdkimage.lo gdkinput.lo \
gdkpixmap.lo gdkproperty.lo gdkrgb.lo gdkrectangle.lo gdkregion.lo \
gdkselection.lo gdkvisual.lo gdkwindow.lo gdkxid.lo gxid_lib.lo \
-L/dsk1/scratch/lib -lgmodule -lglib -ldl -L/usr/openwin/lib -lXext \
-lX11 -lsocket -lnsl -lm -lc
The thing you might note is that the -R options have been stripped! Now,
freetype2 uses libtool 1.3.5, but the -R options do not get stripped
before the "native" linker gets called. Strange....
Any ideas on what is going on?
Thanks,
Tom
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Stripping of -R options: libtool 1.3.4 (and 1.3.5) and gtk+-1.2.8,
Tom Kacvinsky <=