I\'m trying to build a gcc cross compiler on Mac OS X, the target is arm-elf-eabi
.
This is what I\'ve done so far:
In the directory build-gcc/gcc
, there exists an as
script file to be invoked instead of the /usr/bin/as
. When I renamed as
to as_temp
, and rerun, everything works fine.
The environmental variable AS=/usr/bin/as
does not seem to solve this issue.
I needed one more modification that /opt/cross/arm-elf-eabi/sys-root/usr/include
should be created in order to prevent another error message.
I also found that this site is pretty useful in cross compilation on Mac OS X.