[Emacs-ada-mode] Emacs ada-mode gpr management
David Sauvage
sauvage.david at gmail.com
Mon May 11 13:26:55 PDT 2009
> I forgot to mention; Emacs Ada mode also needs the lists of compiler
> runtime source and object directories.
>
>
Ok, concerning gnatgpr, maybe a specific option could ask to get
run-time information ..
> Although I was confused by "GNATGPR is based on GNAT GPL 2008". I
> guess that means "GNATGPR implements the gpr facility as defined by
> GNAT GPL 2008". Perhaps you could make that clearer.
>
>
Yes, in fact gnatgpr-0.25 is based on a modified GNAT GPL 2008 Ada front
end.
Thanks for your propositions, i'll had them ...
>
> Although in my experience (not very recent; I'm only using gnat these
> days), I like the gnat error messages _much_ better than other
> compilers, so I'd compile with gnat first, before attempting to
> compile with another compiler.
>
>
I still use over Ada compilers and i still prefer GNAT error messages ...
> I just compiled on Windows; it only needed 'make gnatgpr'. gnatmake is
> wonderful :).
> ...
>
Thanks for your feedback, it will try to add support to windows
platforms. ..
> All this has made me think more about how Emacs Ada mode uses 'gnat
> list', and I think I'm calling it more often than I need to. So this
> conversation will result in an increase in speed anyway :).
>
>
nice ;-)
>> I just published gnatgpr 0.25 that implement this service.
>>
>
> Ok, that's good, and it works on Debian.
>
> But given the above speed result, I don't think this is worth
> persuing. Unless you have some ideas for making this faster.
>
>
ok, thanks anyway
> I think most of the time is spent reading directories and/or files;
> 'gnat list' is significantly faster the second time it is run (as is
> gnatgpr), when the disk cache has all the right files in it. I'm
> guessing it's checking all the .ali files, which is a waste of time
> for this purpose.
i'll have a look to see if those checks could be easily unplugged,
i don't need them too...
--
David
More information about the Emacs-ada-mode
mailing list