I tested a LePotato, which is an Aarch64 dev-board from the same maker
(https://www.amazon.com/gp/product/B074N5B8KZ). Here are the results.
They look OK:
$ gcc -dumpmachine
aarch64-linux-gnu
$ clang -dumpmachine
aarch64-unknown-linux-gnu
I also gave Autotools a spin with an updated config.sub. Autotools
rewrites the triplet and provides an accurate machine:
armv7l-unknown-linux-gnueabihf
The -dumpmachine option is very important. It is the option that tells
us what we are building for. It may be different than the host
architecture. Personally, I don't care about the host arch and cross-
compiles. Everything is just a compile to me, and all GNUmake and
Autoconf decisions are based on MACHINE in the triplet.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1827175
Title:
armv8l-unknown-linux-gnueabihf triplet from clang -dumpmachine on
ARMv7l
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clang/+bug/1827175/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs