This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
with-cpu= bug in gcc/configure (egcs-1.0.1).
- To: egcs-bugs at cygnus dot com
- Subject: with-cpu= bug in gcc/configure (egcs-1.0.1).
- From: Sergei Organov <osv at javad dot ru>
- Date: Thu, 12 Feb 1998 16:23:44 +0300
- Organization: Javad Positioning
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.