ebd@cup.portal.com (Elliot B Dierksen) (03/31/89)
Well After quite a gyrations a friend of mine and i finally managed to get GCC up and going on our Unix-PC's. After confronting the __STDC__ problem with the stock compiler and stage 1 problems with virtual memory exhausted using optimization we finally got a version of 1.34 running with shared libraries and optimized!!! Next step, we sat down to do a few comparisons between GCC and the stock compiler. Much to our surprise we found that with most small to medium programs GCC actually generated a larger binary than stock. Well then why the heck should we use this compiler we wondered??? Well i found a reason..... We compiled dry.c (dryhstone benchmark program) with full optimization and the shared library and we got some very interesting results!!! dryhstones per second without with register register variables variables ----------- ----------- AT&T 3.51a cc 974 1037 GCC 1.34 1332 1332 More speed comparisons to follow on moria, nethack, etc. (if we can figure out a reasonable way to benchmark games!!!) Elliot Dierksen E-Mail to: ..!uunet!hite386!tlvx!alfred!elliot Who me?? I didn't say anything!!!! :-)