GCC multi-version development layout

Basile STARYNKEVITCH basile@starynkevitch.net
Sun Apr 19 16:42:50 GMT 2026


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?
> 
> What are good books to read about version control useful for
> work on gcc branches.


I would suggest reading some good books on git

I actually recommend having several source trees and build trees. and
proposing your patches (by email to
https://gcc.gnu.org/mailman/listinfo/gcc-patches ...) at least daily.
Small incremental patches have better chances to be read and reviewed.

Thanks
-- 

Basile STARYNKEVITCH                           
<basile@starynkevitch.net>
8 rue de la Faïencerie                      
http://starynkevitch.net/Basile/  
92340 Bourg-la-Reine                        
https://github.com/bstarynk
France                               
https://github.com/RefPerSys/RefPerSys
                  https://orcid.org/0000-0003-0908-5250


More information about the Gcc-help mailing list