Date: Tue, 29 Mar 1994 16:17:17 -0500 (EST) From: "Chris Mr. Tangerine Man Tate" To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: GCC optimization & target options? Curioser and curioser, said Alice.... I've been fiddling with the -O and -m options to GCC, and have been getting some startling results. First, my compilation times don't change between using -O0 and -O2. This is for a project made up of about a dozen files; it takes almost exactly one minute to compile and link from scratch. Note that this is C++. Also, there doesn't seem to be *any* difference in code size between using the -m486 and -mno-486 options to gcc. Is this an artifact of the COFF file format, or is there really no difference? Or is it just my particular code doesn't change when the codegen parameters are tweaked? (The final linked COFF file is around 80K in size.) On a similar note, is there a gcc out that does Pentium optmization yet? I notice that the Info lists a bunch of PowerPC target-specific options, but no P5 options. --------------------------------------------------------------------- Christopher Tate | "Blue ice cubes? How degenerate!" MSD, Inc. | fixer AT faxcsl DOT dcrt DOT nih DOT gov | < anybody recognize the source? >