comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: ada compiler?
Date: Fri, 16 Nov 2007 20:07:58 -0600
Date: 2007-11-16T20:07:58-06:00	[thread overview]
Message-ID: <fhli74$5p1$1@jacob-sparre.dk> (raw)
In-Reply-To: kwd_i.94821$kj1.82854@bgtnsc04-news.ops.worldnet.att.net

"anon" <anon@anon.org> 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.







  parent reply	other threads:[~2007-11-17  2:07 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-09 22:25 ada compiler? Bill Cunningham
2007-11-09 22:39 ` anon
2007-11-09 22:59   ` Bill Cunningham
2007-11-09 23:28     ` anon
2007-11-09 23:50 ` Jeffrey R. Carter
2007-11-10  0:32   ` anon
2007-11-10  4:15     ` Jeffrey Creem
2007-11-10  5:08     ` tmoran
2007-11-10  6:12       ` anon
2007-11-10  8:35         ` tmoran
2007-11-10 20:20           ` anon
2007-11-10 22:15             ` Jeffrey Creem
2007-11-11  1:01               ` anon
2007-11-11  1:14                 ` (see below)
2007-11-11  2:21                 ` Georg Bauhaus
2007-11-11  4:08                   ` Jeffrey R. Carter
2007-11-13 13:24                     ` Ludovic Brenta
2007-11-14  7:00                       ` Jacob Sparre Andersen
2007-11-14  9:15                         ` Georg Bauhaus
2007-11-14 10:26                           ` Ludovic Brenta
2007-11-14 12:25                             ` Georg Bauhaus
2007-11-14 15:09                               ` Ludovic Brenta
2007-11-14 16:03                                 ` Georg Bauhaus
2007-11-14 16:36                                   ` Ludovic Brenta
2007-11-14 17:39                                     ` Georg Bauhaus
2007-11-14 20:40                                       ` Ludovic Brenta
2007-11-15  9:59                                         ` Georg Bauhaus
2007-11-14 17:52                                     ` Georg Bauhaus
2007-11-16  1:07                                     ` Samuel Tardieu
2007-11-16  1:58                                       ` tmoran
2007-11-16  9:41                                       ` Stack checking in GNAT (was: ada compiler?) Ludovic Brenta
2007-11-16 10:56                                         ` Stack checking in GNAT Samuel Tardieu
2007-11-16 13:04                                           ` Ludovic Brenta
2007-11-17  7:24                                             ` anon
2007-11-29  0:32                                         ` Robert A Duff
2007-11-17  1:37                                       ` ada compiler? Randy Brukardt
2007-11-17  1:18                                     ` Randy Brukardt
2007-11-29  0:41                                     ` Robert A Duff
2007-11-14 21:31                                 ` Niklas Holsti
2007-11-17  1:50                                   ` Randy Brukardt
2007-11-14 18:33                         ` anon
2007-11-12  5:13                   ` anon
2007-11-11 14:15                 ` Jeffrey Creem
2007-11-13  7:11                 ` Martin Krischik
2007-11-13  8:47                   ` anon
2007-11-13  9:34                     ` to gnat make or not to gnat make (Was: ada compiler?) Martin Krischik
2007-11-13 22:46                       ` anon
2007-11-13 23:14                         ` to gnat make or not to gnat make Simon Wright
2007-11-14  9:21                         ` to gnat make or not to gnat make (Was: ada compiler?) Georg Bauhaus
2007-11-13 22:41                     ` ada compiler? Simon Wright
2007-11-17  2:07                     ` Randy Brukardt [this message]
2007-11-17  7:51                       ` anon
2007-11-17  9:00                         ` Pascal Obry
2007-11-17 12:24                         ` Ludovic Brenta
2007-11-19 21:35                           ` Randy Brukardt
2007-11-10 15:03         ` (see below)
2007-11-12 16:38       ` Adam Beneschan
2007-11-13  3:16         ` John W. Kennedy
2007-11-13 16:46           ` Adam Beneschan
2007-11-10  3:07 ` Georg Bauhaus
2007-11-13  0:20 ` adaworks
2007-11-13 22:27   ` Simon Wright
2007-11-14 17:32   ` Britt Snodgrass
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox