Retired Documents Library Developer

Next: , Previous: Copying, Up: Top

Source Code

The source code for released versions of Apple's GCC is available at `', in `.tar.gz' format.

For unreleased versions (including 'seeds', beta versions and engineering roots), source can be obtained by asking the Apple contact from which you obtained the unreleased version.

For many versions of Apple's GCC, source code is available by using anonymous Subversion. You may obtain Subversion ('SVN') from `'.

Development of this version is done at `svn://'.

For example, you can fetch the latest version by entering:

     $ svn co svn://

Each version will be tagged based on its build number, which you can find by executing `gcc --version'; for instance, if this prints

     gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 8402)

then the build number is 8402. Some older compilers may require you use `gcc -v' to obtain the build number. Once you have the build number, its tag will be at `svn://', like `svn://'. You can list all the tags by writing

     $ svn ls svn://

Then check out a particular version by writing

     $ svn co svn://

The above command won't succeed as written, because 8402 is not yet a real compiler build number.