help, ghc compile boot from hc fails.

Simon Marlow
Mon, 24 Mar 2003 10:28:04 -0000

> I checked out the CVS yesterday.
> =3D=3D=3D gcc version is
> $ 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
> =3D=3D I configured with
> $ ./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:

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.