[Emacs-ada-mode] Emacs-ada-mode Digest, Vol 15, Issue 3

Joe Schafer joseph.schafer at usma.edu
Thu Sep 25 13:32:34 PDT 2008


>> This looks like an incomplete installation of GNAT; you should not
>> have to specify -x ada.

>> What GNAT package did you install?

I checked and it compiles with just 'gcc -c hello.adb'.
I'm using GNAT 4.3.1
 

>> I don't understand this answer. I asked what keystroke you used.

Misread that one, I thought you were asking what the output was from checking the file with emacs -Q
I used both C-c C-v and used the menu.


>> 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.

I think we have a winner. I had version 1.6 in /usr/share/emacs/site-lisp/. 
I replaced this with the website version and it works beautifully.

M-x ada-mode-version says 4.00
I gotta say Ada-mode 4.00 works a lot better than 1.6 :)

I did have one problem.  Everything compiles correctly but when I try to run the files I get 

/bin/bash: ./hello_4: No such file or directory
Process run exited abnormally with code 127

This was on example 4 from the ada mode info.

Thanks for the help

-Joe




More information about the Emacs-ada-mode mailing list