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]

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


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.

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