Subject: Re: NetBSD-4 softfloat (was: Apache on Mac68k)
To: Kazuyuki Inanaga <happyday@pp.iij4u.or.jp>
From: Bruce O'Neel <edoneel@sdf.lonestar.org>
List: port-mac68k
Date: 12/11/2006 16:08:48
Hi,

I didn't like changing /etc/mk.conf so much, so I just did

env MKSOFTFLOAT=yes build.sh blah blah blah

It is required for all of the building.  You need to make sure that 
gcc doesn't generate FPU instructions.

cheers

bruce

On Thu, Dec 07, 2006 at 04:11:15PM +0900, Kazuyuki Inanaga wrote:
> Hi,
> 
> On 2006/12/06, at 23:51, Bruce O'Neel wrote:
> 
> >Hi,
> >
> >Unless something has changed, you do a normal build.sh
> >build but you set MKSOFTFLOAT=yes beforehand.
> 
> When I was a new, some members gave me advices "how to",
> sorry I don't remember it clearly. Please teach me it again.
> It was 2 points;
> 
> 1) in /etc/mk.conf, add one line;
> MKSOFTFLOAT=yes
> 
> 2) in My kernel config file, add one line;
> options       COPTS+=-msoft-float -02 -68030
> 
> I'm not sure about 2) "COPTS+".
> 1) Is this correct?
> 2) Where should I put it? In My kernel conf or in mk.conf?
> 3) Is it required not only building a kernel but also release?
> 4) Is it also work(required) for making packages?
> 
> If "YES" to 3) or 4), it should be put in mk.conf, ...?
> 
> >
> >For those of you who want to play with the 68k systems,
> >first, thanks, and second get something, anything, faster
> >for building.
> >
> >It can be days to build stuff on a 68k system.  If you only
> >will run apple hardware get some cheap G3 to run build.sh
> >on.  Otherwise, if you can stand to see a x86 boot, intel
> >systems run gcc very fast, and this makes build.sh
> >run fast.
> >
> >cheers
> >
> >bruce
> 
> Yes, I think so. I got a cheap P.III box for Cross Compiling.
> It's about 50 times faster than my fastest Quadra. It's very
> useful especially for making a mac68k test kernel.
> 
> Thanks a lot,
> Kazu Inanaga
> 

-- 
edoneel@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org