[Top][All Lists]

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

libtool: Preserving Object/Library Order

From: Doug Kehn
Subject: libtool: Preserving Object/Library Order
Date: Thu, 26 May 2005 08:36:33 -0700 (PDT)

Hi All,

This is a repost to include 'libtool' in the subject
line (so this post can be differentiated from SPAM).


Hi All,

I'm attempting to cross compile net-snmp for an
ARM-based embedded system under uClinux
(  The uClinux build environment (due
to library/object locations) explicity orders the
objects/libraries in the link command-line.  libtool
appears (see below) to reorder the objects/libraries. 
Is there a way to tell libtool to not reorder?


/bin/sh ../libtool  --mode=link arm-linux-gcc
-mbig-endian -O1  -Dlinux -D__linux__ -Dunix -DEMBED
-nostdinc -I/home/dkehn/devl/uClinux/include
-idirafter /home/dkehn/devl/uClinux/include/include
-Wall -fno-common  -fno-builtin -nostdlib -Dlinux  -o
snmpd -g -nostartfiles
-L/home/dkehn/devl/uClinux/lib  snmpd.lo
helpers/  ../snmplib/
-ldl -lcrypto -lm -nodefaultlibs -lc -lgcc
/home/dkehn/devl/uClinux/lib/crtn.o -lc_nonshared

arm-linux-gcc -mbig-endian -O1 -Dlinux -D__linux__
-Dunix -DEMBED -nostdinc
-I/home/dkehn/devl/uClinux/include -idirafter
/home/dkehn/devl/uClinux/include/include -Wall
-fno-common -fno-builtin -nostdlib -Dlinux -o snmpd -g
-nostartfiles /home/dkehn/devl/uClinux/lib/crt1.o
snmpd.o -nodefaultlibs
./.libs/libnetsnmpmibs.a ./.libs/libnetsnmpagent.a
../snmplib/.libs/libnetsnmp.a -ldl -lcrypto -lm -lc
-lgcc -lc_nonshared
make[4]: Leaving directory

Do you Yahoo!? 
Yahoo! Small Business - Try our new Resources site

reply via email to

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