Hello Jim, On 07/06/2018 01:45 AM, Jim Wilson wrote:
These are some patches I needed to complete my cross build of a native riscv linux Ada compiler. Some paths were different on the build machine and host machine. I needed to pass options into gnatmake to work around this, and that required fixing some makefile rules to use $(GNATMAKE) instead of calling gnatmake directly.
At AdaCore, we realized that this patch broke our canadian builds: in the cases your patch involved, the intent is to call the build toolchain, not the host one (to which GNATMAKE expands to).
Given that you described this change as a workaround for cross-machine path issues, I was wondering: do you still need this? If not, we should probably revert it right now, otherwise we should investigate why you needed it in the first place. What do you think?
-- Pierre-Marie de Rodat