From owner-freebsd-questions Tue May 7 11:25:21 2002 Delivered-To: freebsd-questions@freebsd.org Received: from tninet.se (lennier.tninet.se [195.100.94.105]) by hub.freebsd.org (Postfix) with ESMTP id 4EFE037B408 for ; Tue, 7 May 2002 11:25:07 -0700 (PDT) Received: from cs.umu.se (h146n1c1o1023.bredband.skanova.com [213.64.164.146]) by lennier.tninet.se (BMR ErlangTM/OTP 3.0) with ESMTP id 496169.795819.1020.1s31143386lennier ; Tue, 07 May 2002 20:23:39 +0200 Message-ID: <3CD81B62.A3F53C31@cs.umu.se> Date: Tue, 07 May 2002 20:22:26 +0200 From: Paul Everlund X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: sv,en MIME-Version: 1.0 To: "Chad Leigh -- Shire.Net LLC" Cc: David Liebeherr , questions@FreeBSD.ORG Subject: Re: How to compile ports applikations with CPU-Spezifik optimations References: <14A1B27A-61E4-11D6-96F3-000502EDE760@shire.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 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. Best regards, Paul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message