
On 22/12/09 12:59, Jens Petersen wrote:
2009/12/19 Kirill A. Shutemov
: I want to build ghc for i586-alt-linux-gnu.
Why? :)
Why do not use config.guess to guess correct host/target/build instead of reinvent wheel?
While I sympathize (I gave up long ago trying to use host/target/build with ghc - we use them by default in Fedora) - I guess the short answer is something like cross-compiling is not supported or the effort to support host/target/build is more than the win? But those are just my assumptions - I leave a real answer to a ghc buildsystem expert.
If you really want a fix searching trac and opening a ticket would be more effective probably.
I personally think we should revert to using the standard config.guess and normalising the result as we used to. It was changed due to this: http://hackage.haskell.org/trac/ghc/ticket/1717 so we should find another way around that. Cheers, Simon