Help for the gcc cross-compiler

Zheng, Hongzhong hzheng2@uic.edu
Thu Nov 10 17:04:00 GMT 2005


Hi,

I send this mail because I find the
"http://gcc.gnu.org/ml/gcc-help/2004-11/msg00038.html" on the INTERNET.
Any help are highly appreciated!

I'm trying to build a gcc cross-compiler on a solaris2.8 machine. But I
meet the problem

(1)
./configure --host=SPARC-sun-solaris2.8 --target=ssbig-na-sstrix
--with-gnu-as --with-gnu-ld --prefix=$IDIR

./make LANGUAGES=c

then I got error MSG:
cc -DCROSS_COMPILE -DIN_GCC -DSVR4  -g   -o cccp cccp.o cexp.o \
  version.o obstack.o ` case "cc" in "cc") echo "alloca.o" ;; esac `
ucbcc: Warning: Option
-YP,:/usr/ucblib:/opt/SUNWspro/WS6U2/bin/../lib:/opt/SUNWspro/WS6U2/bin:/usr/ccs/lib:/usr/lib
passed to ld, if ld is invoked, ignored otherwise
ild:  Fatal error -- Assertion failed: file "../src/ild-args.c" line 1613
Exiting.
make: *** [cccp] Error 1

Does anybody have familiar experience and how to solve it?

(2)
I got a previous cross compiler executable, is it possible to use it
directly?
I have successfully make the bin-utils, but the previous cross compiler
executable can not run correctly.

the error MSG:
[ernie] ~/TA/project/ss/bin> ssbig-na-sstrix-gcc-old hello.c
In file included from /usr/include/sys/feature_tests.h:15,
                 from /usr/include/iso/stdio_iso.h:35,
                 from
/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.2/include/stdio.h:36,
                 from hello.c:1:
/usr/include/sys/isa_defs.h:372:2: #error "ISA not supported"

Could you tell me how to make this previous cross compiler executable run
correctly?

You help are highly appreciated!

Thanks a lot.

Hongzhong




More information about the Gcc-help mailing list