problems building a sparc -> hp crosscompiler
Stefan Thiede
Stefan.Thiede@sv.sc.philips.com
Mon Feb 8 16:04:00 GMT 1999
Hi Folks,
I read the FAQ, I downloaded the necessary files, I ran
gunzip -c binutils-2.9.1.tar.gz | tar xvf -
mkdir build-binutils
cd build-binutils
../binutils-2.9.1/configure -target=hppa-hp9k700-hpux
-prefix=/home/thiede/gcc
make all
and got this
gcc -g -O2 -o size size.o bucomm.o version.o filemode.o
../bfd/.libs/libbfd.a ../libiberty/libiberty.a
../bfd/.libs/libbfd.a(targets.o): In function `find_target':
/home/thiede/gcc/build-binutils/bfd/../../binutils-2.9.1/bfd/targets.c:885:
undefined reference to `som_vec'
/home/thiede/gcc/build-binutils/bfd/../../binutils-2.9.1/bfd/targets.c:885:
undefined reference to `som_vec'
*** Error code 1
make: Fatal error: Command failed for target `size'
Current working directory /home/thiede/gcc/build-binutils/binutils
*** Error code 1
make: Fatal error: Command failed for target `all-binutils'
warthog:build-binutils> gcc -v
Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.2/specs
gcc version 2.7.2.2
Any ideas/hints ?
Then I tried to apply the patch to gcc-2.8.1 I stripped the mail
header from the patch file and did a
gunzip -c gcc-2.8.1.tar.gz | tar xvf -
cd gcc-2.8.1
patch -p1 < ../crossgcc-gcc-2.8.1.patch
Looks like a new-style context diff.
File to patch:
What am I doing wrong here ?
warthog:gcc-2.8.1> which patch
/bin/patch
Any help greatly appreciated.
Thanks
Stefan
_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.
More information about the crossgcc
mailing list