crosstool host x86. target PowerPC G4

Sebastian Brückner sb@thebackend.de
Fri Jan 12 18:04:00 GMT 2007


Hi everyone,

I am trying to build a crosscompiler targeting the 7450 G4 processor. I
used crosstool 0.43 with the powerpc-7450.dat and
gcc-4.1.0-glibc-2.3.6-tls.dat files (tried binutils 2.17 as well).
During compilation I keep running into "Unrecognized opcode" errors from
the assembler since by default it does not support the AvltiVec
instructions generated by gcc when compiled with --enable-altivec. To
get things working I have to add "-Wa,-m7450" to the (every) gcc command
line.

I didn't have much luck understanding the whole build system though and
editing all the Makefiles after running the configure script doesn't
make too much sense... could someone give me a hint where I have to add
the option so it gets used with ALL cross compilers in all stages?

Thanks
Sebastian


--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list