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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no 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!news2.google.com!news.glorb.com!wn14feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!53ab2750!not-for-mail Newsgroups: comp.lang.ada From: anon@anon.org (anon) Subject: Re: ada compiler? Reply-To: anon@anon.org (anon) References: <47394e4b$1@news.post.ch> X-Newsreader: IBM NewsReader/2 2.0 Message-ID: Date: Tue, 13 Nov 2007 08:47:12 GMT NNTP-Posting-Host: 12.65.78.24 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1194943632 12.65.78.24 (Tue, 13 Nov 2007 08:47:12 GMT) NNTP-Posting-Date: Tue, 13 Nov 2007 08:47:12 GMT Organization: AT&T Worldnet Xref: g2news1.google.com comp.lang.ada:18341 Date: 2007-11-13T08:47:12+00:00 List-Id: -- 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". But all vendors including Adacore uses a version of the three steps to build an Ada partition. 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. 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. 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' ". In <47394e4b$1@news.post.ch>, Martin Krischik writes: >anon schrieb: >> You are missing the point. You should not assume that they need command >> line option until they ask for help that require that type of answer. And if >> there is a Ada language answer then that is the answer that should be the >> given. Not a simple command line answer which is vendor and/or version >> specific. >> >> Plus, how many beginners first downloads a GNAT version that requires: >> >> gnatmake -gnato -fstack-check .adb >> >> to compile a simple program! >> >> Most beginners that are learning Ada just use: >> >> Note: (Linux version) >> >> gnat compile .adb >> gnat bind .ali >> gnat link .ali >> ./ > >No they should taught "gnat make" - which is lot simpler - separate >compile-bind-link cycles are not needed any more. Even in tricky cases >like stand alone libraries or cross compilation where it was needed 3 >years ago. Today the project manager does it all for you. There is no >reason left to learn how to do it the hard way. > >Also note the space - just "gnat" will give you a short on-line help. > >Martin > >-- >mailto://krischik@users.sourceforge.net >Ada programming at: http://ada.krischik.com