Subject: Re: Sep 18 softfloat build of NetBSD release 2.0 beta
To: GERARDOALVAREZ@telefonica.net <GERARDOALVAREZ@telefonica.net>
From: Bruce O'Neel <edoneel@sdf.lonestar.org>
List: port-mac68k
Date: 09/28/2004 10:10:59
Hi,

On Tue, Sep 28, 2004 at 11:54:53AM +0200, GERARDOALVAREZ@telefonica.net wrote:
> So I can install x*.tgz in
> ftp://ftp.ziaspace.com/pub/NetBSD/m68k/NetBSD-1.6.2-mac-softfloat/mac68k-softfloat/binary/sets/
> and that will work OK with the 2.0beta rest of the system? Cool!!

It *should* work fine.  I do use it every day.  You might want to just
tar xzpf the files rather than use the install, that I haven't tried.

> 
> I think I could give a try to xfree 2.0, but will 24 Mb RAM be enough?
> I have enough free HD to spare.

Maybe.  The 1.6.2 color X server takes about 2.5 meg while running.
The B&W server is a bit smaller.  I faintly remember that the version
from 2.0 required something less than twice that.  That would have
been ok except I don't have enough disk to have enough swap for that
to work.

> 
> I have a doubt related to the -msoft-float flag. Is it:
> A.- An already existing compile option (although possibly broken with
> LC040 processors) or
> B.- Rather the flag does not exist/work unless the softfloat patches are
> applied?
> 

A little of both.  gcc takes the -msoft-float flag just fine right
now.  The patches have nothing to do what that.  When you give gcc the
-msoft-float flag instead of generating F instructions it generates
CALLs to subroutines which do the FP work.  The catch is, by default,
these subroutines don't exist in libc and therefore the program won't
link.  90% of the softfloat patch is to add these extra subroutines to
libc, the rest is of the patch is things for libm (some of the 040
specific part of the makefiles have 040 specific assembly code).  and
small makefile changes.


> So in the end my question is: ¿Will Xfree 2.0beta compile correctly
> simply with the -msoft-float flag or do I wait for a patch for it as
> well? (I am willing to test and compile, but unfortunately my
> programming skills don´t reach much further than that...)

Once you have the base libraries (libc and libm probably) built with
-msoft-float then X should build just fine as long as you also make
sure that -msoft-float is used.

When I built 1.6.2's X packages and 2.0beta's X packages I did nothing
special from the soft-float point of view.

The 1.6.2 ones were built by nfs mouting a big disk on my powerbook,
untaring the X src package, and following the build instructions.  If
I started it by about 20:00 it was done the next day by about 9:00
(33mhz LC040).

So, the summary is that you should be able to just go ahead and build
the 2.0 X src, though you will need much disk and time :-(

good luck!

cheers

bruce


> 
> 
> ----- Mensaje Original -----
> De: "Bruce O'Neel" <edoneel@sdf.lonestar.org>
> Fecha: Martes, Septiembre 28, 2004 11:20 am
> Asunto: Re: Sep 18 softfloat build of NetBSD release 2.0 beta
> 
> > Excellent!
> > 
> > I've continued to use the 1.6.2 softfloat Xset build.  2.0 builds just
> > fine, but, since it's a newer version of xfree it takes more memory
> > and disk space, both of which I dont' have extra :-(
> > 
> > You can find everything off of 
> > http://edoneel.chaosnet.org/Downloads.html.
> > cheers
> > 
> > bruce
> > 
> > 
> > On Mon, Sep 27, 2004 at 08:50:22PM +0200, Gerardo Alvarez wrote:
> > > I have installed this build on a PB150 with 24 Mb RAM, IDE HD, 
> > it boots 
> > > and seems to work OK.
> > > 
> > > Sorry if this is a FAQ but: Which X set should I install for 
> > this 
> > > release?
> > > 
> > > Thanks
> > > 
> > > El 20/09/2004, a las 8:17, Bruce O'Neel escribió:
> > > 
> > > >Hi,
> > > >
> > > >This is now up at
> > > >
> > > >ftp://ftp.ziaspace.com/pub/NetBSD/m68k/NetBSD-release-2.0-mac-
> > softfloat> >
> > > >Thanks to John Klos for diskspace, bandwith, and CPU!
> > > >
> > > >cheers
> > > >
> > > >bruce
> > > >
> > > >-- 
> > > >edoneel@sdf.lonestar.org
> > > >SDF Public Access UNIX System - http://sdf.lonestar.org
> > > >
> > > 
> > > 
> > 
> > -- 
> > edoneel@sdf.lonestar.org
> > SDF Public Access UNIX System - http://sdf.lonestar.org
> > 
> 
> 

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