================================================
-*- mode: compilation; default-directory: "~/adacore/svd2ada/" -*-
Compilation started at Wed Jun 22 07:54:37

gnat find -a -r Common_Prefix:base_types.adb:603:13 -Psvd2ada.gpr
gnat: 'gnat find -P' is no longer supported;

Compilation exited abnormally with code 4 at Wed Jun 22 07:54:37
================================================

Hmpf.

GCC 6.1.0 is OK still.

This is, I think, a consequence of AdaCore's move away from supporting project 
files fully in FSF GCC. In a way, the fact that gprbuild is now maintained at 
github mitigates this, but it does make life difficult for those caught 
supporting multiple versions of the compiler.

You can see the way things are going by issuing 'gnat list' in GNAT GPL 2016: 
it actually calls gprls. gprls produces different output from gnat list: if 
with FSF GCC 6.1.0 I say

$ arm-eabi-gnat list -v -P testbed.gpr 
--RTS=/Users/simon/cortex-gnat-rts/arduino-due

(the --RTS is needed even though the gpr states it) I get

Source Search Path:
   <Current_Directory>
   /Users/simon/cortex-gnat-rts/arduino-due/adainclude
   /Users/simon/cortex-gnat-rts/arduino-due/atsam3x8e
   /Users/simon/cortex-gnat-rts/common
   /Users/simon/cortex-gnat-rts/test-arduino-due
   /Users/simon/cortex-gnat-rts/test-common

whereas if I say

gprls -P testbed.gpr

I just get

Source Search Path:
   /Users/simon/cortex-gnat-rts/test-arduino-due/
   /Users/simon/cortex-gnat-rts/test-common/



_______________________________________________
Emacs-ada-mode mailing list
[email protected]
http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org

Reply via email to