Subject: Re: Compiling NetBSD with another compiler.
To: Andrew Doran <email@example.com>
From: Anders Magnusson <firstname.lastname@example.org>
Date: 09/27/2007 08:51:58
Andrew Doran wrote:
> On Sat, Sep 15, 2007 at 03:19:25PM +0200, Anders Magnusson wrote:
>> build.sh is a mess if you want to use something other than gcc, at least
>> I don't
>> know how to teach it something else. But a "traditional" make of the
>> # make USETOOLS=never MKOBJDIRS=no MKSHARE=no MKUPDATE=no NOINCLUDES=no
>> NOPIC=yes HAVE_GCC= MKGCC=no MKGDB=no MKPUFFS=no
> I made a jumbo-commit to the x86 ports and pcc is now able to build most of
> the i386 kernel. It has trouble with some files, but with those compiled
> with gcc it boots and panics early in hashinit(). The good news is it gets
> that far - and I was able to poke around in DDB. :-)
Whee, cool :-) I think ther there are a bug somewhere in the char
handling, but I
haven't been able to find a testcase that exposes it.
> Note that full amd64 builds are a bit broken but I'm working through that at
> the moment.
Hm, should really write a x64 port for pcc :-)