www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1999/07/19/09:43:41

Date: Mon, 19 Jul 1999 14:43:26 +0100 (BST)
From: "Dr H. T. Leung" <htl10 AT cus DOT cam DOT ac DOT uk>
To: Markus Osa <saratoga AT sektori DOT com>
cc: pgcc AT delorie DOT com
Subject: Re: Defaulting the optimization flags in the compiler
In-Reply-To: <37930589.92AF1BB1@sektori.com>
Message-ID: <Pine.SOL.3.96.990719143907.2694B-100000@ursa.cus.cam.ac.uk>
MIME-Version: 1.0
Reply-To: pgcc AT delorie DOT com
X-Mailing-List: pgcc AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

I think it is a GCC question and the answer was in the GCC info pages.
Anyway, what you need to do is to set one of the CFLAGS environment
variables (there are a few - the standard one, debug one, the profile one,
etc) in your .bashrc or equivalent.

But then, the Makefile might also set it explicitly, in which case you
have to edit the makefile. 

On Mon, 19 Jul 1999, Markus Osa wrote:

> Hi,
> 
> Is there a way to configure PGCC to every time use the same optimization
> flags, when compiling, so that no Makefiles or such should be edited for
> every program? How? 
> This might be more of a GCC related question, but as the problem came up
> with PGCC, I'm asking it here.
> I'm not a subscriber to the list, so please reply to my email-address.
> 
> Markus Osa
> Finland

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019