The ultimate goal is comparing 2 binaries built from exact same source in exact same environment and being able to tell that they indeed are functionally equivalent.
<
Is there a way to either force compiler to use relative paths, or to fool it into thinking the path is not what it is?
You have two ways to do this:
In either case, you're going to map and reuse the same drive letter for a folder before you start a particular build, so that the path appears identical to the compiler.