Subject: Re: Can't optimize
From: [email-masked] (rale)

4 Nov 1997 16:12:57 -0800
Message-ID: <[email-masked]>
References: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: [email-masked]
Cc: [email-masked]

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
"[email-masked]" with one line of text: "help".