> Hi,
>
> I want to compare compilers efficiency for both GNU and CodeWarrior environment.
> I did a simple program that uses complex operations and I compiled it with -o3
>option for gcc and I specify CodeWarrior I want speed
> to be optimized. I'm a bit amazed to see that gcc generates a program which is
>almost twice quicker. Is it normal to get such results ?
i bet Michael would love to take a bite at this one.. :))
the gcc compiler chain has been around for a pretty long time now
(since the intruction of UNIX and the free software foundation)
and there has been a motorolla 68k cross compiler available way
before the Palm device was a twinkle in the eyes of the original
Palm engineers.
both compilers produce fairly efficient code.
you should not notice any significant difference between the two
binary outputs - however, it is always good to tweak with the -O?
flags :P
cheers.
az.
--
Aaron Ardiri
Java Certified Programmer http://www.hig.se/~ardiri/
University-College i G�vle mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN
Tel: +46 26 64 87 38 Fax: +46 26 64 87 88
Mob: +46 70 656 1143 A/H: +46 8 668 78 72
if you enjoy it, then it aint work :) - rule #106 of life
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/