delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/01/17/05:33:16

To: Aaron Ucko <UCKO AT vax1 DOT rockhurst DOT edu>
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: gcc = gcc -O2 ?
Date: Tue, 17 Jan 95 12:07:08 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>

> Whoops! TC _does_ default to no optimization.  However, it provides
> a way to create a configuration file and select optimization to
> be the default that way...Is it possible to do that sort of thing
> with lib/specs?  If so, how?

Yes.  Edit the specs file, and in the cc1: section put -O2.
If you want the same to go with C++, do it for cc1plus:
section also.

- Raw text -


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