Hello!
It seems, that I can make really good progress here.
Now the only things that remain:
The libtool .la files record the installation directory, these are textfile wrappers anyways, so I don't know if we should care about this.
The mkheaders shell srcipt in install-tools record the installation directory, this is in source form by the way, so I don't know if we should care about this.
I this two cases the transformation to get the other set of files is simply to replace the prefix, so we could make a test on that if we want.
The only remainig problem is that the symbol executable_checksum in cc1 and cc1plus still differ. No other differences remained.
I'm now investigating the checksum issue.