Im currently just getting started on building a GCC Cross Compiler on Xubuntu, and I seem to be getting an usual error. (unusual since I couldn't find anyone else online who had this error).
Im using binutils 2.23.1 and gcc 4.7.2, which according to this : http://wiki.osdev.org/Cross-Compiler_Successful_Builds, should be compatible.
Following this guide on OSDev Wiki: http://wiki.osdev.org/GCC_Cross-Compiler, when i get to building gcc at step 2 :
Code: Select all
export PATH=$PATH:$PREFIX/bin
../gcc-x.x.x/configure --target=$TARGET --prefix=$PREFIX --disable-nls \
--enable-languages=c,c++ --without-headers
Code: Select all
configure: invalid variable --enable-languages
Any ideas ?
Thanks in advance