Sorry if this is a liittle off topic. If it is, pointers in the right direction greatfully appreciated

A while back I knocked up some math benchmarks on my trusty G3 Pismo under Metrowerks CodeWarrior (a somewhat out of date(vanilla C) version which came out for 603/604e era)... and was pleasantly surprised to see it performed these tasks faster than a Win2000 laptop (1GHz P4) and Sun Ultra60.

I've now upgraded to a G4/450 based Mac and purchased OSX which so far is great. The old compiled code runs OK under classic. I tried recompiling these benchmarks under gcc (& x-code) using the -O3 flag and set up for a G4. The surprise is that these takes FIVE TIMES LONGER when recompiled than the old code under classic.

Are there any suggestions to better optimization flags etc or other (preferably free/cheap) compilers out there?

--
Pete.

--
G-Books is sponsored by <http://lowendmac.com/> and...

Small Dog Electronics    http://www.smalldog.com  | Refurbished Drives |
-- Check our web site for refurbished PowerBooks  |  & CDRWs on Sale!  |

     Support Low End Mac <http://lowendmac.com/lists/support.html>

G-Books list info:      <http://lowendmac.com/lists/g-books.html>
 --> AOL users, remove "mailto:";
Send list messages to:  <mailto:[EMAIL PROTECTED]>
To unsubscribe, email:  <mailto:[EMAIL PROTECTED]>
For digest mode, email: <mailto:[EMAIL PROTECTED]>
Subscription questions: <mailto:[EMAIL PROTECTED]>
Archive: <http://www.mail-archive.com/g-books%40mail.maclaunch.com/>



---------------------------------------------------------------
The Think Different Store
http://www.ThinkDifferentStore.com
---------------------------------------------------------------




Reply via email to