http://gcc.gnu.org/svn.html have a error.

David Daney ddaney@avtrex.com
Tue May 22 04:29:00 GMT 2007


Wei Chen wrote:
> i think http://gcc.gnu.org/svn.html have a error.
>
> "Using the SVN repository
>
> Assuming you have version 1.0.0 and higher of Subversion installed,
> you can check out the GCC sources using the following command:
>
>    svn -q checkout svn://gcc.gnu.org/svn/gcc/trunk gcc "
>

I think you are mistaken.  The command above does in fact check out the 
source into a directory named gcc.

> the right is
>
>      svn -q checkout svn://gcc.gnu.org/svn/gcc/trunk
This will work as well, but the workspace will be in a directory called 
'trunk'

> or    svn -q checkout svn://gcc.gnu.org/svn/gcc/trunk/gcc
>
That is probably not what you want.  That will only checkout the gcc 
subdirectory.  The result while interesting, will not be sufficient to 
build a working compiler.

David Daney



More information about the Gcc mailing list