www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1998/11/27/20:44:13

X-pop3-spooler: POP3MAIL 2.1.0 b 4 980420 -bs-
X-Authentication-Warning: basis.Desk.nl: listserv set sender to owner-beastium-list AT basis DOT desk DOT nl using -f
Message-ID: <19981127211737.D2453@cerebro.laendle>
Date: Fri, 27 Nov 1998 21:17:37 +0100
From: Marc Lehmann <pcg AT goof DOT com>
To: beastium <beastium-list AT desk DOT nl>
Cc: smkennedy AT uwaterloo DOT ca
Subject: Re: Optimization with PGCC
Mail-Followup-To: beastium <beastium-list AT desk DOT nl>, smkennedy AT uwaterloo DOT ca
References: <365E3B57 DOT 1B5908C1 AT uwaterloo DOT ca>
Mime-Version: 1.0
In-Reply-To: <365E3B57.1B5908C1@uwaterloo.ca>; from Steve on Fri, Nov 27, 1998 at 12:40:39AM -0500
X-Operating-System: Linux version 2.1.130 (root AT cerebro) (gcc version pgcc-2.92.21 19981109 (gcc2 ss-980609 experimental))
Status: RO
Lines: 19

On Fri, Nov 27, 1998 at 12:40:39AM -0500, Steve wrote:
>     I just recently switched from gcc 2.8.1 to pgcc 1.1.  I would like
> to start compiling my programs passing the -O6 and -mpentiumpro switches
> to pgcc (to get the most optimization).  I would prefer not to have to
> go into each program's makefile and edit it.  Is there a way to do this
> from the command line?  I tried :  'make CFLAGS="-O6 -mpentiumpro" but
> that overrides all the other CFLAGS.  I was wondering if there is a way
> to add to the other CFLAGS.  Anyone?

You could overwrite CC instead (thats not _really_ a pgcc question, is it?
;)

      -----==-                                              |
      ----==-- _                                            |
      ---==---(_)__  __ ____  __       Marc Lehmann       +--
      --==---/ / _ \/ // /\ \/ /       pcg AT goof DOT com       |e|
      -=====/_/_//_/\_,_/ /_/\_\                          --+
    The choice of a GNU generation                        |
                                                          |

- Raw text -


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