To: Aaron Ucko 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" > 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.