GCC multi-version development layout

Heime via Gcc-help <[email protected]> Sun, 19 Apr 2026 16:33:02 +0000
Newsgroups gmane.comp.gcc.help
Message-ID <mA6BJ3iI4Nc0KDmDgI9Ad9oVFd4DmMciprzu9gGBsf2Q4RMEjIDh1aVz0rujx-JlCjRqjvFAdtfc2LgXZ8q7IVJSTC5R2p-bTM--myGjOUI=@protonmail.com>
----------------------------------------------------------------

When building GCC from a cloned Git source tree using separate 
directories (as recommended), the directory structure follows 
a clean separation of source, build artifacts, and final 
installation. 

With different version of gcc, how would be the typical layout 
for specific branches to make patch changes to different gcc 
versions with multiple builds and install?

What are good books to read about version control useful for
work on gcc branches.