*BSD News Article 89532


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!lucy.swin.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!cs.mu.OZ.AU!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!newsfeeds.sol.net!hammer.uoregon.edu!zephyr.texoma.net!uunet!in1.uu.net!38.8.16.2!psinntp!sapphire.transition.com!news
From: "Dan A. Dickey" <ddickey@transition.com>
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: How to build NetBSD on a sparc?
Date: Mon, 17 Feb 1997 07:21:40 -0600
Organization: Transition Networks
Lines: 78
Message-ID: <33085B64.6A09@transition.com>
References: <3304CB86.2592@transition.com> <5e3e95$lif@news.bayarea.net> <5e4j93$qb4@mozo.cc.purdue.edu> <5e4th3$oap@cynic.portal.ca>
NNTP-Posting-Host: fizban
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01Gold (X11; I; SunOS 5.5.1 i86pc)
To: Curt Sampson <cjs@portal.ca>
CC: wilker@math.purdue.edu, thorpej@bayarea.net, ddickey
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.netbsd.misc:5457

In article <5e3e95$lif@news.bayarea.net>,
Jason R. Thorpe wrote:
>In article <3304CB86.2592@transition.com>,
>Dan A. Dickey <ddickey@transition.com> wrote:
>
>>Hi, I've downloaded the NetBSD-Current source; and would like to
>>build it to run on a Sparc IPX I have.  There doesn't seem to be
>>much documentation around that I can find that tells me how to do
>>this.  I looked through the FAQ's that I could find too.
>
>Probably the easiest way to do this is to install NetBSD 1.2 on your
>system, and then compile the sources... You may want to subscribe to
>port-sparc@netbsd.org (send mail to majordomo@netbsd.org).

The main problem is that I don't have binaries; all I have is source.
So, I can't exactly install and then build - I need to build and then
install,
and then probably rebuild.  Sort of like building gcc.

...
>Anyhow, subscribe to port-sparc, there's loads of folks there who can
>help w/ sparc stuff..

I just send off my subscription to port-sparc; thanks for the pointer.

>
>Ciao.

In article <5e4th3$oap@cynic.portal.ca>,
Curt Sampson wrote:
> 
> In article <5e4j93$qb4@mozo.cc.purdue.edu>,
> Clarence Wilkerson <wilker@math.purdue.edu> wrote:
> >Jason, won't he have to build a new "make" and install
> >the new ......share/mk " stuff before a
> >"make build" from 1.2 will work?
> 
> Yes, at this point. The procedure is basically:
> 
> 1. Compile and install a new kernel. It's generally best to do this
> before you install new utilities.
> 
> 2. cd /usr/src/share/mk; make install
> 
> 3. cd /usr/src/usr.bin/make; make depend && make && make install
> 
> 4. cd /usr/src; make build
> 
> Since you're compiling a current tree rather than a release tree,
> there may be little gotchas here and there, depending on the exact
> date you supp'd or ftp'd the code. A quick post to port-sparc@netbsd.org
> or current-users@netbsd.org will get you the solution to those.
> 
> I build regularly on an IPX (it takes about 12 hours), so if anyone
> wants to e-mail me with questions, I'd be happy to answer them.
> 
> cjs

Curt,
how can I build from scratch?  I'm without binaries, other than Solaris
2.5.1 and various
compilers.  I'm sitting here with NetBSD-Current and no instructions on
how to build it.
Looking through the Makefile's in the source, I see one of the variables
they rely on
is MACHINE.  I would presume that this gets set via including a make
file, or perhaps
I need to set it in my environment.  Which?  And what other variables
are there?
Thanks for any help you can offer.  Private email would probably be
better than
cluttering up this newsgroup.
	-Dan

-- 
Dan A. Dickey
ddickey@transition.com		http://www.transition.com
mailto:ddickey@transition.com