with-cpu= bug in gcc/configure (egcs-1.0.1).

Sergei Organov osv@javad.ru
Thu Feb 12 05:26:00 GMT 1998


Hello. Not sure if it was already reported/fixed, but 'gcc/configure'
seems to have a bug with processing '--with-cpu=' option. Trying to
configure cross for '--target=ppc-rtems' with '--with-cpu=603' on
Solaris host results in failed attempt to set '603' CPU for 
_sparc_. This is because processing of --with-cpu is inside loop 
'for machine in $build $host $target' and thus '603' would be checked
both for 'sparc-sun-solaris' AND 'powerpc-unknown-rtems'. That will
always fail.

Hope it helps.
Sergei Organov.



More information about the Gcc-bugs mailing list