On Thu, Aug 08, 2002 at 06:31:11PM +0300, Orr Dunkelman wrote:

> I've stumbled with the following problem regarding gcc. Assume for a
> moment I compile many files, some are header files, some are interface
> files, and some are the "real" program.
> 
> When compiling with -O1 optimization things work, but -O3 optimization
> doesnot compile (or gives the wrong value).

If soemthing doesn't compile, it's very curious. If it gives the wrong
value, that's ... curious. Can you show the code?

> My question is, can I compile in the same command line some files under
> -O1 and some under -O3?

If they're going to be linked together, that's a very bad
idea. Otherwise, you could probably do it with some Makefile hackery. 
-- 
"Hmm.. Cache shrink failed - time to kill something?
 Mhwahahhaha! This is the part I really like. Giggle."
                                         -- linux/mm/vmscan.c
http://vipe.technion.ac.il/~mulix/      http://syscalltrack.sf.net

Attachment: msg20884/pgp00000.pgp
Description: PGP signature

Reply via email to