On 20 October 2016 at 16:13, Bernhard Schommer wrote: > Hi, > > for local version of different gcc version (c/c++ - only) we want to > minimize the size of the sources in our local git. What can be removed > without problems?
What kind of problems? Do you care about optional things like the sanitizers? OpenMP? Transactional memory? If you want the absolute minimum I think you can remove all the lib*/ sub-dirs except libcpp, libgcc and libstdc++. I imagine you could remove gcc/ada, gcc/fortran, gcc/go, gcc/objc, gcc/jit, gcc/objc, gcc/objcp If you only care about some targets you could remove various config/* sub-dirs. If you don't care about testing maybe you could remove the testsuites files.