Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2007 23:22:26 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Daniel Molina Wegener <dmw@unete.cl>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Installing CURRENT from STABLE
Message-ID:  <20070526032226.GA18221@xor.obsecurity.org>
In-Reply-To: <200705252304.05088.dmw@unete.cl>
References:  <200705252304.05088.dmw@unete.cl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 25, 2007 at 11:04:04PM -0400, Daniel Molina Wegener wrote:
> 
> Hello,
> 
>    I want to contribute with FreeBSD.
> 
>    I have installed STABLE on one disk, I use STABLE to work,
> but I want to install CURRENT to begin with small contributions 
> with code.
> 
>    How can I install CURRENT from my STABLE installation, I mean 
> work on FreeBSD using the STABLE install and test the CURRENT 
> install on a diferent partition. Can I do that?
> 
>    I've tried to get working CURRENT, but I get compile errors.
> On STABLE I have gcc 4.2 to compile CURRENT and a shell script
> that does the next job:
> -----------------------8<--------------------------------------
> export MAKEOBJDIRPREFIX="/work/FreeBSD/obj"
> export PREFIX="/work/FreeBSD"
> export CC="/usr/local/bin/gcc42"
> export CXX="/usr/local/bin/g++42"
> export DESTDIR="/work/FreeBSD/build"
> export TARGET="i386"
> make $*
> -----------------------8<--------------------------------------
> 
>     I'm right?, or I need to know something more? 

You are not right; FreeBSD bootstraps its own compiler, and in fact
cannot usually be built with a non-standard compiler (even if it is
based on the same gcc version) because of FreeBSD extensions.

Just build world as you normally would.

Kris



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