X-pop3-spooler: POP3MAIL 2.1.0 b 4 980420 -bs-
Date: Thu, 18 Jun 1998 22:55:24 +0100
Message-Id: <199806182155.WAA03938@odie.demon.co.uk>
From: Andrew Pollard <andrew AT odie DOT demon DOT co DOT uk>
To: jlopes AT tiac DOT net
CC: beastium-list AT Desk DOT nl
In-reply-to: <Pine.LNX.3.96.980617193417.485A-100000@yamato> (message from
	Jeff Lopes on Wed, 17 Jun 1998 19:38:56 -0400 (EDT))
Subject: Re: Using pgcc optimizations...
Sender: Marc Lehmann <pcg AT goof DOT com>
Status: RO
Content-Length: 942
Lines: 29


>I wanted to know if there was some way to have pgcc ALWAYS use the -O6
>option? I looked around and can't really figure out a way to do it. I know
>you can just edit the make files or add the -O6 to the compile line
>yourself. But I wanna way to make sure anytime gcc is called it uses the
>-O6 option. Thanks a lot.

You could edit the specs file so that *every* compile will get the
options.

Do

% gcc -v

And you should see something like

Reading specs from /usr/lib/gcc-lib/i586-unknown-linuxlibc1/2.7.2.2/specs
gcc version 2.7.2.2

Edit the specs file, and on the line under *cc1 add any options you
want gcc to always get, and under *cc1plus, any options you want g++
to always get....

Andrew.
--
   Andrew Pollard, Auto Simulations Ltd. UK.    | home: andrew AT odie DOT demon DOT co DOT uk
   2 Milbanke Court, Milbanke Way, Bracknell    | work: andrewp AT autosim DOT com
Tel:+44(0)1344 426486x103 Fax:+44(0)1344 426615 | http://www.odie.demon.co.uk