This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: GCC compile models -- theory of operation?
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Jonathan S. Shapiro'" <shap at eros-os dot com>, <gcc at gcc dot gnu dot org>
- Date: Fri, 3 Aug 2007 15:58:16 +0100
- Subject: RE: GCC compile models -- theory of operation?
- References: <1186152464.23564.46.camel@shap.om-md.eros-os.com>
On 03 August 2007 15:48, Jonathan S. Shapiro wrote:
> 2. Is there a simple way to configure the compiler so that the default
> compilation model (in the absence of command-line directives) is
> --static? If not, which of the various specfile macros need to be
> updated? I know how to write specfile lines, I just want to make sure
> that I don't miss one somewhere.
Just to address this one: I suggest using DRIVER_SELF_SPECS, since that runs
first of all, before anything else, and ensures that you will end up passing
consistent specs to all of the individual sub-executables without having to
worry that you could have missed one out somehow.
cheers,
DaveK
--
Can't think of a witty .sigline today....