Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Apr 1999 20:32:25 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        current@FreeBSD.ORG
Subject:   Re: /sys/boot, egcs vs. gcc, -Os
Message-ID:  <XFMail.990407203225.jdp@polstra.com>
In-Reply-To: <199904080327.NAA03975@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help

Bruce Evans wrote:
>>The problem in this case is just that the compilers require
>>different command line options.  It's asking _way_ too much to
>>require those to be identical.
> 
> Actually, they don't.  Compiler-specific options can be put in ${CC}.
> Perhaps they even should be.

But in this case, we want "-Os" (egcs) or "-O2" (gcc) only for
building boot -- not for everything.  It could be parameterized with
make macros like "OPT_SMALL" and "OPT_FAST" in the *.mk files, I
suppose.

John


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.990407203225.jdp>