home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.c      Meh, in C you gotta define EVERYTHING      243,242 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 241,667 of 243,242   
   Waldek Hebisch to bart   
   Re: New and improved version of cdecl   
   29 Oct 25 20:33:07   
   
   From: antispam@fricas.org   
      
   bart  wrote:   
   > On 26/10/2025 16:04, Scott Lurndal wrote:   
   >> bart  writes:   
   >>> On 26/10/2025 06:25, Janis Papanagnou wrote:   
   >>   
   >>>   
   >>> However the A68G configure script is 11000 lines; the CDECL one 31600   
   lines.   
   >>>   
   >>> (I wonder why the latter needs 20000 more lines? I guess nobody is   
   >>> curious - or they simply don't care.)   
   >>   
   >> You should be able to figure that out yourself.  You may actually   
   >> learn something useful along the way.   
   >   
   >   
   > So you don't know.   
   >   
   > What special requirements does CDECL have (which has a task that is at   
   > least a magnitude simpler than A68G's), that requires those 20,000 extra   
   > lines?   
      
   I did not look deeply, but cdecl is using automake and related   
   tools.  IIUC you can have small real source, and depend on   
   autools to provide tests.  This is likely to bring tons of   
   irrelevant tests into configure.  Or you can specify precisely   
   which tests are needed.  In the second case you need to   
   write more code, but generated configure is smaller.   
      
   My working hypotesis is that cdecl is relatively simple program,   
   so autotools defaults lead to working build.  And nobody was   
   motiveted enough to select what is needed, so configure   
   contains a lot of code which is useful sometimes, but probably   
   not for cdel.   
      
   BTW: In one "my" project there is hand-written configure.ac   
   which is select tests that are actually needed for the   
   project.  Automake in _not_ used.  Generated configure   
   has 8564 lines.  But the project has rather complex   
   requirements and autotools defaults are unlikely to   
   work, so one really have to explicitly handle various   
   details.   
      
   --   
                                 Waldek Hebisch   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca