Building FreeBSD-STABLE

David Wolfskill david at catwhisker.org
Sat Sep 29 14:25:25 UTC 2012


On Sat, Sep 29, 2012 at 04:16:08PM +0200, Norbert Aschendorff wrote:
> ...
> stable/9. Sorry, I was implying it.

:-}  Clarity often helps.

> ...
> >> > I've set the CC and CXX variables in make.conf to gcc respectively g++.
> > Why?  (You should not need to do this -- I never did (for years)
> > ...  until I decided to migrate to clang/llvm in stable/9 & head).
> > What are you trying to accomplish by setting them to these values?)
> 
> I tried it with some ports and forgot to remove it. Today I saw it
> again, changed it to explicit other values to test it.

For the task at hand, at least, I suggest to just move /etc/make.conf
aside: you shouldn't need it to merely (re)build FreeBSD.

Once you get it working, you can start "seasoning to taste," as it were.

> ...
> src.conf does not exist here, and make.conf contains this:
> 
> # added by use.perl 2012-08-23 17:45:18
> PERL_VERSION=5.14.2
> 
> CFLAGS=-pipe
> #CC=clang
> #CC=gcc
> CXXFLAGS=-pipe
> #CXX=clang++
> #CXX=g++

OK -- but as above, you should not need to do this for buiding FreeBSD.

> ...

Oh -- and I'm presently running:

FreeBSD g1-227.catwhisker.org 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #258 240989M: Thu Sep 27 04:50:32 PDT 2012     root at g1-227.catwhisker.org:/usr/obj/usr/src/sys/CANARY  i386

on my laptop -- though I rebuilt earlier today, with sources at:

g1-227(9.1-P)[4] svn info /usr/src
Path: /usr/src
Working Copy Root Path: /usr/src
URL: file:///svn/freebsd/src/base/stable/9
Repository Root: file:///svn/freebsd/src/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 241044
Node Kind: directory
Schedule: normal
Last Changed Author: delphij
Last Changed Rev: 241038
Last Changed Date: 2012-09-28 13:29:06 -0700 (Fri, 28 Sep 2012)

g1-227(9.1-P)[5] 


Peace,
david
-- 
David H. Wolfskill				david at catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20120929/94bab2e2/attachment.pgp


More information about the freebsd-stable mailing list