[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sr #110360] AC_CANONICAL_HOST sets wrong $host_cpu on Raspberry Pi 3

From: Viktor Engelmann
Subject: [sr #110360] AC_CANONICAL_HOST sets wrong $host_cpu on Raspberry Pi 3
Date: Wed, 4 Nov 2020 08:27:52 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36

Follow-up Comment #4, sr #110360 (project autoconf):

Thanks! I didn't want to pass a --host, because that would break
cross-platform compatibility. So I have put this into configure.ac

> # override host_cpu in in special case (having dash)
> AS_IF([test "x$host_cpu" = 'armv7l'],[host_cpu=cortex-a53])
> AC_SUBST([host_cpu])

That works without setting --host.
Not a perfect solution, but a suitable workaround.

I had tried something like that before, but had used BASH syntax, which hadn't

> @Zack:  Not sure if AC_CONONICAL_HOST and cousins should be prepared to be
able to digest also quadruplets config.sub might generate?

As I said, quadruples do produce an error


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]