Page 1 of 1

6818 cross compiler

Posted: Wed Jun 23, 2021 11:11 am
by ibmco.linux
Hi all
I am working with Smart6818 currently. Based on the guide page below:
http://wiki.friendlyarm.com/wiki/index.php/Smart6818
the CPU architecture is arm cortex-a53, so it is 64-bits arm. But in the guide page section 9.1.1 it said that the cross compiler arm-linux-gcc could be used, which is 32-bits!
In other 64-bits CPUs (NanoPi_M4V2, ...) Friendlyarm guide to aarch64-linux-gcc compiler, which is 64-bits.
So what should i do? Use arm-linux-gcc or aarch64-linux-gcc as a cross-compiler for my Smart6818???
Thanks

Re: 6818 cross compiler

Posted: Sun Jun 27, 2021 9:45 am
by ibmco.linux
I used aarch64-linux-gcc and it works well. Dear Friendlyelec please correct your documents.