This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Combined toolchain build
- From: Shaun Jackman <sjackman at pathwayconnect dot com>
- To: binutils at sources dot redhat dot com
- Date: 30 Jun 2003 15:55:10 -0600
- Subject: Combined toolchain build
- Organization: Pathway Connectivity
I'm trying to build a combined tool-chain for arm-wince-pe.
I build the source tree:
cd ../../binutils/binutils-2.14
find . | cpio -pdlm ../../combined/combined
cd ../../newlib/newlib-1.11.0
find . | cpio -pdlm ../../combined/combined
cd ../../gcc/gcc-3.2
find . | cpio -pdlmu ../../combined/combined
and configure it:
../combined/configure --target=arm-wince-pe --enable-languages=c++
--with-cpu=strongarm
--disable-shared --with-newlib --enable-multilib=no
When I run make, I get the following error:
gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -o ld-new ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o earmpe.o deffilep.o pe-dll.o ../bfd/.libs/libbfd.a ../libiberty/libiberty.a ./../intl/libintl.a
ldmain.o(.text+0x11b): In function `main':
: undefined reference to `lrealpath'
ldmain.o(.text+0xe86): In function `set_scripts_dir':
: undefined reference to `make_relative_prefix'
ldmain.o(.text+0xed4): In function `set_scripts_dir':
: undefined reference to `make_relative_prefix'
ldfile.o(.text+0x16): In function `is_sysrooted_pathname':
: undefined reference to `lrealpath'
Any idea what's causing this?
Thanks,
Shaun