This is the mail archive of the mailing list for the crossgcc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Problems installing cross-binutils (Linux->i586-lynxos)


I tried to build cross binutils-2.9.1 for i586-pc-lynxos target using
i586-pc-linux-gnulibc1 as host.

I used following commands:

  ./configure --target=i586-pc-lynxos --prefix=~/cross

All configured and compiled fine.

But command:

  make install

ended with this (some output skipped):

/bin/sh ./../mkinstalldirs ~/cross/man/man1
 /bin/sh /home/zuav/src/binutils-2.9.1/install-sh -c -m 644 ./ld.1 ~/cross/man/man1/i586-pc-lynxos-ld.1
/bin/sh ./../mkinstalldirs ~/cross/i586-pc-lynxos/lib
mkdir ~/cross/i586-pc-lynxos/lib
for f in ldscripts/*; do \
  /bin/sh /home/zuav/src/binutils-2.9.1/install-sh -c -m 644 $f ~/cross/i586-pc-lynxos/lib/$f ; \
make[1]: Leaving directory `/home/zuav/src/binutils-2.9.1/ld'
make[1]: Entering directory `/home/zuav/src/binutils-2.9.1/libiberty'
make[2]: Entering directory `/home/zuav/src/binutils-2.9.1/libiberty'
make[2]: Leaving directory `/home/zuav/src/binutils-2.9.1/libiberty'
/bin/sh /home/zuav/src/binutils-2.9.1/install-sh -c -m 644 libiberty.a ~/cross/lib/libiberty.a.n
( cd ~/cross/lib ; ranlib libiberty.a.n )
ranlib: libiberty.a.n: No such file or directory
make[1]: *** [install_to_libdir] Error 9
make[1]: Leaving directory `/home/zuav/src/binutils-2.9.1/libiberty'
make: *** [install-libiberty] Error 2

May be this's a bug in the install scripts? And what shall I do
to correctly install binutils?

Alexander Zhuckov   2:5030/518.50