The processor I'm building for is 64 bit ARM. Will this tool chain work?
Asked
Active
Viewed 9,028 times
2 Answers
3
64-bit ARM support in GCC is separate backend, called AARCH64. So your compiler normally must be called something like gcc-aarch64-linux-gnu-*.
Still, your question is strange, because, if you will rename 64-bit ARM compiler executable to gcc-arm-linux-gnueabi (you may do it, why not), then answer will be yes.

Konstantin Vladimirov
- 6,791
- 1
- 27
- 36
-
Weirdly `arm-linux-gnueabihf-gcc` has a `-march=armv8-a` option, but the generated output is still 32-bit. Presumably aarch32? – Ciro Santilli OurBigBook.com Jul 28 '18 at 06:53
3
The answer is no.
The tool chain you are referencing is old, and works for 32bit architectures.
You need this (ubuntu):
sudo apt-get install gcc-aarch64-linux-gnu g++-aarch64-linux-gnu

CraigDavid
- 1,046
- 1
- 12
- 26