diff options
Diffstat (limited to 'gcc/doc/include/sourcecode.texi')
-rw-r--r-- | gcc/doc/include/sourcecode.texi | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gcc/doc/include/sourcecode.texi b/gcc/doc/include/sourcecode.texi new file mode 100644 index 00000000000..8661d51864f --- /dev/null +++ b/gcc/doc/include/sourcecode.texi @@ -0,0 +1,36 @@ +@c APPLE LOCAL file GPL compliance +@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{gcc}, branch +@samp{apple-local-200502-branch}. + +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 -r apple-local-200502-branch gcc +@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{apple-gcc-1402}; you can find a list of suitable tags with +a command like @samp{cvs log gcc/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 apple-gcc-1402 gcc +@end smallexample |