delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/11/04/16:12:57

From: rale00 AT earthlink DOT net (rale)
Subject: Re: Can't optimize
4 Nov 1997 16:12:57 -0800 :
Message-ID: <345FB2E6.F24B5C19.cygnus.gnu-win32@earthlink.net>
References: <199711042016 DOT VAA05155 AT spirit DOT nova DOT es>
Mime-Version: 1.0
To: frr AT nova DOT es
Cc: gnu-win32 AT cygnus DOT com

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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


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