We recommend that you use Git to access our current development sources.
We also make regular snapshots available for download from our mirror sites about once a week. These snapshots are intended to give everyone access to work in progress. Any given snapshot may generate incorrect code or even fail to build.
If you plan on downloading and using snapshots, we highly recommend you subscribe to the GCC mailing lists.
When using the diff files to update from older snapshots to newer snapshots, make sure to use "-E" and "-p" arguments to patch so that empty files are deleted and full pathnames are provided to patch.
contrib/gcc_update
can be used to apply diffs between
successive snapshot versions and preserve relations between generated
files so that autoconf et al aren't needed.
The program sha512sum
— which is included with the
GNU Coreutils
— can be used to verify the integrity of a snapshot or release.
The release script generates the file
sha512.sum
that provides a 512-bit checksum for the tarball
and other files in the snapshot directory. Use the following command
to verify the sources:
sha512sum --check --ignore-missing sha512.sum
Copyright (C) Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.
These pages are maintained by the GCC team. Last modified 2022-10-26.