
On 12 February 2014 13:32, TigerLiu@viatech.com.cn wrote:
Hi, Inder:
aarch64-linux-gnu-gcc: error: unrecognized command line option '-marm' aarch64-linux-gnu-gcc: error: unrecognized command line option
'-mno-thumb-interwork'
aarch64-linux-gnu-gcc: error: unrecognized command line option
'-mabi=aapcs-linux'
aarch64-linux-gnu-gcc: error: unrecognized command line option
'-mword-relocations'
I didn't run into this issue.
From Google's answer:
Maybe you lost a step in the command line : "export ARCH=aarch64"
No, I did not miss this step. I also have put this in batch file :-) Could it be a toolchain issue? I used the linaro toochain gcc-linaro-aarch64-linux-gnu-4.8-2014.01_linux.tar.xzhttp://releases.linaro.org/latest/components/toolchain/binaries/gcc-linaro-aarch64-linux-gnu-4.8-2014.01_linux.tar.xzat [1].
[1] http://releases.linaro.org/latest/components/toolchain/binaries/
Thanks, Inder
I usually put it in batch file:
export ARCH=aarch64
export CROSS_COMPILE=/home/lion/gcc-linaro-aarch64/bin/aarch64-linux-gnu-
make vexpress_aemv8a
Best wishes,