On 05/12/2015 03:42 PM, Richard Biener wrote: > > I promised to send out my pat^Whack. Before building I introduce > gcc/FULL-VER as copy of gcc/BASE-VER and adjust gcc/BASE-VER to > just the major number. Then I only need the following small > patch (where I don't speak enough tcl for fixing libjava.exp "properly"). >
for reference, I'm using something similar for the distro packaging, http://anonscm.debian.org/viewvc/gcccvs/branches/sid/gcc-5/debian/patches/gcc-base-version.diff?view=markup addressing additional things like - c++ incdir - differentiating between the full version and the base version (you probably want to print out the full version for -v) > Without the FULL-VER trick the patch would be much larger (BASE-VER > is referenced a lot). For a "real" patch (including configury) we > probably want to generate a BASE-VER in the toplevel (or have > a @BASE-VER@ substitute). that would be nice, but then maybe introduce another macro GCCSUBDIR for gcc/<alias>/<version>. Matthias