Date: Mon, 19 Jul 1999 14:43:26 +0100 (BST) From: "Dr H. T. Leung" To: Markus Osa cc: pgcc AT delorie DOT com Subject: Re: Defaulting the optimization flags in the compiler In-Reply-To: <37930589.92AF1BB1@sektori.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: pgcc AT delorie DOT com X-Mailing-List: pgcc AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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