Closed simonjwright closed 7 years ago
I think this may be because at GCC 4 the .ali files started e.g. V "GNAT Lib v4.7”
but from GCC 5 it’s been V "GNAT Lib v5"
.
We are aware of this issue and are currently discussing how to fix this properly. By means of a workaround, you can modify regexp at share/gprconfig/compilers.xml:745 like this:
`
`
Thanks; that worked for (my version of) gnat_util, but not for GNATCOLL; will investigate ...
(later) I had an old default.cgpr in the project’s root directory. All good now.
This should now work as expected for any known flavor and version of gnat toolchains.
Building, for example, GNATCOLL under GCC 6.1.0 x86_64-apple-darwin15 results in
because, as built,
$prefix/lib/gcc/x86_64-apple-darwin15/6.1.0/adalib
containsI think this is because the [TOOLCHAIN VERSION] section of the .lexch file contains
and gprlib.adb:1164 says
I must say I don't understand why in this case it's necessary to alter Libgnat, Libgnarl at all?
Do you think this is actually an FSF GCC issue?