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,c15063243269efcd X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Newsgroups: comp.lang.ada Subject: Re: Meet the new GPS...same as the old GPS... References: <1151320748.360707.79490@u72g2000cwu.googlegroups.com> <4gag1vF1lgt2gU1@individual.net> <1151343516.598780.72970@m73g2000cwd.googlegroups.com> <6zodwfokko.fsf@hod.lan.m-e-leypold.de> <1151438075.641788.269960@m73g2000cwd.googlegroups.com> From: M E Leypold Date: 28 Jun 2006 01:23:06 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Some cool user agent (SCUG) NNTP-Posting-Host: 88.72.243.222 X-Trace: news.arcor-ip.de 1151450212 88.72.243.222 (28 Jun 2006 01:16:52 +0200) X-Complaints-To: abuse@arcor-ip.de Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!newsfeed.kamp.net!newsfeed.kamp.net!news.unit0.net!newsfeed.arcor-ip.de!news.arcor-ip.de!not-for-mail Xref: g2news2.google.com comp.lang.ada:5150 Date: 2006-06-28T01:23:06+02:00 List-Id: randomm@mindless.com writes: > X-Archive-No: Yes > > M E Leypold wrote: > > randomm@mindless.com writes: > > snip > > > Yes. Use Emacs and Gnatmake if you have pure Ada projects, > > additionally use (Gnu) make if you also need to generate Ada files > > from other descriptions. I'm also using Cygwin as a shell enviroment > > to build on windows (logging in with ssh remotely). > > > > I think that is a good way to go. If you need, I can post parts of > > Makefiles, build scripts, and project files, just ask specifically. > > Thanks very much, indeed. I'm just starting to try to learn Ada and > I'm cutting and pasting examples and trying my own small programs. I'm > having so much difficulty getting started with the toolset that I don't > really know what to ask about. I suppose aside from a basic > understanding of Ada I need to understand how an Ada project is put > together. I found some excellents texts on Ada and I intend to go > through them all but I haven't seen a discussion of how a project is > managed (since that's properly the province of the toolset > documentation). Exactly. Its outside of the scope of the language definition. You might start by just using the shell to invoke the Editor on single source files (in GNAT a compilation unit corresponds to a file: procedure, package or package body). Then invoke gnatmake on the program main file (procedure), like this: gnatmake foo That will generate foo from foo.adb (which must contain Procedure Foo). Gnatmake will take care of all dependencies automatically, so there is no need to managing anything very much at that point. (Later: Use a version control system, perhaps, but only in projects not pure Ada, use make as a wrapper around gnatmake. I'll send you my makefile(s) when need arises). > Unfortunately it doesn't seem to be the case with Ada which seems > understandable given its niche but a shame nevertheless. In my > short time examining it, Ada appears to have some extremely nice > features that are lacking in other HLLs. ACK. But ... (well, lets skip that :-)). If you want to discuss modern languages for possible commercial enterprise (I usually like to title that "languages for the third millenium"), write me privately. This is comp.lang.ada after all and therefore probably not the right place to discuss alternatives (interpret that as fallbacks). I hope I can get you in contact with other smart people (that doesn't include me, but I'll be here) which like to discuss these things and which are also advising me sometimes on these issues. Regards -- Markus