help, ghc compile boot from hc fails.

Simon Marlow simonmar@microsoft.com
Mon, 24 Mar 2003 10:28:04 -0000


> I checked out the CVS yesterday.
>=20
> =3D=3D=3D gcc version is
>=20
> $ gcc -v
> Reading specs from /usr/local/lib/gcc-lib/i386-pc-solaris2.8/3.2/specs
> Configured with: ../configure --with-as=3D/usr/ccs/bin/as
> --with-ld=3D/usr/ccs/bin/l
> d --disable-nls
> Thread model: posix
> gcc version 3.2
>=20
> =3D=3D I configured with
>=20
> $ ./configure --enable-hc-boot

You need the appropriate .hc files for this to work, and in any case
porting GHC is not a trivial exercise.  See the section on porting in
the building guide:

http://www.haskell.org/ghc/docs/latest/html/building/sec-porting-ghc.htm
l

I see you're trying to port GHC to i386-*-solaris2.  Probably the best
way is to start by porting 4.08 from .hc files, then move on to
compiling 5.xx or CVS.

Cheers,
	Simon