From owner-freebsd-questions@FreeBSD.ORG Thu Mar 13 10:34:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 645D4106577A for ; Thu, 13 Mar 2008 10:34:01 +0000 (UTC) (envelope-from juliushuang@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.178]) by mx1.freebsd.org (Postfix) with ESMTP id 33C068FC36 for ; Thu, 13 Mar 2008 10:34:00 +0000 (UTC) (envelope-from juliushuang@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so3882380waf.3 for ; Thu, 13 Mar 2008 03:34:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:in-reply-to:references:mime-version:x-gpgmail-state:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; bh=65Ed4VLtr4KK97xhmBAfnMfXlIsr9uzLBAToaoEvlTo=; b=bcDFSR67clM243VYw8DNarh0mBAG2shXnBgTCy6TqV0n9WE1RQdvOjgU46MOIGnlZE7s02J4L1yyRk8r4oZA2V6kE6lcLFoh6QmH5eNDKf3hDvGlGcTv6gMf9xsaloseUW2VSipKrODmlgvPQFyvt++PnN8ek+0j2IyPL73Fb2E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:x-gpgmail-state:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=tD0g2AXZwJXXLOssElRGYCRzdXfGbYiy0onap8i9rsxwiDPJNrLrmS8lp7Pz9rZCjQRd8TXhRPyRUaM41yEzeeRsnsP+hTKgxvGnfu+P6EmM12AK3wfXqKL06iZJ7fY0SW7PiS5EI4XcZAT3uHgON87O3XJaQypdiBPkcOvrQ2c= Received: by 10.114.194.1 with SMTP id r1mr8924088waf.40.1205402967642; Thu, 13 Mar 2008 03:09:27 -0700 (PDT) Received: from ?59.124.104.176? ( [59.124.104.176]) by mx.google.com with ESMTPS id a8sm31027281poa.2.2008.03.13.03.09.26 (version=SSLv3 cipher=OTHER); Thu, 13 Mar 2008 03:09:27 -0700 (PDT) In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v753) X-Gpgmail-State: !signed Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <47B49F79-13E4-435B-B9DF-F40E28DBBCB9@gmail.com> Content-Transfer-Encoding: 7bit From: Julius Huang Date: Thu, 13 Mar 2008 18:09:24 +0800 To: Luca Presotto X-Mailer: Apple Mail (2.753) Cc: freebsd-questions@freebsd.org Subject: Re: Tuning make.conf 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: Thu, 13 Mar 2008 10:34:01 -0000 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"