[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Preserving Object / Library Order
From: |
Doug Kehn |
Subject: |
Preserving Object / Library Order |
Date: |
Wed, 25 May 2005 10:39:24 -0700 (PDT) |
Hi All,
I'm attempting to cross compile net-snmp for an
ARM-based embedded system under uClinux
(www.uClinux.org). 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?
Thanks,
...doug
/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
/home/dkehn/devl/uClinux/lib/crt1.o
/home/dkehn/devl/uClinux/lib/crti.o
/usr/local/lib/gcc-lib/arm-linux/3.3.2/be//crtbegin.o
-L/home/dkehn/devl/uClinux/lib snmpd.lo
libnetsnmpmibs.la libnetsnmpagent.la
helpers/libnetsnmphelpers.la ../snmplib/libnetsnmp.la
-ldl -lcrypto -lm -nodefaultlibs -lc -lgcc
/home/dkehn/devl/uClinux/lib/ld-linux.so.2
/usr/local/lib/gcc-lib/arm-linux/3.3.2/be//crtend.o
/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
/home/dkehn/devl/uClinux/lib/crti.o
/usr/local/lib/gcc-lib/arm-linux/3.3.2/be//crtbegin.o
snmpd.o -nodefaultlibs
/home/dkehn/devl/uClinux/lib/ld-linux.so.2
/usr/local/lib/gcc-lib/arm-linux/3.3.2/be//crtend.o
/home/dkehn/devl/uClinux/lib/crtn.o
-L/home/dkehn/devl/uClinux/lib
./.libs/libnetsnmpmibs.a ./.libs/libnetsnmpagent.a
helpers/.libs/libnetsnmphelpers.a
../snmplib/.libs/libnetsnmp.a -ldl -lcrypto -lm -lc
-lgcc -lc_nonshared
make[4]: Leaving directory
`/home/dkehn/devl/uClinux/user/net-snmp/build/agent'
__________________________________
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail
- Preserving Object / Library Order,
Doug Kehn <=