comp.lang.ada
 help / color / mirror / Atom feed
* Re: separate keyword and separate compilation with GNAT?
@ 1996-07-10  0:00 W. Wesley Groleau (Wes)
  1996-07-10  0:00 ` Robert Dewar
  1996-07-10  0:00 ` Robert A Duff
  0 siblings, 2 replies; 5+ messages in thread
From: W. Wesley Groleau (Wes) @ 1996-07-10  0:00 UTC (permalink / raw)



Someone complained about the incredible length of time it would take to
compile a "large" system with GNAT due to GNAT's method of also compiling
subunits.  A similar complaint could be made about the need to "re-compile"
EVERYTHING higher on the dependency tree.

HOWEVER: I know of TWO (independent) commercial compilers with "library"
systems which get corrupted any time you make the slightest change to the
dependency tree.  Add a 'with' or a 'separate' and you have to remove
the library and start over.  One of the compilers was used for a system
that had 14,000+ source files and took 16 hours to compile.  That particular
library structure also seemed to get corrupted if a resource problem
(not an Ada error) interrupted compilation of one unit.  Subsequent units
would raise complaints about other units (already with-ed many times).
Start over! (sigh).

The moral of the story is ... GNAT's not so bad!  GNAT's ADVANTAGE in the
above scenario is that it can compile in parallel as many files as you have
CPUs--both of the above compilers severely restricted multiple access to
libraries.

P.S. Some don't include spelling on their list of talents.  Let's do
them a favor and not propagate examples of incorrect spelling
(i.e., "seperate").  (But I'm NOT suggesting we flame the person whose
typo has been propagated.)
--
---------------------------------------------------------------------------
W. Wesley Groleau (Wes)                                Office: 219-429-4923
Magnavox - Mail Stop 10-40                               Home: 219-471-7206
Fort Wayne,  IN   46808              elm (Unix): wwgrol@pseserv3.fw.hac.com
---------------------------------------------------------------------------




^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: Separate keyword and separate compilation with GNAT?
@ 1996-07-11  0:00 Sundog Software
  0 siblings, 0 replies; 5+ messages in thread
From: Sundog Software @ 1996-07-11  0:00 UTC (permalink / raw)



John Herro said
>     Second, Janus/Ada 83 for DOS has a compiler/linker switch to tell the
>system that the whole program will fit into a .COM file, so it can
>generate shorter jumps"

Robert said :
>Perhaps you mean that specifying small model allowed shorter calls? if so
>that is clearly true, but not something that is relevant any more these
>days.

I think he was refering to the small vs medium memory models that
R.R. Software can generate for the relavent CPU's - 8086, 80186, 80286.
They are of course significantly cheaper than a 32bit chip for embedded
systems and have more low power/heat options than the 32bit part of
the family (and unlike RR's 32bit version there is NO ROYALTY needed for
a DOS extender).
Regretably the implementation of 16bit Tag's has delayed the release of an
Ada95 version of that compiler to complement the 32bit versions.

Isaac
Sundog.Software@Msn.FullFeed.Com




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1996-07-11  0:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-07-10  0:00 separate keyword and separate compilation with GNAT? W. Wesley Groleau (Wes)
1996-07-10  0:00 ` Robert Dewar
1996-07-10  0:00 ` Robert A Duff
1996-07-10  0:00   ` Robert Dewar
  -- strict thread matches above, loose matches on Subject: below --
1996-07-11  0:00 Separate " Sundog Software

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