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!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!164.128.36.58!news.ip-plus.net!newsfeed.ip-plus.net!news.post.ch!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: ada compiler? Date: Tue, 13 Nov 2007 08:11:36 +0100 Organization: Swisscom IP+ (post doesn't reflect views of Swisscom) Message-ID: <47394e4b$1@news.post.ch> References: NNTP-Posting-Host: 194.41.146.1 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: atlas.ip-plus.net 1194937935 22399 194.41.146.1 (13 Nov 2007 07:12:15 GMT) X-Complaints-To: abuse@ip-plus.net NNTP-Posting-Date: Tue, 13 Nov 2007 07:12:15 +0000 (UTC) User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) In-Reply-To: X-Original-NNTP-Posting-Host: w03duo.pnet.ch X-Original-Trace: 13 Nov 2007 08:12:11 +0200, w03duo.pnet.ch Xref: g2news1.google.com comp.lang.ada:18340 Date: 2007-11-13T08:11:36+01:00 List-Id: 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