id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
5155	GHC won't configure for i586	mcandre		"Somone posted about building GHC 6.12.1 for Linux and i586 (http://www.mail-archive.com/glasgow-haskell-users@haskell.org/msg17646.html). It was never resolved.

Now I'm trying to configure 7.0.3 for Haiku and i586, and I get the same error.

{{{
~> ./configure --enable-hc-boot --build=i586-pc-haiku --host=i586-pc-haiku --target=i586-pc-haiku
checking for gfind... no
checking for find... /bin/find
checking for sort... /bin/sort
checking for ghc... no
checking build system type... i586-pc-haiku
checking host system type... i586-pc-haiku
checking target system type... i586-pc-haiku
Unknown CPU i586
}}}

I read {{{ config.sub }}}, and it looks like all architectures of the form i*86 should be accepted, but they're not.

Until i586 is added, can someone tell me a correct architecture to supply to {{{ ./configure }}}?

Bear in mind that {{{ --enable-hc-boot }}} is a must, since there is no GHC on Haiku to aid compilation of GHC."	bug	closed	normal		Compiler	7.0.3	fixed	haiku configure config arch architecture		Other	x86	Building GHC failed					
