From owner-freebsd-hackers Sun Sep 12 14:25:43 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from m4.c2.telstra-mm.net.au (m4.c2.telstra-mm.net.au [24.192.3.19]) by hub.freebsd.org (Postfix) with ESMTP id A209E14DCE for ; Sun, 12 Sep 1999 14:25:39 -0700 (PDT) (envelope-from areilly@nsw.bigpond.net.au) Received: from m5.c2.telstra-mm.net.au (m5.c2.telstra-mm.net.au [24.192.3.20]) by m4.c2.telstra-mm.net.au (8.8.6 (PHNE_14041)/8.8.6) with ESMTP id HAA15114 for ; Mon, 13 Sep 1999 07:25:38 +1000 (EST) X-BPC-Relay-Envelope-From: areilly@nsw.bigpond.net.au X-BPC-Relay-Envelope-To: X-BPC-Relay-Sender-Host: m5.c2.telstra-mm.net.au [24.192.3.20] X-BPC-Relay-Info: Message delivered directly. Received: from areilly.bpc-users.org (CPE-24-192-49-170.nsw.bigpond.net.au [24.192.49.170]) by m5.c2.telstra-mm.net.au (8.8.6 (PHNE_14041)/8.8.6) with SMTP id HAA29249 for ; Mon, 13 Sep 1999 07:25:37 +1000 (EST) Received: (qmail 51738 invoked by uid 1000); 12 Sep 1999 21:25:36 -0000 From: "Andrew Reilly" Date: Mon, 13 Sep 1999 07:25:36 +1000 To: Jeroen Ruigrok/Asmodai Cc: Simon Marlow , "'hackers@freebsd.org'" Subject: Re: How to go about making a compiler port Message-ID: <19990913072536.A51526@gurney.reilly.home> References: <8B57882C41A0D1118F7100805F9F68B51232C0E2@RED-MSG-45> <19990912144720.C81750@daemon.ninth-circle.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre1i In-Reply-To: <19990912144720.C81750@daemon.ninth-circle.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Sep 12, 1999 at 02:47:21PM +0200, Jeroen Ruigrok/Asmodai wrote: > * Simon Marlow (simonmar@microsoft.com) [990912 13:05]: > > >I'd like to make a port for our Haskell compiler, GHC (see > >http://research.microsoft.com/users/t-simonm/ghc). There are some subtle > >problems with this: > > > > - GHC depends on itself. That is, you need GHC > > installed in order to build GHC. > > - GHC depends on Happy, our parser generator. > > - Happy depends on GHC (it's written in Haskell). > > >So, one solution would be to provide a binary port, say ghc-bin, which would > >install a binary distribution. I checked the modula-3 port, and it doesn't > >seem to have a binary port, so what's the accepted way of doing this? It's not a port yet, but compiles from it's distribuiton without problems: SmallEiffel is also written in itself, but has a natural intermediate compilation phase which is ANSI C. The distribution just includes the C, from which the compiler and tools is built. That seems to work pretty well. -- Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message