Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 2003 15:38:09 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
Cc:        kris@obsecurity.org
Subject:   Re: cvs commit: ports/devel/avr-libc Makefile
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 19 May 2003 14:33:25 +0200
Joerg Wunsch <j@uriah.heep.sax.de> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030519153809.1b01f51b.Alexander>