This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Can't optimize
- To: frr at nova dot es
- Subject: Re: Can't optimize
- From: rale <rale00 at earthlink dot net>
- Date: Tue, 04 Nov 1997 18:42:30 -0500
- CC: gnu-win32 at cygnus dot com
- References: <199711042016.VAA05155@spirit.nova.es>
Fernando Rodriguez Romero wrote:
>
> Hi!
>
> Apparently my compiler doesn't like the optimizations options
> (-01, -02, etc...).
> If I try gcc -o3 hi.exe hello.c (for example) it considers the 3
> (after the -o) as the output file name. =:-O
> This will produce no error, but an output file called 3:
>
That needs to be -O3
ie. "gcc -O3 hello.c -o hi"
-O = optimize
-o = output file
-Paul
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".