Upgrading a cross compiler from GCC 3.4.6 to 4.1.1

Kai Ruottu karuottu@mbnet.fi
Fri Sep 22 11:06:00 GMT 2006


Rohit Arul Raj wrote:
> I am upgrading a cross-compiler from gcc3.4.6 to gcc 4.1.1. i am
> getting some errors while trying to build the compiler.
>
> The way in which i am building the compiler is :
> $configure --target=  --prefix=/usr/crossgcc/ --with-newlib 
> --disable-libssp
 "--target=" ????   "Let's the HAL read one's thoughts or what?

> fp-bit.c: In function '__extendsfdf2':
> fp-bit.c:1513: internal compiler error: in emit_push_insn, at expr.c:3722

 It is interesting that the GCC build went this far without knowing what on
earth the $target should be....
> is there a way out of this?
> is the internal compiler error generated due to gcc_assert?

 This "building a crosscompiler without defining the $target" must be some
"rocket science" which I haven't yet seen after producing more than 1000
crosscompilers...  I apologize my ignorance but could someone explain what
on earth this kind of configuration should produce?  A "crosscompiler 
for the
native target" or what?



More information about the Gcc mailing list