#3637: ./configure doesn't understand Gentoo's build/host/target
----------------------------------+-----------------------------------------
Reporter: kolmodin | Owner:
Type: bug | Status: new
Priority: high | Milestone: 6.12.2
Component: Build System | Version: 6.12.1 RC1
Resolution: | Keywords: regression
Difficulty: Unknown | Os: Unknown/Multiple
Testcase: | Architecture: Unknown/Multiple
Failure: Building GHC failed |
----------------------------------+-----------------------------------------
Comment (by asuffield):
Here's a first cut at a solution. The central issue is that ghc has its
own set of configuration names that are not precisely the same as gnu ones
(this is unfortunate). What I did here was to:
* Restore the autoconf macros that work out canonical gnu configuration
names, which were removed in 6.12
* ...but for the autodetection case, use the names from the bootstrapping
ghc rather than autoconf; hence, the macros are used only to process
arguments given to configure. This preserves the fixes to #1717 and #2951
* Add some macros that convert from gnu names to ghc ones; these should
be considerably more robust than the old stuff from 6.10
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3637#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs