From owner-cvs-all@FreeBSD.ORG Mon May 19 06:38:30 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 777F437B401; Mon, 19 May 2003 06:38:30 -0700 (PDT) Received: from mailout09.sul.t-online.com (mailout09.sul.t-online.com [194.25.134.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9390643FBF; Mon, 19 May 2003 06:38:26 -0700 (PDT) (envelope-from Alexander@Leidinger.net) Received: from fwd03.sul.t-online.de by mailout09.sul.t-online.com with smtp id 19HkqH-00053C-05; Mon, 19 May 2003 15:38:17 +0200 Received: from Andro-Beta.Leidinger.net (520065502893-0001@[217.229.217.198]) by fmrl03.sul.t-online.com with esmtp id 19HkqC-17tRjMC; Mon, 19 May 2003 15:38:12 +0200 Received: from Magelan.Leidinger.net (Magelan [192.168.1.1]) h4JDcA3G036662; Mon, 19 May 2003 15:38:10 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magelan.Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.9/8.12.9) with SMTP id h4JDc9dx057503; Mon, 19 May 2003 15:38:09 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Mon, 19 May 2003 15:38:09 +0200 From: Alexander Leidinger To: Joerg Wunsch Message-Id: <20030519153809.1b01f51b.Alexander@Leidinger.net> In-Reply-To: <20030519143325.H2937@uriah.heep.sax.de> References: <200305190828.h4J8S8l0069634@repoman.freebsd.org> <20030519094115.GC1035@sunbay.com> <20030519115435.C2937@uriah.heep.sax.de> <20030519104604.GB17366@sunbay.com> <20030519125334.D2937@uriah.heep.sax.de> <20030519114332.GG17366@sunbay.com> <20030519115339.GI17366@sunbay.com> <20030519121239.GA6087@rot13.obsecurity.org> <20030519143325.H2937@uriah.heep.sax.de> X-Mailer: Sylpheed version 0.8.10claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Sender: 520065502893-0001@t-dialin.net cc: cvs-ports@FreeBSD.org cc: ports-committers@FreeBSD.org cc: ru@FreeBSD.org cc: cvs-all@FreeBSD.org cc: kris@obsecurity.org Subject: Re: cvs commit: ports/devel/avr-libc Makefile X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2003 13:38:30 -0000 On Mon, 19 May 2003 14:33:25 +0200 Joerg Wunsch wrote: > and we complained why they didn't use the system's setting). However, > the default CFLAGS of the system should not include any compiler or > architecture specific stuff that way (just -Osomething -gsomething > only). Strictly spoken, not even -pipe would be allowed, because some > other cross-compiler, or someone trying to use icc for example, might > fall across it. Some data points: - for "-pipe" I have a hack in the icc port, so "our" icc "knows" about "-pipe" (this isn't nice, but lets you life more relaxed) - icc warns about unknown arguments if you use "-gsomething" instead of "-g" - icc knows about "-wsomething", "-Werror", "-Wall" and "-march=not_as_much_as_gcc" too In the light of being able to use a non system compiler I think about having a default CPUTYPE as being a violation of the POLA principle. Using a different compiler to produce perhaps faster code is easy, figuring out why there is a "-march=something" when neither root nor the user who wants to use a different compiler have set CPUTYPE is at least time consuming. People which don't care about some few percent more performance don't need the default CPUTYPE, those who care will figure out how to do it. Bye, Alexander. -- Where do you think you're going today? http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7