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
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool