This is the mail archive of the crossgcc@sourceware.org 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]

crosstool host x86. target PowerPC G4


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


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