From owner-freebsd-questions Tue May 7 11:31:33 2002 Delivered-To: freebsd-questions@freebsd.org Received: from hobbiton.shire.net (frogmorton.shire.net [204.228.145.136]) by hub.freebsd.org (Postfix) with ESMTP id 74B7637B401 for ; Tue, 7 May 2002 11:31:20 -0700 (PDT) Received: from [68.64.98.90] (helo=localhost) by hobbiton.shire.net with asmtp (Exim 3.22 #6) id 1759kU-0006Xg-00; Tue, 07 May 2002 12:31:42 -0600 Date: Tue, 7 May 2002 14:31:17 -0400 Subject: Re: How to compile ports applikations with CPU-Spezifik optimations Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v481) Cc: questions@FreeBSD.ORG To: Paul Everlund From: "Chad Leigh -- Shire.Net LLC" In-Reply-To: <3CD81B62.A3F53C31@cs.umu.se> Message-Id: <9EB08C32-61E8-11D6-96F3-000502EDE760@shire.net> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.481) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tuesday, May 7, 2002, at 02:22 , Paul Everlund wrote: >>> On Tuesday, May 7, 2002, at 01:56 , David Liebeherr wrote: >>> >>> Hi all, >>> >>> how can i compile Port-Applikations with optimation for my CPU, or in >>> other words: How can i tell an port which architekture i have to >>> compile for? >>> >>> Thanx many for every help, >>> Dave >> >> "Chad Leigh -- Shire.Net LLC" wrote: >> >> Hi >> >> I think you can set it in /etc/defaults/make.conf >> >> I set my architecture in there and it seems to be on all compiles. >> >> Schoene Gruesse >> MfG aus New Hampshire >> Chad > > Chad did point it out, where to set it, but you should probably not > change > your default file. Instead make a new make.conf file and put it in /etc. > Make your override there, i.e. put the line; > CPUTYPE=i686 > if you have Pentium Pro, and let the default file be as is. > > yes Paul, thanks for pointing that out. I just logged into the machine where I actually did this and I do see that I did just that, put it in /etc for my "live" one. My other machine I checked for my original answer has never had it modified, hence my confusion. Thanks again Chad To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message