libiberty.a Porblem.

Mark mark@mxnet.demon.co.uk
Mon Dec 20 14:22:00 GMT 1999


Hi,     
        I hoping someone can help me here. I'm trying to compile a cross
compiler for installing libc2. However I've run into a problem with the
libiberty.a file. I've been told it's an internal library to gcc. Below
is the error message I get. Can anyone suggest what to do, I looked in
the FAQ and README files which come with gcc and on the website but
didn't see any reference to it. 

Thanks in advance for any help

Mark

The error:

usr/src/gcc-2.95.2/gcc/cexp.c
gcc -DCROSS_COMPILE -DIN_GCC     -g  -DHAVE_CONFIG_H    -I.
-I/usr/src/gcc-2.95.2/gcc -I/usr/src/gcc-2.95.2/gcc/config
-I/usr/src/gcc-2.95.2/gcc/../include \
  -DLOCALEDIR=\"/usr/local/cross/share/locale\" \
  -c `echo /usr/src/gcc-2.95.2/gcc/intl.c | sed 's,^\./,,'`
gcc -DCROSS_COMPILE -DIN_GCC     -g  -DHAVE_CONFIG_H    -I.
-I/usr/src/gcc-2.95.2/gcc -I/usr/src/gcc-2.95.2/gcc/config
-I/usr/src/gcc-2.95.2/gcc/../include \
-DPREFIX=\"/usr/local/cross\" \
  -c `echo /usr/src/gcc-2.95.2/gcc/prefix.c | sed 's,^\./,,'`
gcc -c -DCROSS_COMPILE -DIN_GCC     -g  -DHAVE_CONFIG_H    -I.
-I/usr/src/gcc-2.95.2/gcc -I/usr/src/gcc-2.95.2/gcc/config
-I/usr/src/gcc-2.95.2/gcc/../include /usr/src/gcc-2.95.2/gcc/version.c
gcc -c -DCROSS_COMPILE -DIN_GCC     -g  -DHAVE_CONFIG_H    -I.
-I/usr/src/gcc-2.95.2/gcc -I/usr/src/gcc-2.95.2/gcc/config
-I/usr/src/gcc-2.95.2/gcc/../include /usr/src/gcc-2.95.2/gcc/mbchar.c
rm -f obstack.c
ln -s /usr/src/gcc-2.95.2/gcc/../libiberty/obstack.c obstack.c
gcc -c -DCROSS_COMPILE -DIN_GCC     -g  -DHAVE_CONFIG_H    -I.
-I/usr/src/gcc-2.95.2/gcc -I/usr/src/gcc-2.95.2/gcc/config
-I/usr/src/gcc-2.95.2/gcc/../include obstack.c
gcc -DCROSS_COMPILE -DIN_GCC     -g  -DHAVE_CONFIG_H  -o cccp cccp.o
cexp.o intl.o prefix.o version.o  mbchar.o  obstack.o
../libiberty/libiberty.a
gcc: ../libiberty/libiberty.a: No such file or directory
make: *** [cccp] Error 1

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list