comp.lang.ada
 help / color / mirror / Atom feed
From: "Dan'l Miller" <optikos@verizon.net>
Subject: Re: disruptors of & inventory of Ada compilers and latest their era of ISO8652 compliance
Date: Sat, 19 May 2018 08:04:00 -0700 (PDT)
Date: 2018-05-19T08:04:00-07:00	[thread overview]
Message-ID: <ea2bfe32-b338-410b-b7f2-5653757e2294@googlegroups.com> (raw)
In-Reply-To: <pdp7ca$4ho$1@dont-email.me>

On Saturday, May 19, 2018 at 8:04:12 AM UTC-5, Brian Drummond wrote:
> On Fri, 18 May 2018 18:48:03 -0700, Dan'l Miller wrote:
> 
> 
> > 
> > I need to investigate those def files.  Specifically I'll need to learn:
> >  where is the script/code that reads def files and generates C code or C
> > macros to manipulate the C IR tree?  Perhaps running these def scripts
> > is a major portion of what you refer to as “GCC is a bitch to build” on
> > your GCC build script GitHub README.md.
> 
> I think you'll be reading a lot of AWK if you try.
> 
> One aspect of building gcc being such a bitch is that translation process 
> building a lot of *source* code (not only from the def files, but also 
> from other hooks in the sources that build a garbage collector) in the 
> *build* tree, which must therefore be kept completely separate from the 
> source tree (and makes "clean" and even "distclean" make targets flaky).
> 
> This comes back and bites you (well me, anyway) when debugging, when I 
> try unsuccessfully to trace a source code file/lineno reference, only to 
> find it's nonexistent ... in the source tree and I have to look elsewhere 
> for it.
> 
> It would be nice to have a clean separation of sources, generated 
> sources, and object files, but...
> 
> -- Brian

Luke & Simon & anyone else, do you concur?  Is this your experience?

If so, then I think we have arrived at the A#1 internal-technical reason why Apple et al pulled out of GCC to go author Clang (and why Flang community also is fleeing GCC).  Licensing alone isn't what is driving Clang and Flang.

Actually, Brian, why doesn't an obvious demarcation exist where the generated C/C++-language sources are versus separate where the nongenerated C/C++-language sources are.  (It is customary in most development communities to put the generated sources in some sort of different directory than src & include, which are reserved for the non-generated sources, plus often with some different file extension, e.g., .g.h and .g.c (i.e., g for generated) or something like that.  I am going to have really delve into this to see the mess in the vicinity of the C IR tree (especially within GIGI) with my own eyes.  Clean room (without referring to this mess) is always an option.

  reply	other threads:[~2018-05-19 15:04 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-09 15:30 disruptors of & inventory of Ada compilers and latest their era of ISO8652 compliance Dan'l Miller
2018-05-09 16:41 ` Lucretia
2018-05-09 17:26   ` Dan'l Miller
2018-05-09 17:34     ` Lucretia
2018-05-09 18:29       ` Dan'l Miller
2018-05-17 14:41       ` Dan'l Miller
2018-05-17 15:56         ` Luke A. Guest
2018-05-17 16:49           ` Dan'l Miller
2018-05-17 17:19             ` Luke A. Guest
2018-05-17 18:43               ` Dan'l Miller
2018-05-17 20:09               ` Dan'l Miller
2018-05-17 20:23               ` Dan'l Miller
2018-05-18  0:56                 ` Dan'l Miller
2018-05-18 10:47                   ` Lucretia
2018-05-18 11:33                     ` Dan'l Miller
2018-05-18 11:48                       ` Lucretia
2018-05-19  1:48                         ` Dan'l Miller
2018-05-19 13:04                           ` Brian Drummond
2018-05-19 15:04                             ` Dan'l Miller [this message]
2018-05-20 13:00                               ` Brian Drummond
2018-05-20 14:12                                 ` Simon Wright
2018-05-21 11:43                                   ` Brian Drummond
2018-05-20 17:24                                 ` Lucretia
2018-05-19 16:01                             ` Simon Wright
2018-05-20  3:02                             ` Shark8
2018-05-19  3:14                         ` Dan'l Miller
2018-05-17 18:42           ` Niklas Holsti
2018-05-18 14:06             ` R R
2018-05-18 14:33               ` Dan'l Miller
2018-05-09 17:36 ` Simon Clubley
2018-05-09 18:25 ` Dan'l Miller
2018-05-09 19:19 ` Niklas Holsti
2018-05-09 21:38 ` Randy Brukardt
2018-05-10  8:00   ` Micronian Coder
2018-05-10  8:49   ` Janus Ada 12 (was Re: disruptors of ...) Jeffrey R. Carter
2018-05-10 20:24     ` Paul Rubin
2018-06-26 20:36   ` disruptors of & inventory of Ada compilers and latest their era of ISO8652 compliance invalid
2018-06-29 22:18     ` Randy Brukardt
2018-07-01  8:44       ` invalid
2018-07-03 22:07         ` Randy Brukardt
2018-07-08 15:46           ` invalid
2018-05-10  7:49 ` Micronian Coder
2018-05-14 13:10 ` Jacob Sparre Andersen
2018-05-14 22:56   ` Randy Brukardt
2018-05-15 15:29   ` Dan'l Miller
2018-05-18 13:02     ` Simon Wright
2018-05-14 18:52 ` gautier_niouzes
2018-05-14 19:37   ` Dmitry A. Kazakov
2018-05-16 19:37     ` gautier_niouzes
replies disabled

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