How to get only C sources from SVN?

Ian Lance Taylor iant@google.com
Fri Apr 20 20:04:00 GMT 2012


niXman <i.nixman@gmail.com> writes:

> For C++ I checkout the:
> svn checkout svn://gcc.gnu.org/svn/gcc/trunk/gcc/cp gcc-trunk/gcc/cp
> svn checkout svn://gcc.gnu.org/svn/gcc/trunk/libstdc++-v3 gcc-trunk/libstdc++-v3
>
> For Fortran:
> svn checkout svn://gcc.gnu.org/svn/gcc/trunk/gcc/fortran gcc-trunk/gcc/fortran
> svn checkout svn://gcc.gnu.org/svn/gcc/trunk/libgfortran gcc-trunk/libgfortran
>
> Bug for C I don't know how.
> Tell me please, how I can get sources only for C compiler?

I assume you are asking how to get the sources for just the C frontend.
You can't.  The C frontend is mixed in with the main compiler sources.
This will probably change some day, but so far it has not.

By the way, note that for the C++ frontend you should also check out
gcc/trunk/gcc/c-family.

Ian



More information about the Gcc-help mailing list