From owner-freebsd-questions@FreeBSD.ORG Fri Dec 3 04:13:28 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 347D616A4CE for ; Fri, 3 Dec 2004 04:13:28 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3BF143D55 for ; Fri, 3 Dec 2004 04:13:27 +0000 (GMT) (envelope-from kjelderg@gmail.com) Received: by rproxy.gmail.com with SMTP id a36so875906rnf for ; Thu, 02 Dec 2004 20:13:27 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=EFXGts8tLg0kN0zNK5uPwRISeNxvIrhIIR+ALaEfvdKJ57WMhdXI62HPy7e0oaHtMiNnbhMT/Zt+E8td7q5/BO5Bm9wyn7kDt2nI/Mw72pBBtyQ36L8T9xM4+vR26P3RN0QKfamRL9CNMwe537m3wrE+BUa6IrhTB/4LJKGCiiE= Received: by 10.38.77.68 with SMTP id z68mr1197170rna; Thu, 02 Dec 2004 20:13:27 -0800 (PST) Received: by 10.38.15.38 with HTTP; Thu, 2 Dec 2004 20:13:27 -0800 (PST) Message-ID: Date: Thu, 2 Dec 2004 22:13:27 -0600 From: Eric Kjeldergaard To: epilogue In-Reply-To: <20041202204948.28dc6530@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20041203001318.GB6015@gardnerclan.net> <20041202204948.28dc6530@localhost> cc: Jerry Gardner cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 5.3 Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Eric Kjeldergaard List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Dec 2004 04:13:28 -0000 > > 2) How do I set GCC flags when compiling a port. I added > > CFLAGS="-O2 -march=pentium3 -pipe" to /etc/make.conf, but > > get an error when building a port. The error is get is > > "env: -pipe No such file or directory" > > /usr/share/examples/etc/make.conf may help you here. > Just one quick addend to what epi has stated. Ports are almost assuredly failing because -O2 is unsupported in ports. The ports that are -O2 good generally enable it on WITH_OPTIMIZED_CFLAGS or some such tag. -- If I write a signature, my emails will appear more personalised.