Date: Thu, 13 Mar 2008 18:09:24 +0800 From: Julius Huang <juliushuang@gmail.com> To: Luca Presotto <presotto@mail.cern.ch> Cc: freebsd-questions@freebsd.org Subject: Re: Tuning make.conf Message-ID: <47B49F79-13E4-435B-B9DF-F40E28DBBCB9@gmail.com> In-Reply-To: <Pine.LNX.4.58.0803130937530.5944@lxplus098.cern.ch> References: <Pine.LNX.4.58.0803130937530.5944@lxplus098.cern.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mar 13, 2008, at 17:32 , Luca Presotto wrote: > Hi everyone! > I was starting to think to recompile everything for my pc to speed > up everything. I started googling and I found almost nothing about > how to > change make.conf on bsd. Almost everything was about Gentoo, > somehow not > unsurprisingly. Try man make.conf J.H. > The first thing I noticed is that for linux all the instructions > are about > doing CFLAGS=" value" while it seems from /etc/share/examples/ > make.conf > that in bsd I don't need ". Is it correct? > Second question: If I set MAKEOPTS= -j 3 will that be used when > portupgrading? (It's really to slow otherwise!) > Third question...The most difficult..Which are the best flags for my > machine? (freebsd 7.0-RELEASE with an intel centrino core2 duo) > I have seen in the ..../examples/etc/make.conf that one of the > possible > "CPUTYPE" is core2 which looks to me as the right one but a geekier > friend > of mine that lives inside gentoo-linux told me that this option is > unknown is gcc 4.2 and will be working from gcc4.3, so he told me > to use > "prescott". > And what do I have to set to make gcc aware of the type of CPU I have? > CPUTYPE= cpu > and then CFLAGS= --O2 -pipe (etc..) > or should I not write the cputype and then do: > CLFAGS= -march=mycpu --O2 etc.... > Can someone give me some advice on how to configure this file? > Or can you provide me some documentation? > Thank you! > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47B49F79-13E4-435B-B9DF-F40E28DBBCB9>