[Emacs-ada-mode] gnatgpr
Stephen Leake
stephen_leake at stephe-leake.org
Sun Oct 15 08:49:59 PDT 2006
Emmanuel Briot <briot at adacore.com> writes:
>> Hmm. Not with GNAT 5.04a on windows.
>>
>> Hmm. Maybe you meant 'gnatls -Pfile -v':
>
> Yes, that's what I meant, and mistyped... sorry for the confusion.
> Try
> gnat ls -Pfile -v
>
> (the space between gnat and ls is mandatory)
Ok, that works. It also outputs lots of other information that we
don't need, but I guess we can just ignore that. We won't be running
this very often.
I must point out that 'gnat' as a separate executable is not mentioned
in the gnat user guide. In particular, it is not mentioned in the
gnatls section, as a way to use project files with gnatls. Which is
why I never thought of using it this way. Should I submit a bug
report, or is this sufficient?
Also, apparently 'ls' is a synonym for 'list'; 'gnat -v' only mentions
'list'.
Ah! 'gnat stub' allows project files with 'gnatstub'; I've been
waiting for that!
--
-- Stephe
More information about the Emacs-ada-mode
mailing list