This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

building gcc cross-compiler for sh on host solaris


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

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