More information on the X11R7.0/X11R6.9 release
Posted Dec 26, 2005 14:29 UTC (Mon) by
pizza (subscriber, #46)
In reply to:
More information on the X11R7.0/X11R6.9 release by oak
Parent article:
More information on the X11R7.0/X11R6.9 release
Cross-compiling is an interesting beast, but by and large, autotools works here too. Granted, I don't do any desktop-type cross compiling.
All of the problems I've seen with autoconf screwing up on cross-compiliation environments are due to its users (ie the software devlopers, not the end-user trying to build) not knowing how to use it properly. A tweak to the autoconf.ac file later, and bang, it works. The assumptions about paths are the biggest offenders here; but more often than not these problems are due to things being hardcoded rather than mis-mis-configured.
Cross-compilation environments are unusual in that instead of having to figure things out, everything about the target environment is known. Many of the tests run aren't relevant, as you mentioned, and thus should be explicitly specified, but if not, it's not the fault of autoconf, but the original developer not allowing stuff to be overridden to begin with. File and Library paths are the worst offenders here. It's particularly frustrating when your target architechure is the same as the cross-tool architechure, albeit with different libraries (as you mentioned in your example)
That said, it's worth repeating that the autotools are under continual development, and are always improving. Bugs are fixable, but only if reported.
Still, the bottom line is that autoconf/automake/etc solves far more problems than it creates. It's complicated, but so is the problem it's trying to solve.
(
Log in to post comments)