[sr #110360] AC_CANONICAL_HOST sets wrong $host_cpu on Raspberry Pi 3
Viktor Engelmann <[email protected]>
| Newsgroups | gmane.comp.sysutils.autoconf.bugs |
|---|---|
| Message-ID | <[email protected]> |
Follow-up Comment #7, sr #110360 (project autoconf):
It works on both models with
host_cpu=$(LANG=en_US lscpu | grep 'Model name' | cut -d: -f2 | tr '[:upper:]'
'[:lower:]')
I'm thinking about how you would cross-compile to Raspberry... you'd have to
set a --host, but couldn't set that to cortex-aXX. The CPU names never contain
underscores, do they? So you could specify --host=cortex_a53-os-abi or return
cortex_a53-os-abi from config.guess and sed s/_/-/g that somewhere in
AC_CANONICAL_HOST...
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/support/?110360>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/