Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Sep 1999 16:17:38 -0700 (PDT)
From:      Kris Kennaway <kris@hub.freebsd.org>
To:        Simon Marlow <simonmar@microsoft.com>
Cc:        "'ports@freebsd.org'" <ports@freebsd.org>
Subject:   Re: How to go about making a compiler port
Message-ID:  <Pine.BSF.4.10.9909131614250.55274-100000@hub.freebsd.org>
In-Reply-To: <8B57882C41A0D1118F7100805F9F68B51232C0DD@RED-MSG-45>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 10 Sep 1999, Simon Marlow wrote:

> It's possible to bootstrap GHC from intermediate C files, but it's a bit
> fiddly and I'd prefer not to do this if possible.  However, one thing that
> occurs to me is that the port could bootstrap itself from C if you say 'make
> BOOTSTRAP=YES', and otherwise attempt to build using an installed GHC.

The cleanest way from an end-user POV is to bootstrap a compiler (&
support tools) using gcc, which every freebsd user will have. If you have
to download the compiler binary to build the compiler, well, you might as
well save yourself some build-time and just install the former :-)

You might like to check some of the other compilers in ports/lang - surely
some of them must have bootstrap issues which they've solved.

Kris



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9909131614250.55274-100000>