From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f392830561704ca X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!208.49.83.146.MISMATCH!uns-out.usenetserver.com!news.usenetserver.com!pc02.usenetserver.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail Newsgroups: comp.lang.ada Subject: Re: starting gnat... References: <452354b0$1@news.post.ch> From: Stephen Leake Date: Wed, 04 Oct 2006 08:34:58 -0400 Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:zjnW2Pwpmmpfn5NjbdytEjllkh8= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: e8ec34523aa75759e00d420614 Xref: g2news2.google.com comp.lang.ada:6862 Date: 2006-10-04T08:34:58-04:00 List-Id: Martin Krischik writes: > Last I checked the emacs mode for Ada uses an obsolete form of project > files. They were never "obsolete"; just "different" :). > There are attempts to remedy this but I have not yet seen the > results. Please check http://stephe-leake.org/emacs/ada-mode/emacs-ada-mode.html > As beginner I suggest you try GPS instead (you can still use Emacs for > editing). For 32 bit Linux you get GPS 3.1.3 from Libre [1] for 64bit > SuSE Linux there is also GPS 4.0.0 version from the GNU Ada Project > [2] available. _If_ you like a mouse/menu intensive GUI IDE, then GPS is a reasonable choice. Eclipse is another reasonable choice. Emacs can do mouse/menu stuff, but it's not as good at it as GPS, especially on Windows (it is getting better). If you prefer a keyboard/command-line oriented IDE, that does LaTeX and VHDL as well as Ada, then Emacs is an excellent choice. The latest Emacs ada-mode is intended to be very easy to use for beginners; I welcome feedback on that issue. The manual includes a tutorial showing how to compile and run a simple hello-world program, and demonstrates the handling of compiler error messages. >> How can i compile ada-sources? > > Best you use "gnat make" (as one word or two words - both works almost > the same). Jeffrey posted some details. You might also want to read > [3]. Hmm. If you are recommending an IDE, you should say how that IDE invokes gnatmake. I don't remember how GPS does it; there is either a button to click or a menu entry to select. In Emacs, the keystroke is C-c C-c, corresponding to the Ada menu entry "Build". -- -- Stephe