no-altivec assembler option

Rohan Chitradurga Rohan@ixiacom.com
Mon Oct 4 20:44:00 GMT 2004


Hi,
I am trying to cross compile an application for a ppc750 using a tool chain
that uses gcc 3.3.3, glibc 2.3.2 and bin utils 2.15. Passing "-Wa,
-maltivec" to the compiler works and the application compiles but passing
"-Wa,-mno-altivec" doesnt.  I get a assembler error "invalid switch,
-mno-altivec". My target hardware doesnt have a altivec unit though. Can
anyone tell me why the assembler will accept one option but not the other ?
Not specifying any assembler option results in errors "invalid opcode stvx,
mtvrsave, mfvrsave etc". 

Thanks,
Rohan


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list