Apple's -fast option for gcc

Bradley Lucier lucier@math.purdue.edu
Tue Sep 23 19:44:00 GMT 2003


On Saturday, September 20, 2003, at 03:48  AM, Andreas Jaeger wrote:

> Bradley Lucier <lucier@math.purdue.edu> writes:
>
>> It seems that Apple has implemented a -fast option for it's gcc; it
>> turns on the following options:
>
> Can you point me to the source of this compiler?

set CVSROOT to

:pserver:anonymous@anoncvs.opensource.apple.com:/cvs/root

login with password anonymous

You probably want the latest development sources

cvs -z 9 co gcc3
mv gcc3 gcc3-current

Apple is shipping *two* versions of the compiler, you get a different 
one if you use -fast; you can see this by doing "gcc -v" and "gcc -fast 
-v"; the regular one is 1493 and the "-fast" one is 1610.  To find the 
precise cvs version numbers, do a

[zakon:~/programs] lucier% cvs status -v gcc3-current/gcc/version.c | 
grep 1493
         gcc-1493                        (revision: 1.66.2.99.2.13)
[zakon:~/programs] lucier% cvs status -v gcc3-current/gcc/version.c | 
grep 1610
         gccfast-1610                    (revision: 1.66.2.38.2.60)

Then do

cvs -z 9 co -rgcc-1493 gcc3
mv gcc3 gcc3-1493
cvs -z 9 co -rgccfast-1610 gcc

And the little documentation on "-fast" that does exist is not in 
either of these cvs source trees nor is it shipped with the gcc3 
updater ;-), so to get it do

cvs -z 9 co -rgcc-1495 gcc3/AppleReleaseNotes.html

Thanks to Mike Stump for a lot of help in getting this information.

Brad



More information about the Gcc mailing list