On Sat, 24 Jan 2015, Niels Möller wrote:
Martin Storsjö martin@martin.st writes:
Other than that, building with --enable-fat does seem to do the right thing - much better than the current setup. (E.g. currently, if cross-compiling for raspberry pi, it fails to enable the v6 routines, since the host triplet is arm-bcm2708hardfp-linux-gnueabi even though it's a armv6 device. When building on such a device, config.guess gives armv6l-unknown-linux-gnueabihf instead.)
To me, that sounds like the crosscompiler setup is a bit strange. It ought to be possible to configure with --host=armv6l-unknown-linux-gnueabihf, and still get the right cross tools, right?
Yeah, it'd just require a bit more typing (setting CC/CXX manually). But it's no big issue anyway since the option for fat builds takes care of it nicely.
// Martin