blob: f2e867d2db458a3a5d70249ae683ad25dae25f23 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
@c APPLE LOCAL entire file
@node Source Code
@unnumbered Source Code
The source code for Apple's versions of GCC is available using
anonymous CVS, from
@samp{:pserver:anonymous@@anoncvs.opensource.apple.com:/cvs/root}
with password @samp{anonymous}, as module @samp{gcc3}.
For example, you can fetch the latest version by entering:
@smallexample
$ cvs -d :pserver:anonymous@@anoncvs.opensource.apple.com:/cvs/root login
Password: anonymous
$ cvs -d :pserver:anonymous@@anoncvs.opensource.apple.com:/cvs/root -z6 \
co gcc3
@end smallexample
Each version will be tagged based on its build number, which
you can find by executing @samp{gcc --version}; for instance, if this prints
@smallexample
gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1402)
@end smallexample
then the build number is 1402. Some older compilers may require you
use @samp{gcc -v} to obtain the build number. Most versions are
tagged like @samp{gcc-1402}; you can find a list of suitable tags with
a command like @samp{cvs log gcc3/gcc/version.c}. Once you have the
tag, you can use the @samp{-r} flag to CVS, for instance
@smallexample
$ cvs -d :pserver:anonymous@@anoncvs.opensource.apple.com:/cvs/root -z6 \
co -r gcc-1402 gcc3
@end smallexample
|