cvs commit: ports/devel/avr-libc Makefile
Alexander Leidinger
Alexander at Leidinger.net
Mon May 19 06:38:30 PDT 2003
On Mon, 19 May 2003 14:33:25 +0200
Joerg Wunsch <j at 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
More information about the cvs-all
mailing list