> > BTW, on my Celeron 400, the MSVC 6 compiled version with "/Ox" is about
6%
> > faster than the version I compiled with Cygwin B20 (egcs-2.91.57) and
> >
"-O9 -fomit-frame-pointer -march=pentium -mcpu=pentium -ffast-math -funroll-
> > loops". It's also about 1/3 the size (217k instead of 627k) and doesn't
> > seem to access the disk as much.
> >
>
> This is probably mostly due to compiler options?
> If I compile without the debugging options, the executable on Linux
> (egcs) is also about 250k.
That's about the size I've seen on Linux and BeOS. The extra size appears
to be debugging info, because "Hello world" was 300k with GCC on Cygwin, but
shrunk to 3k after I stripped it. I was just surprised because I didn't
use -g, so I didn't expect to see any debugging info in the final
executable. Guess I should have tried strip first.
-Jake
--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )