From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jookia <166291@gmail.com> Subject: Re: Removing compilers that cannot be bootstrapped Date: Sat, 26 Mar 2016 20:23:19 +1100 Message-ID: <20160326092319.GA22855@jookia-eeepc.Home> References: <87twjz4fcn.fsf@gnu.org> <87h9fyw3j8.fsf@dustycloud.org> <87bn64u9mc.fsf@gnu.org> <87lh58izcy.fsf@dustycloud.org> <20160324031126.GA22569@jasmine> <87d1qi40me.fsf@gnu.org> <20160326002235.GA3676@jasmine> <87io09bv2s.fsf@gmail.com> <87pouh1wu3.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33364) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <166291@gmail.com>) id 1ajkRX-0008GY-H6 for guix-devel@gnu.org; Sat, 26 Mar 2016 05:23:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <166291@gmail.com>) id 1ajkRT-0000Lh-Gd for guix-devel@gnu.org; Sat, 26 Mar 2016 05:23:39 -0400 Received: from mail-lf0-x229.google.com ([2a00:1450:4010:c07::229]:33201) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <166291@gmail.com>) id 1ajkRT-0000Ld-7g for guix-devel@gnu.org; Sat, 26 Mar 2016 05:23:35 -0400 Received: by mail-lf0-x229.google.com with SMTP id f67so12227254lfb.0 for ; Sat, 26 Mar 2016 02:23:35 -0700 (PDT) Content-Disposition: inline In-Reply-To: <87pouh1wu3.fsf@elephly.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ricardo Wurmus Cc: guix-devel On Sat, Mar 26, 2016 at 09:12:52AM +0100, Ricardo Wurmus wrote: > GCC itself is not sufficient to build many compilers. For GHC, for > example, you need a Haskell compiler such as GHC. I looked at nhc98 and > other defunct Haskell compilers, but they all have a bootstrapping step > that either requires a Haskell compiler or building from generated C > sources. > > In the case of Haskell I think it would make sense to try to figure out > how to bootstrap with Hugs, a Haskell interpreter, or with Yale Haskell, > which I’m trying to port to Guile. > > It is probably easier for us to try to write primitive compilers in > Guile than to start from scratch each time. Then the only blob we need > to figure out how to bootstrap would be Guile itself. I think this is one of those things that need help from upstream to create a simpler compiler that we can write a interpreter for. > ~~ Ricardo Jookia.