This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Apple's -fast option for gcc



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]