[Emacs-ada-mode] Emacs ada-mode gpr management

David Sauvage sauvage.david at gmail.com
Mon May 11 15:43:43 PDT 2009


Simon Wright wrote:
> On 11 May 2009, at 12:17, Stephen Leake wrote:
>> The problem was I was specifying the project file wrong; I used
>> "-Pgds_test.gpr" as gnat wants, but gnatgpr wants "-p gds_test.gpr".
>
> Modern GNATs are happy with -P gds_test.gpr, I think.
>
> Could gnatgpr be fixed to use the same flag as GNAT? (I mean, -P not -p)
here is the gnatgpr command usage [1],
may be the -p is confusing with -P,
but feel free to propose other options usage.

[1]
       gnatgpr -p <project file>
                  Display all included projects.
       gnatgpr -[n]s <project file>
                  Display all included sources.
                  Non-transitive analysis if n option is given.
       gnatgpr -[n]sd <project file>
                  Display all included source directories.
                  Non-transitive analysis if n option is given.
       gnatgpr -[n]sp <project file>
                  Display all included sources and there corresponding
projects
                  Non-transitive analysis if n option is given.
       gnatgpr -m <project file>
                  Display all main files.
       gnatgpr -[n]o <project file>
                  Display all included object paths
                  Non-transitive analysis if n option is given.
       gnatgpr -h
                  Display help
       gnatgpr -v
                  Display version




More information about the Emacs-ada-mode mailing list