This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Can't optimize


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]