[Emacs-ada-mode] emacs ada mode
Stephen Leake
Stephe.Leake at nasa.gov
Thu Sep 25 01:23:55 PDT 2008
Joe Schafer <joseph.schafer at usma.edu> writes:
>>> Second; run gcc from a bash shell (under Emacs or not), and mess with
>>> the file hello.adb until you do get an error.
>
> I managed to get errors using this command:
> gcc -x ada -c -gnatc hello.adb
This looks like an incomplete installation of GNAT; you should not
have to specify -x ada.
What GNAT package did you install?
>>> Finally; what menu item or keystroke did you invoke? 'Ada | check
>>> file' runs gnatmake, not gcc -x ada. Unless you've overridden that
>>> somewhere. Please run this with 'emacs -Q'.
>
> I get the same output with gcc.
I don't understand this answer. I asked what keystroke you used.
>>> What is on the Ada menu? It should be:
>
> I have:
> Help
> Options
> Customize
> Check File
> Compile File
> Build
> Run
> Debug
Then you clearly have an old Ada mode. What does 'M-x
ada-mode-version' display? It should be 4.00 for the version from the
website or Emacs CVS head, 3.7 for Emacs 22.
Check your Emacs load-path for old copies, or install the one from the
Ada mode website.
--
-- Stephe
More information about the Emacs-ada-mode
mailing list