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,6c7dea22b75ba442 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!feeder.erje.net!nuzba.szn.dk!news.jacob-sparre.dk!pnx.dk!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: ada compiler? Date: Fri, 16 Nov 2007 20:07:58 -0600 Organization: Jacob's private Usenet server Message-ID: References: <47394e4b$1@news.post.ch> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: jacob-sparre.dk 1195265061 5921 69.95.181.76 (17 Nov 2007 02:04:21 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Sat, 17 Nov 2007 02:04:21 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1914 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1914 Xref: g2news1.google.com comp.lang.ada:18453 Date: 2007-11-16T20:07:58-06:00 List-Id: "anon" wrote in message news:kwd_i.94821$kj1.82854@bgtnsc04-news.ops.worldnet.att.net... > -- You have to learn to crawl before you can walk and learn the rules > -- to walk before you should run. > > First, GNAT may be the only Ada 2005 compiler at the movement but that > may change if other posters arecorrect. Second, GNAT is not the only > compiler in use today, people are still using Ada 95 from other vendors. > Software vedors like GHS, IBM, and Janas have Ada compilers and not one > of them use "gnatmake". That's surely true. But the first thing we try to teach programmers (on page 3 of our installation instructions) is to use "make" or "jmake" to do compiles, rather than running the compiler phases individually. We've had a tool called "make" (or "jmake" on Unix-like systems, since "make" is already taken) since the mid-80s, and unlike most other programming languages, it is fully automated. The only time I use individual compile or link commands is when debugging the compiler. > But all vendors including Adacore uses a version > of the three steps to build an Ada partition. Sure, if you want to tear your hair out rather than letting the computer do the difficult work of calculating a legal compilation order. > And if you check with the Ada LRM you will see that the LM promotes a > concept of not wasting or hogging resources. Since "gnatmake" is a > resource hog the concept states that it should not be used. And as most > poster say the Ada LRM is the final word. Gee, I think I know something about the RM, and I don't recall any such statement about the compilation environment. Could you provide a referemce? Perhaps you are confusing a statement about the user's program as applying to the compilation environment? Or perhaps you are taking some non-normative text as having some important meaning?? > Plus, if Adacore is sold and gutted, goes out of business, or falls out of > favor with other companies. The newbees need to know the concept of > how an Ada partition is generated. It's different for every Ada compiler. There's little knowledge that can be carried over, so it simply doesn't matter. > Now just to be funny. Adacore would love to hear this but, the boss's blood > pressure might hit the roof. That is, if the programmer said, "I do not know > how to build a Ada program without using 'gnatmake' ". *I* barely remember how to build an Ada program using Janus/Ada commands other than "make", and I *designed* and *wrote* much of Janus/Ada!! Obviously, there is value to knowing alternative ways of doing things, but they should very rarely be needed. It's probably better to spend your learning things that you'll actually use in your job, but what do I know. ;-) Randy.