Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 2004 11:33:12 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        obrien@FreeBSD.org
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/conf options.pc98
Message-ID:  <20040819.113312.71552342.imp@bsdimp.com>
In-Reply-To: <20040819171224.GA2469@dragon.nuxi.com>
References:  <20040818191959.GA10978@dragon.nuxi.com> <200408181651.31593.jhb@FreeBSD.org> <20040819171224.GA2469@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20040819171224.GA2469@dragon.nuxi.com>
            "David O'Brien" <obrien@FreeBSD.org> writes:
: On Wed, Aug 18, 2004 at 04:51:31PM -0400, John Baldwin wrote:
: > On Wednesday 18 August 2004 03:19 pm, David O'Brien wrote:
: > > On Thu, Aug 19, 2004 at 12:57:52AM +0900, Takahashi Yoshihiro wrote:
: > > > In article <200408180346.i7I3kdSj026379@repoman.freebsd.org>
: > > >
: > > > Robert Watson <rwatson@FreeBSD.org> writes:
: > > > >   Since pc98 shares the AGP driver with the i386, also define the
: > > > >   amd64 agp option here in order to let the pc98 kernel build
: > > > >   complete.  This doesn't seem right, since there probably aren't
: > > > >   plans to build a pc98 amd64 box; however, it's not clear to me
: > > > >   how to get config to generate an opt_agp.h without an option
: > > > >   defined.
: > > >
: > > > I think that using '#ifndef PC98' in agp_sis.c and agp_via.c is better
: > > > way rather than putting unneeded line in options.pc98.
: 
: I'm going to remove the option from agp_via.c and agp_sis.c in 6-CURRENT.
: I only wanted the old behavior in RELENG_5.  Can someone that can build
: pc98 releases make sure that things will be OK on the branch?

I know that David know this, but others ask me so often that I thought
I'd share.  Anybody with a i386 box can build at least the kernel for
pc98:

cd src/sys/pc98/conf
config GENERIC			# or make LINK && config LINT
cd ../compile/GENERIC
make

Since the compilers are identical for pc98 and i386, the above works
really well (and is nice since ibm-at compatible machines have
out-paced their NEC PC9801 compatible brethern since NEC stopped
making the latter).

I've built releases in the past with TARGET=pc98 TARGET_ARCH=i386, but
haven't done so recently enough to recommend it.  I have no idea of
that works or not (but suspect it does becaue the .jp pc98 snapshots
are generated this way).

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040819.113312.71552342.imp>