From owner-freebsd-questions@FreeBSD.ORG Sat May 26 19:55:28 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3A20216A468 for ; Sat, 26 May 2007 19:55:28 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 2995913C44B for ; Sat, 26 May 2007 19:55:28 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id E3B561A3C19; Sat, 26 May 2007 12:56:32 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 4962551526; Sat, 26 May 2007 15:55:27 -0400 (EDT) Date: Sat, 26 May 2007 15:55:27 -0400 From: Kris Kennaway To: Daniel Molina Wegener Message-ID: <20070526195527.GA53106@xor.obsecurity.org> References: <200705252304.05088.dmw@unete.cl> <20070526032226.GA18221@xor.obsecurity.org> <200705260825.47577.dmw@unete.cl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200705260825.47577.dmw@unete.cl> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org, Kris Kennaway Subject: Re: Installing CURRENT from STABLE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 May 2007 19:55:28 -0000 On Sat, May 26, 2007 at 08:25:47AM -0400, Daniel Molina Wegener wrote: > On Friday 25 May 2007 23:22:26 Kris Kennaway wrote: > > 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. > > Thanks, but I get compile time errors. Am I missing something? > or it's normal to get "file not found errors"? Only if you are missing some files. Kris