Date: Sat, 12 Jan 2008 15:12:02 +0100 From: Bernd Walter <ticso@cicely12.cicely.de> To: Steve Kargl <sgk@troutmask.apl.washington.edu>, freebsd-current@freebsd.org Subject: Re: [Call for testers] "BSD ar" Message-ID: <20080112141201.GL79270@cicely12.cicely.de> In-Reply-To: <20080112072138.GB1016@plan0.kaiwan.csbnet.se> References: <20080111142336.GA1379@plan0.kaiwan.csbnet.se> <20080111194036.GA28896@troutmask.apl.washington.edu> <20080112072138.GB1016@plan0.kaiwan.csbnet.se>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 12, 2008 at 08:21:38AM +0100, Kai Wang wrote: > On Fri, Jan 11, 2008 at 11:40:36AM -0800, Steve Kargl wrote: > > Do I drop the ar/ directory into src/usr.bin as a replacement > > for the current ar/? > > Then make buildworld? > This will possibly not work because you may need to turn off > the build of GNU ar first, which is not simple because the build of other > GNU tools may depend on the build of GNU ar. (I'm working on this) > > The recommended way is: (for now) > > 1. Backup your GNU ar first: > % cp /usr/bin/ar SOME_BACKUP_DIR > > 2. Build BSD ar > extract the tarball > % cd ar > % make > > 3. Replace > # cp ./ar /usr/bin/ar > # cd /usr/bin > # ln -f ar ranlib > > Then you can do something like ports build or "make buildworld" > to try it out. But then it is only used for building the toolchain, not for building the world/universe itself. Did you try adding it into the toolchain for your make universe tests? I don't know how sensitive ar is to cross builds, but of course it is important for us to support cross builds. Nevertheless I think it is great to have a replacement. We have a lot of additional traditional tools under the BSD licence and I feel more and more comfortable with this. -- B.Walter http://www.bwct.de http://www.fizon.de bernd@bwct.de info@bwct.de support@fizon.de
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080112141201.GL79270>