"#error Unable to determine architecture." while compiling gcc-4.4.x for arm-none-linux-gnueabi

Phil Couling couling@gmail.com
Thu Jun 10 23:04:00 GMT 2010

Hi All

I'm having trouble getting gcc to compile for my ARM box
(arm-none-linux-gnueabi) and at a bit of a loss to know how to

I've tried all of the 4.4.x versions, but for each one I get the
following error:
error: #error Unable to determine architecture.

I can't find anything useful on google with regards to this error.

I'm building using the following to configure:
../gcc-$GCC_VERSION/configure --host=arm-none-linux-gnueabi
--prefix=$HOME/built --with-gmp=$HOME/tools --with-mpfr=$HOME/tools

Other package versions are:

Any suggestions?


More information about the Gcc-help mailing list