Re: GCC multi-version development layout

Xi Ruoyao via Gcc-help <[email protected]> Mon, 20 Apr 2026 00:56:00 +0800
Newsgroups gmane.comp.gcc.help
Message-ID <[email protected]>
On Sun, 2026-04-19 at 16:33 +0000, Heime via Gcc-help wrote:
> ----------------------------------------------------------------
> 
> 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?

See https://git-scm.com/docs/git-worktree.

-- 
Xi Ruoyao <[email protected]>