This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
building gcc cross-compiler for sh on host solaris
- To: bug-gcc at gnu dot org
- Subject: building gcc cross-compiler for sh on host solaris
- From: Robert Bohrer <rbohrer at lucent dot com>
- Date: Mon, 22 May 2000 12:05:46 -0400
I am trying to build a gcc cross-compiler for target sh-elf
and host sparc-sun-solaris2.
I successfully built binutils-2.9.1.
My attempt to build gcc-2.8.1 failed:
gcc -DCROSS_COMPILE -DIN_GCC -DSVR4 -g -DHAVE_CONFIG_H -o genattrtab
\
genattrtab.o rtl.o print-rtl.o rtlanal.o ` case "obstack.o" in ?*) echo
obstack.o ;; esac ` ` case "gcc"@"alloca.o" in "cc"@?*) echo alloca.o ;;
esac ` ` case "" in ?*) echo ;; esac `
Undefined first referenced
symbol in file
optimize rtlanal.o
ld: fatal: Symbol referencing errors. No output written to genattrtab
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `genattrtab'
--
Robert Bohrer
rbohrer@bell-labs.com
(908)582-7043