Search code examples
gccgnu

How do I keep up with the development of gcc?


I have two download sites for the GCC I'm interested in. One is a git repo

  git clone git://gcc.gnu.org/git/gcc.git gcc-cilk-src

and the other is a svn repo:

  svn checkout svn://gcc.gnu.org/svn/gcc/branches/cilkplus gcc-cilk-src

As I understand, gcc switched to Git not long ago. My question is, is the svn branch also updated at the same time? Will svn update reflect the git changes as well?

Bonus question (worth an upvote!): How do I keep up with the current development of the branch I'm interested in? Is

  http://gcc.gnu.org/git/?p=gcc.git

where I should go for current work? Any other hints for me to keep up to date?


Solution

  • All your questions can be answered by reading and clicking a few links on the GCC homepage.

    As I understand, gcc switched to Git not long ago.

    Back in 2012 when this was asked, that was incorrect. all GCC development was done in the Subversion repo, as was clearly stated on the homepage at the time. There was a Git mirror, but all commits were pushed to svn and then synced to git automatically.

    But in January 2020, GCC development did switch to Git. The homepage now says: "Our sources are readily and freely available via Git and weekly snapshots."

    Current work happens on the master branch, and because of the historical use of Subversion, the master branch is also available as trunk (both branches refer to the same thing, and we often still refer to "trunk" when talking about the master branch). Certain larger projects happen in a branch and are then merged to trunk. There's a list of active development branches. Which branch you should follow depends on what you want to follow, but the trunk/master branch in Git is the most likely to be of interest.

    Any other hints for me to keep up to date?

    The GCC mailing lists, obviously. Significant changes are discussed on the 'gcc' list and all patches are sent to and discussed on the 'gcc-patches' list.