This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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".
Hi Rohan! You don't want an assembler option, you want a compiler option, otherwise the compiler will send altivec code to the assembler, and no assembler option can save you then. Actually, if your cross-compiler was specifically built to target the ppc750 by default, you shouldn't need to give any options at all.
Can you give more details, e.g. What does the cross-compiler output when you run it with just the -v option? What's the smallest program this problem occurs for? How was the cross-compiler built?
Cheers, Dan
------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |