Andrea Marongiu wrote:
Hi, I'm trying to build a cross-compiler from GCC 4.2.0 source. I've built the binutils as cross tools and launched the configure script for gcc source as follows:
[gcc-source]/configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=arm-elf --prefix=[toolchain-prefix] --enable-interwork --enable-multilib --enable-languages="c,c++" --with-newlib --with-headers=[newlib-source]/newlib/libc/include
/home/marongiu/Desktop/GCC-4.2.1/ARM/LOCAL/arm-elf/bin/as: unrecognized option `-Qy'
I never did get an 'answer', but I could get rid of this error by adding [toolchain-prefix]/bin to my PATH variable.
See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32829 Best Regards, Brian Sidebotham.