This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Combined toolchain build
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Shaun Jackman <sjackman at pathwayconnect dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Mon, 30 Jun 2003 17:59:45 -0400
- Subject: Re: Combined toolchain build
- References: <1057010110.3121.29.camel@bluesteel.pathway>
On Mon, Jun 30, 2003 at 03:55:10PM -0600, Shaun Jackman wrote:
> 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?
The binutils 2.14 release needs newer versions of libiberty and include
than those provided by GCC 3.2.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer