libtool
[Top][All Lists]
Advanced

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

RE: libtool 1.5 fix


From: Boehne, Robert
Subject: RE: libtool 1.5 fix
Date: Fri, 8 Aug 2003 10:34:59 -0500

Thomas,

This will make the objects link in twice in other cases.

Robert

-----Original Message-----
From: Thomas Woerner [mailto:address@hidden
Sent: Friday, August 08, 2003 5:53 AM
To: address@hidden
Subject: libtool 1.5 fix


libtool --mode=link gcc test1.o test2.o -o libtest.a
results in
        ar cru libtest.a
instead of
        ar cru libtest.a test1.o test2.o


--- libtool.objs        2003-08-08 12:35:41.000000000 +0200
+++ libtool     2003-08-08 12:35:51.000000000 +0200
@@ -5224,7 +5224,7 @@
           oldobjs="$libobjs_save"
           build_libtool_libs=no
         else
-         oldobjs="$old_deplibs $non_pic_objects"
+         oldobjs="$objs $old_deplibs $non_pic_objects"
         fi
         addlibs="$old_convenience"
        fi


There is an missing tag for ld:
libtool --mode=link ld test1.o test2.o -o libtest_ld.a
libtool: link: unable to infer tagged configuration
libtool: link: specify a tag with `--tag'

libtool --tag=LD --mode=link ld test1.o test2.o -o libtest_ld.a
libtool: ignoring unknown tag LD
ar cru libtest_ld.a test1.o test2.o
ranlib libtest_ld.a




_______________________________________________
Libtool mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/libtool




reply via email to

[Prev in Thread] Current Thread [Next in Thread]