F. Heitkamp wrote:
> a particular cpu. Looking at the specs file for the host compiler the
> default is -mppc.  When I gave the "--with-cpu=7400" shouldn't that have
> made the default  -m7400?.   What about xgcc, how can I make that use
> the 7400 cpu?

Perhaps this is a case that gcc doesn't handle right.  When you use the
-m7400 option, gcc will pass -maltivec to the assembler.  When you use
--with-cpu=7400 at configure time, gcc should pass -maltivec to the
assembler by default.  This is apparently not happening, and is probably
a gcc bug.  ASM_SPEC would have to be modified to fix this.  You may be
able to do this manually by creating a spec file and editing it to add
the missing -maltivec option to the assembler specs.

You may want to report this problem into the gcc bugzilla database so it
gets tracked and fixed.
-- 
Jim Wilson, GNU Tools Support, http://www.specifix.com

Reply via email to