Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Never trust an operating system you don't have sources for. ;-) -- Unknown source


devel / comp.lang.c / Build Systems

SubjectAuthor
* Build SystemsBart
+* Re: Build SystemsBen Bacarisse
|+* Re: Build SystemsBart
||`* Re: Build SystemsBen Bacarisse
|| `* Re: Build SystemsScott Lurndal
||  +* Re: Build SystemsKenny McCormack
||  |+* Re: Build SystemsMalcolm McLean
||  ||`* Dev on Windoze (Was: Build Systems)Kenny McCormack
||  || +- Re: Dev on Windoze (Was: Build Systems)Malcolm McLean
||  || +* Re: Dev on Windoze (Was: Build Systems)Matthew Ernisse
||  || |+- Re: Dev on Windoze (Was: Build Systems)Michael S
||  || |+* Re: Dev on Windoze (Was: Build Systems)bart c
||  || ||`- Re: Dev on Windoze (Was: Build Systems)Matthew Ernisse
||  || |`* Re: Dev on WindozePhil Carmody
||  || | `- Re: Dev on WindozeChris M. Thomasson
||  || `- Re: Dev on Windoze (Was: Build Systems)Chris M. Thomasson
||  |`* Re: Build SystemsKaz Kylheku
||  | `* Re: Build SystemsKenny McCormack
||  |  `- Re: Build SystemsKarl Meyer
||  `- Re: Build SystemsBart
|`* Re: Build SystemsDavid Brown
| `* Re: Build SystemsBart
|  +* Re: Build SystemsScott Lurndal
|  |`* Re: Build SystemsBart
|  | `* Re: Build SystemsDavid Brown
|  |  +* Re: Build SystemsBart
|  |  |`* Re: Build SystemsDavid Brown
|  |  | `* Re: Build SystemsBart
|  |  |  +- Re: Build SystemsScott Lurndal
|  |  |  +* Re: Build SystemsMJ OS_EXAMINE
|  |  |  |+- Re: Build SystemsKenny McCormack
|  |  |  |`- Re: Build SystemsBart
|  |  |  +* Re: Build SystemsDavid Brown
|  |  |  |+* Re: Build SystemsScott Lurndal
|  |  |  ||+- Re: Build SystemsKenny McCormack
|  |  |  ||+- Re: Build SystemsPhil Carmody
|  |  |  ||`- Re: Build SystemsDavid Brown
|  |  |  |`* Re: Build SystemsBart
|  |  |  | +- Re: Build SystemsKeith Thompson
|  |  |  | `* Re: Build SystemsDavid Brown
|  |  |  |  `* Re: Build SystemsBart
|  |  |  |   +* Re: Build SystemsKeith Thompson
|  |  |  |   |`* Re: Build SystemsBart
|  |  |  |   | +- Re: Build SystemsKaz Kylheku
|  |  |  |   | `* Re: Build SystemsDavid Brown
|  |  |  |   |  `* Re: Build SystemsBart
|  |  |  |   |   `* Re: Build SystemsDavid Brown
|  |  |  |   |    +- Re: Build SystemsBart
|  |  |  |   |    +* Re: Build SystemsBart
|  |  |  |   |    |+* Re: Build SystemsScott Lurndal
|  |  |  |   |    ||`- Re: Build SystemsBart
|  |  |  |   |    |+* Re: Build SystemsBen Bacarisse
|  |  |  |   |    ||`* Re: Build SystemsBart
|  |  |  |   |    || +* Re: Build SystemsRichard Harnden
|  |  |  |   |    || |`- Re: Build SystemsBart
|  |  |  |   |    || `* Re: Build SystemsBen Bacarisse
|  |  |  |   |    ||  `* Re: Build SystemsBart
|  |  |  |   |    ||   `* Re: Build SystemsBen Bacarisse
|  |  |  |   |    ||    `* Re: Build SystemsBart
|  |  |  |   |    ||     `- Re: Build SystemsBen Bacarisse
|  |  |  |   |    |`* Re: Build SystemsDavid Brown
|  |  |  |   |    | `* Re: Build SystemsBart
|  |  |  |   |    |  +* Re: Build SystemsKeith Thompson
|  |  |  |   |    |  |`* Re: Build Systemsbart c
|  |  |  |   |    |  | `* Re: Build SystemsKeith Thompson
|  |  |  |   |    |  |  `* Re: Build SystemsDavid Brown
|  |  |  |   |    |  |   `* Re: Build SystemsChris M. Thomasson
|  |  |  |   |    |  |    +- Re: Build SystemsChris M. Thomasson
|  |  |  |   |    |  |    +* Re: Build SystemsKeith Thompson
|  |  |  |   |    |  |    |`- Re: Build SystemsChris M. Thomasson
|  |  |  |   |    |  |    `* Re: Build SystemsDavid Brown
|  |  |  |   |    |  |     +- Re: Build SystemsChris M. Thomasson
|  |  |  |   |    |  |     `* Re: Build SystemsChris M. Thomasson
|  |  |  |   |    |  |      +* Re: Build Systemsjames...@alumni.caltech.edu
|  |  |  |   |    |  |      |+- Re: Build Systemscandycane
|  |  |  |   |    |  |      |`* Re: Build SystemsKaz Kylheku
|  |  |  |   |    |  |      | `* Re: Build SystemsDavid Brown
|  |  |  |   |    |  |      |  `- Re: Build SystemsChris M. Thomasson
|  |  |  |   |    |  |      `* Re: Build SystemsDavid Brown
|  |  |  |   |    |  |       `- Re: Build SystemsChris M. Thomasson
|  |  |  |   |    |  +* Re: Build SystemsKaz Kylheku
|  |  |  |   |    |  |`* Re: Build Systemsbart c
|  |  |  |   |    |  | `* Re: Build SystemsBen Bacarisse
|  |  |  |   |    |  |  +* Re: Build Systemsbart c
|  |  |  |   |    |  |  |+* Re: Build SystemsDavid Brown
|  |  |  |   |    |  |  ||`- Re: Build Systemsbart c
|  |  |  |   |    |  |  |+* Re: Build SystemsKelsey Bjarnason
|  |  |  |   |    |  |  ||`* Re: Build Systemsbart c
|  |  |  |   |    |  |  || `* Re: Build SystemsKelsey Bjarnason
|  |  |  |   |    |  |  ||  `* Re: Build Systemsbart c
|  |  |  |   |    |  |  ||   `* Re: Build SystemsKelsey Bjarnason
|  |  |  |   |    |  |  ||    `* Re: Build SystemsBart
|  |  |  |   |    |  |  ||     `* Re: Build SystemsKelsey Bjarnason
|  |  |  |   |    |  |  ||      +* Re: Build SystemsBart
|  |  |  |   |    |  |  ||      |+* Re: Build SystemsBart
|  |  |  |   |    |  |  ||      ||`* Re: Build SystemsRichard Harnden
|  |  |  |   |    |  |  ||      || `- Re: Build SystemsBart
|  |  |  |   |    |  |  ||      |`* Re: Build SystemsScott Lurndal
|  |  |  |   |    |  |  ||      | `* Re: Build SystemsBart
|  |  |  |   |    |  |  ||      |  +* Re: Build SystemsMalcolm McLean
|  |  |  |   |    |  |  ||      |  |`- Re: Build SystemsBart
|  |  |  |   |    |  |  ||      |  +- Re: Build SystemsScott Lurndal
|  |  |  |   |    |  |  ||      |  +* Re: Build SystemsScott Lurndal
|  |  |  |   |    |  |  ||      |  +- Re: Build SystemsChris M. Thomasson
|  |  |  |   |    |  |  ||      |  `- Re: Build SystemsChris M. Thomasson
|  |  |  |   |    |  |  ||      `- Re: Build SystemsKaz Kylheku
|  |  |  |   |    |  |  |`* Re: Build SystemsBen Bacarisse
|  |  |  |   |    |  |  `* Re: Build SystemsScott Lurndal
|  |  |  |   |    |  `* Re: Build SystemsDavid Brown
|  |  |  |   |    `* Re: Build SystemsBart
|  |  |  |   `* Re: Build SystemsDavid Brown
|  |  |  `* Re: Build SystemsKeith Thompson
|  |  `- Really? (Was: Build Systems)Kenny McCormack
|  `* Re: Build SystemsDavid Brown
+* Re: Build SystemsDavid Brown
+- Re: Build SystemsThiago Adams
`- Re: Build SystemsMichael S

Pages:12345678910111213
Re: Build Systems

<uc2jnr$2f62q$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=28062&group=comp.lang.c#28062

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: bc...@freeuk.com (Bart)
Newsgroups: comp.lang.c
Subject: Re: Build Systems
Date: Tue, 22 Aug 2023 16:20:27 +0100
Organization: A noiseless patient Spider
Lines: 150
Message-ID: <uc2jnr$2f62q$1@dont-email.me>
References: <uban99$1rnpb$1@dont-email.me>
<011f0102-1241-464c-b628-0350c0be29fbn@googlegroups.com>
<87cyzjx4ob.fsf@bsb.me.uk>
<66629235-f2e0-46e0-bcb1-bf3abe1e33cdn@googlegroups.com>
<87edjyvdba.fsf@bsb.me.uk>
<038f3d41-228f-4f22-9086-8596e9022057n@googlegroups.com>
<87edjxts00.fsf@bsb.me.uk> <ubtvb0$1hpq8$1@dont-email.me>
<87wmxps26h.fsf@bsb.me.uk> <ubub09$1jeo1$1@dont-email.me>
<87r0nxrvm1.fsf@bsb.me.uk> <ubvd3u$1roqh$1@dont-email.me>
<87zg2jrk7t.fsf@bsb.me.uk> <uc12e1$245uh$1@dont-email.me>
<zO3FM.455984$U3w1.106715@fx09.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 22 Aug 2023 15:20:27 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5b0acd9f0fe348721c3866dad8b35540";
logging-data="2594906"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19b4P9e+oEFyA0HABdIILzsMdR86KPKphw="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.14.0
Cancel-Lock: sha1:X9I656d49y5S4sfVvUGQR6gMmMg=
In-Reply-To: <zO3FM.455984$U3w1.106715@fx09.iad>
 by: Bart - Tue, 22 Aug 2023 15:20 UTC

On 22/08/2023 15:41, Scott Lurndal wrote:
> Bart <bc@freeuk.com> writes:
>> On 22/08/2023 01:31, Ben Bacarisse wrote:
>>
>>>> If there's anything extra, then that can be explained. This can be put into
>>>> a Readme or Install or Build text file.
>>>
>>> Sounds simple. What does this simple solution look like for a68g? I'll
>>> send it to the authors if you don't want to do that yourself.
>>>
>>
>> Have a look at the post I made 21-08-23 14:12 BST, and follow-on ones,
>> where I explore what happens when a build process provides such information.
>>
>> In that case, 1000s of lines of 'configure' scripts and numerous
>> makefiles could be reduced to a 6-line build script, even if the lines
>> are somewhat long.
>
> That may be true. It is likely wishful thinking on your part, however.

Well, it works for me. That's all I want.

> However, you seem to think that useful code can be developed
> just using the facilities defined by the C standard. Which is almost
> never the case.

Code /can/ be developed without requiring half of the utilities provided
by Linux. Those developers just don't know how.

Certainly, source code can be deployed without those facilties. Because
you have to ask, if a certain C application actually written in C, or is
it really written also in Bash, M4 and Make-syntax?

> As the C language predated windows by a decade or more, windows is
> the johnny-come-lately here, and your expectation that C software developers
> must accomodate windows systems is flawed.

What sort of accommodation?

I'm only asking that a C application uses a C compiler. The OS doesn't
come into it (that's a detail for the C implementation for the platform).

Or is C not really that portable?

The first time I ported a C program from Windows to Linux (an
18,000-line interpreter), it worked pretty much full time.

Presumably, porting an identical application from Linux to Windows would
be impossible without dragging half of Linux with it?

How come /I/ can do it and no one else can't? I've given an example of
the Pico C interpreter requiring a VS installation to compile on Windows
(but I could trivially compile it anyway, no thanks to the build
instructions).

>
>> (I'm not replying to your other points as you are not receptive to what
>> I am trying to do.
>
> Is anyone other than yourself obsessed with executable size,
> compile times or easy command line use?

Oh course they are, don't be silly:

* Massive development has gone into optimisation passes of gcc to get
the best performance and/or minimum size of applications. Applications
which obviously include compilers.

(Have gcc.exe/cc1.exe etc been compiled with optimisation enabled?
Obviously, but to what purpose, since you seem to think that no-one cares?)

* An extraordinary amount of effort has gone into makefiles to determine
inter-dependencies between files, in order to minimise unnecessary
compilation. Why would anyone do that unless compilation was an overhead
to be avoided as much as possible.

* And apparently a lot of work has gone into paralleling builds.

I guess that's done for no reason at all?

So yeah, these products are a LOT more obsessed with it than I am! My
own compilers don't even optimise.

>> You are just shrugging your shoulders at Windows. So
>> is nearly everyone. You are part of the problem.
>
> It's a problem to you. It doesn't appear to be a problem to
> others.

How do you know that? Something must have happened to libjpeg between
version 6 and 9 to result in that helpful addition to the INSTALL file.
An addition which enabled me to build the product.

Oh, I understand. It's not something that's ever happened to YOU
(probably because you don't use Windows), therefore it's not a problem
full stop.

>>
>> I think you were even cheeky enough to suggest that I because I don't
>> pay for this software, I can't complain if its build process is rubbish.
>
> It is a valid point. You can complain all you want (which you do),
> but nobody is required to listen.

And a pig's ear of a build system will remain so. Especially if no one
says anything.

>
>>
>> I bet if I was providing anything similar /as free software/, and
>> claimed it worked for platform X, then I would darn well make sure it
>> was as simple, foolproof and effortless as I could make it.)
>
> The point of configure was to provide that capability across a wide
> range of unix and unix-like systems.

Which Kaz says is now completely pointless. It is testing capabilities
of C systems which are now in widespread use!

And in any case it is something that ought to be done once and for all
per C implementation, ideally by the install process (or already done
and built-in), not each time you install any applications.

I notice that if you do ./configure again, it repeats the same tests.
(How does it know what C compiler you have in mind anyway?)

>
>> It also has #includes for dozens of libraries that I've never heard of,
>> are not included in the source bundle, and are not part of Windows.
>
> And why would you expect otherwise?
>
> You mentioned 'open' vs 'fopen' in another post - open(2) provides
> useful functionality that fopen(3) doesn't, including far better
> I/O performance. Why shouldn't an application that requires the
> functionality provided by open(2) use it?

What stops fopen() being implemented as a thin wrapper around open() on
systems where that exists?

I don't know what extra functionality you have in mind. But I suspect
the vast majority of uses of open() could be met by fopen().

I mean, on Windows nobody uses OpenFile (I probaby last saw it used in
Petzold's book); it's too much of a palaver. I've used C's fopen
(usually not /from/ C) since the mid-90s. I don't recall any limitations.

Re: Build Systems

<qz4FM.455989$U3w1.107005@fx09.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=28063&group=comp.lang.c#28063

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx09.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Build Systems
Newsgroups: comp.lang.c
References: <uban99$1rnpb$1@dont-email.me> <66629235-f2e0-46e0-bcb1-bf3abe1e33cdn@googlegroups.com> <87edjyvdba.fsf@bsb.me.uk> <038f3d41-228f-4f22-9086-8596e9022057n@googlegroups.com> <87edjxts00.fsf@bsb.me.uk> <ubtvb0$1hpq8$1@dont-email.me> <87wmxps26h.fsf@bsb.me.uk> <ubub09$1jeo1$1@dont-email.me> <87r0nxrvm1.fsf@bsb.me.uk> <ubvd3u$1roqh$1@dont-email.me> <87zg2jrk7t.fsf@bsb.me.uk> <uc12e1$245uh$1@dont-email.me> <zO3FM.455984$U3w1.106715@fx09.iad> <7f30719b-2469-449b-9ce3-fa2beffa180dn@googlegroups.com>
Lines: 11
Message-ID: <qz4FM.455989$U3w1.107005@fx09.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Tue, 22 Aug 2023 15:33:42 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Tue, 22 Aug 2023 15:33:42 GMT
X-Received-Bytes: 1507
 by: Scott Lurndal - Tue, 22 Aug 2023 15:33 UTC

Malcolm McLean <malcolm.arthur.mclean@gmail.com> writes:
>On Tuesday, 22 August 2023 at 15:41:51 UTC+1, Scott Lurndal wrote:
>>
>> As the C language predated windows by a decade or more, windows is
>> the johnny-come-lately here, and your expectation that C software developers
>> must accomodate windows systems is flawed.
>>
>You have to live in the real world. Windows is very widely used, and often you
>have to support it, because that's where your users are.

"Must" != "Can"

Re: Build Systems

<TF4FM.455990$U3w1.321738@fx09.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=28064&group=comp.lang.c#28064

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx09.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Build Systems
Newsgroups: comp.lang.c
References: <uban99$1rnpb$1@dont-email.me> <87cyzjx4ob.fsf@bsb.me.uk> <66629235-f2e0-46e0-bcb1-bf3abe1e33cdn@googlegroups.com> <87edjyvdba.fsf@bsb.me.uk> <038f3d41-228f-4f22-9086-8596e9022057n@googlegroups.com> <87edjxts00.fsf@bsb.me.uk> <ubtvb0$1hpq8$1@dont-email.me> <87wmxps26h.fsf@bsb.me.uk> <ubub09$1jeo1$1@dont-email.me> <87r0nxrvm1.fsf@bsb.me.uk> <ubvd3u$1roqh$1@dont-email.me> <87zg2jrk7t.fsf@bsb.me.uk> <uc12e1$245uh$1@dont-email.me> <zO3FM.455984$U3w1.106715@fx09.iad> <uc2jnr$2f62q$1@dont-email.me>
Lines: 22
Message-ID: <TF4FM.455990$U3w1.321738@fx09.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Tue, 22 Aug 2023 15:40:35 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Tue, 22 Aug 2023 15:40:35 GMT
X-Received-Bytes: 2080
 by: Scott Lurndal - Tue, 22 Aug 2023 15:40 UTC

Bart <bc@freeuk.com> writes:
>On 22/08/2023 15:41, Scott Lurndal wrote:

>> You mentioned 'open' vs 'fopen' in another post - open(2) provides
>> useful functionality that fopen(3) doesn't, including far better
>> I/O performance. Why shouldn't an application that requires the
>> functionality provided by open(2) use it?
>
>What stops fopen() being implemented as a thin wrapper around open() on
>systems where that exists?

https://pubs.opengroup.org/onlinepubs/9699919799/functions/open.html

Indeed, fopen() simply calls open() on posix systems. However, fopen()
only uses a very small subset of the capabilities supported by open(),
including the ability to use such functionality as 'mmap'.

But far worse is the performance impact of using stdio for I/O; the
data is buffered first in the kernel, then in libc, then finally
in the application - open bypasses the stdio buffering and on
linux systems support O_DIRECT to bypass _all_ buffering.

Re: Build Systems

<uc2m8s$2fj9e$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=28065&group=comp.lang.c#28065

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: bc...@freeuk.com (Bart)
Newsgroups: comp.lang.c
Subject: Re: Build Systems
Date: Tue, 22 Aug 2023 17:03:40 +0100
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <uc2m8s$2fj9e$1@dont-email.me>
References: <uban99$1rnpb$1@dont-email.me> <87cyzjx4ob.fsf@bsb.me.uk>
<66629235-f2e0-46e0-bcb1-bf3abe1e33cdn@googlegroups.com>
<87edjyvdba.fsf@bsb.me.uk>
<038f3d41-228f-4f22-9086-8596e9022057n@googlegroups.com>
<87edjxts00.fsf@bsb.me.uk> <ubtvb0$1hpq8$1@dont-email.me>
<87wmxps26h.fsf@bsb.me.uk> <ubub09$1jeo1$1@dont-email.me>
<87r0nxrvm1.fsf@bsb.me.uk> <ubvd3u$1roqh$1@dont-email.me>
<87zg2jrk7t.fsf@bsb.me.uk> <uc12e1$245uh$1@dont-email.me>
<zO3FM.455984$U3w1.106715@fx09.iad> <uc2jnr$2f62q$1@dont-email.me>
<TF4FM.455990$U3w1.321738@fx09.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 22 Aug 2023 16:03:40 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5b0acd9f0fe348721c3866dad8b35540";
logging-data="2608430"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19zQAvazqtqIGWbJlH6j9tJv4zOvnbGvws="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.14.0
Cancel-Lock: sha1:XiSzDR2RUcd6EAqNqn84s27cn4U=
In-Reply-To: <TF4FM.455990$U3w1.321738@fx09.iad>
 by: Bart - Tue, 22 Aug 2023 16:03 UTC

On 22/08/2023 16:40, Scott Lurndal wrote:
> Bart <bc@freeuk.com> writes:
>> On 22/08/2023 15:41, Scott Lurndal wrote:
>
>>> You mentioned 'open' vs 'fopen' in another post - open(2) provides
>>> useful functionality that fopen(3) doesn't, including far better
>>> I/O performance. Why shouldn't an application that requires the
>>> functionality provided by open(2) use it?
>>
>> What stops fopen() being implemented as a thin wrapper around open() on
>> systems where that exists?
>
> https://pubs.opengroup.org/onlinepubs/9699919799/functions/open.html
>
> Indeed, fopen() simply calls open() on posix systems. However, fopen()
> only uses a very small subset of the capabilities supported by open(),
> including the ability to use such functionality as 'mmap'.
>
> But far worse is the performance impact of using stdio for I/O; the
> data is buffered first in the kernel, then in libc, then finally
> in the application - open bypasses the stdio buffering and on
> linux systems support O_DIRECT to bypass _all_ buffering.
>

Presumably compilers like gcc and rustc use open(), that's why they're
so fast?

With my languages, reading and writing files is an insignificant
propertion of compile-time (like, 0-2%). With optimising compilers, it
would be nothing at all.

I still contend that Linux programmers use open() out of a combination
of laziness, ignorance and lack of interest in portability. Not for its
advanced capabilities.

Basically, most of the time you just want to read in a frigging 10KB
config file. But use open instead of fopen, and you rule out Windows for
no good reason.

Re: Build Systems

<uc2n6d$2fulv$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=28066&group=comp.lang.c#28066

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: bc...@freeuk.com (Bart)
Newsgroups: comp.lang.c
Subject: Re: Build Systems
Date: Tue, 22 Aug 2023 17:19:24 +0100
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <uc2n6d$2fulv$1@dont-email.me>
References: <uban99$1rnpb$1@dont-email.me> <87cyzjx4ob.fsf@bsb.me.uk>
<66629235-f2e0-46e0-bcb1-bf3abe1e33cdn@googlegroups.com>
<nv76rj-6r2.ln1@spanky.localhost.net>
<94380001-0115-4e3e-9274-168d3e3a9573n@googlegroups.com>
<drh7rj-1ci.ln1@spanky.localhost.net>
<4d9cd1b8-1323-46c8-947b-5b8481a5b2cdn@googlegroups.com>
<mqddrj-g83.ln1@spanky.localhost.net> <uc12vt$245uh$2@dont-email.me>
<mo3erj-n3c.ln1@spanky.localhost.net> <uc21oo$2caqg$1@dont-email.me>
<zX3FM.455985$U3w1.225957@fx09.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 22 Aug 2023 16:19:25 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5b0acd9f0fe348721c3866dad8b35540";
logging-data="2620095"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+DcMlP0eIWl7vO9gwcBv+M0e9dIFCsu3w="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.14.0
Cancel-Lock: sha1:vlNqjkr5yadxtfQwWSbl6WDUjCs=
In-Reply-To: <zX3FM.455985$U3w1.225957@fx09.iad>
 by: Bart - Tue, 22 Aug 2023 16:19 UTC

On 22/08/2023 15:51, Scott Lurndal wrote:
> Bart <bc@freeuk.com> writes:
>> On 22/08/2023 08:12, Kelsey Bjarnason wrote:
>
>> (Where are these giant programs anyway? I once did a survey of all the
>> EXEs and DLLS on my machine. I think 99% of all such files were under
>> 10MB, or some such figures.
>
> What makes your machine representative of the entire population of
> machines?

What makes yours representative?

The system32 folder on my Windows 11 machine is representative of the
vast population of the Windows machines.

But you're welcome to post your own observations.

You seem to be claiming that the majority of projects represented by a
makefile are for huge projects.

/I/ am claiming that most individual binaries you see in the wild are
comparatively small.

Re: Build Systems

<4f679261-dffa-4bd9-864b-3c19e0656907n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=28067&group=comp.lang.c#28067

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:620a:6401:b0:76d:8643:58b5 with SMTP id pz1-20020a05620a640100b0076d864358b5mr81859qkn.13.1692721860290;
Tue, 22 Aug 2023 09:31:00 -0700 (PDT)
X-Received: by 2002:a17:903:192:b0:1bc:7001:6e5c with SMTP id
z18-20020a170903019200b001bc70016e5cmr4731941plg.3.1692721859801; Tue, 22 Aug
2023 09:30:59 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Tue, 22 Aug 2023 09:30:59 -0700 (PDT)
In-Reply-To: <uc2n6d$2fulv$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2a00:23a8:400a:5601:1c5f:c8af:ef99:3315;
posting-account=Dz2zqgkAAADlK5MFu78bw3ab-BRFV4Qn
NNTP-Posting-Host: 2a00:23a8:400a:5601:1c5f:c8af:ef99:3315
References: <uban99$1rnpb$1@dont-email.me> <87cyzjx4ob.fsf@bsb.me.uk>
<66629235-f2e0-46e0-bcb1-bf3abe1e33cdn@googlegroups.com> <nv76rj-6r2.ln1@spanky.localhost.net>
<94380001-0115-4e3e-9274-168d3e3a9573n@googlegroups.com> <drh7rj-1ci.ln1@spanky.localhost.net>
<4d9cd1b8-1323-46c8-947b-5b8481a5b2cdn@googlegroups.com> <mqddrj-g83.ln1@spanky.localhost.net>
<uc12vt$245uh$2@dont-email.me> <mo3erj-n3c.ln1@spanky.localhost.net>
<uc21oo$2caqg$1@dont-email.me> <zX3FM.455985$U3w1.225957@fx09.iad> <uc2n6d$2fulv$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4f679261-dffa-4bd9-864b-3c19e0656907n@googlegroups.com>
Subject: Re: Build Systems
From: malcolm....@gmail.com (Malcolm McLean)
Injection-Date: Tue, 22 Aug 2023 16:31:00 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2818
 by: Malcolm McLean - Tue, 22 Aug 2023 16:30 UTC

On Tuesday, 22 August 2023 at 17:19:40 UTC+1, Bart wrote:
> On 22/08/2023 15:51, Scott Lurndal wrote:
> > Bart <b...@freeuk.com> writes:
> >> On 22/08/2023 08:12, Kelsey Bjarnason wrote:
> >
> >> (Where are these giant programs anyway? I once did a survey of all the
> >> EXEs and DLLS on my machine. I think 99% of all such files were under
> >> 10MB, or some such figures.
> >
> > What makes your machine representative of the entire population of
> > machines?
> What makes yours representative?
>
> The system32 folder on my Windows 11 machine is representative of the
> vast population of the Windows machines.
>
> But you're welcome to post your own observations.
>
> You seem to be claiming that the majority of projects represented by a
> makefile are for huge projects.
>
> /I/ am claiming that most individual binaries you see in the wild are
> comparatively small.
>
That's on a PC used mainly for routine personal computing.
Some programs are massive. But they do things like predict the weather or
run spacecraft. You wouldn't have one on your personal system.

Re: Build Systems

<pu5FM.570520$SuUf.361226@fx14.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=28068&group=comp.lang.c#28068

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx14.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Build Systems
Newsgroups: comp.lang.c
References: <uban99$1rnpb$1@dont-email.me> <66629235-f2e0-46e0-bcb1-bf3abe1e33cdn@googlegroups.com> <nv76rj-6r2.ln1@spanky.localhost.net> <94380001-0115-4e3e-9274-168d3e3a9573n@googlegroups.com> <drh7rj-1ci.ln1@spanky.localhost.net> <4d9cd1b8-1323-46c8-947b-5b8481a5b2cdn@googlegroups.com> <mqddrj-g83.ln1@spanky.localhost.net> <uc12vt$245uh$2@dont-email.me> <mo3erj-n3c.ln1@spanky.localhost.net> <uc21oo$2caqg$1@dont-email.me> <zX3FM.455985$U3w1.225957@fx09.iad> <uc2n6d$2fulv$1@dont-email.me>
Lines: 16
Message-ID: <pu5FM.570520$SuUf.361226@fx14.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Tue, 22 Aug 2023 16:36:37 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Tue, 22 Aug 2023 16:36:37 GMT
X-Received-Bytes: 1532
 by: Scott Lurndal - Tue, 22 Aug 2023 16:36 UTC

Bart <bc@freeuk.com> writes:
>On 22/08/2023 15:51, Scott Lurndal wrote:
>> Bart <bc@freeuk.com> writes:
>>> On 22/08/2023 08:12, Kelsey Bjarnason wrote:
>>
>>> (Where are these giant programs anyway? I once did a survey of all the
>>> EXEs and DLLS on my machine. I think 99% of all such files were under
>>> 10MB, or some such figures.
>>
>> What makes your machine representative of the entire population of
>> machines?
>
>What makes yours representative?

That is not a responsive answer. That's a deflection.

Re: Build Systems

<kH5FM.570521$SuUf.104680@fx14.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=28069&group=comp.lang.c#28069

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx14.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Build Systems
Newsgroups: comp.lang.c
References: <uban99$1rnpb$1@dont-email.me> <66629235-f2e0-46e0-bcb1-bf3abe1e33cdn@googlegroups.com> <nv76rj-6r2.ln1@spanky.localhost.net> <94380001-0115-4e3e-9274-168d3e3a9573n@googlegroups.com> <drh7rj-1ci.ln1@spanky.localhost.net> <4d9cd1b8-1323-46c8-947b-5b8481a5b2cdn@googlegroups.com> <mqddrj-g83.ln1@spanky.localhost.net> <uc12vt$245uh$2@dont-email.me> <mo3erj-n3c.ln1@spanky.localhost.net> <uc21oo$2caqg$1@dont-email.me> <zX3FM.455985$U3w1.225957@fx09.iad> <uc2n6d$2fulv$1@dont-email.me>
Lines: 63
Message-ID: <kH5FM.570521$SuUf.104680@fx14.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Tue, 22 Aug 2023 16:50:24 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Tue, 22 Aug 2023 16:50:24 GMT
X-Received-Bytes: 3356
 by: Scott Lurndal - Tue, 22 Aug 2023 16:50 UTC

Bart <bc@freeuk.com> writes:
>On 22/08/2023 15:51, Scott Lurndal wrote:
>> Bart <bc@freeuk.com> writes:
>>> On 22/08/2023 08:12, Kelsey Bjarnason wrote:
>>
>>> (Where are these giant programs anyway? I once did a survey of all the
>>> EXEs and DLLS on my machine. I think 99% of all such files were under
>>> 10MB, or some such figures.
>>
>> What makes your machine representative of the entire population of
>> machines?
>
>What makes yours representative?
>
>The system32 folder on my Windows 11 machine is representative of the
>vast population of the Windows machines.
>
>But you're welcome to post your own observations.
>
>You seem to be claiming that the majority of projects represented by a
>makefile are for huge projects.
>
>/I/ am claiming that most individual binaries you see in the wild are
>comparatively small.

Again with the obsession about the size of the binaries.

I'll point out that a 10mb text section implies a very substantial amount
source code, which generally is partitioned into many source files
(hundreds or even thousands). libQtGui.so has the largest text section.

$ (cd /lib64; size -t -- $(ls *.so))

text data bss dec hex filename
126707 5088 456 132251 2049b ld-2.18.so
145454 13376 80 158910 26cbe libADM_UIQT46.so

.... 37 lines elided

11091608 298416 13256 11403280 ae0010 libQtGui.so

.... 350 lines elided

3591750 254240 1664 3847654 3ab5e6 libxerces-c-3.1.so
33680 2272 80 36032 8cc0 libxfce4kbd-private-2.so
69130 3320 208 72658 11bd2 libxfce4ui-1.so
50838 1576 4360 56774 ddc6 libxfce4util.so
70679 2456 184 73319 11e67 libxfconf-0.so
491478 18480 1144 511102 7cc7e libxml.so
1429702 37380 5272 1472354 167762 libxml2.so
83241 1304 8 84553 14a49 libz.so
61096 1440 96 62632 f4a8 libzip.so
244450 37648 1008 283106 451e2 p11-kit-proxy.so
198282 41992 672 240946 3ad32 p11-kit-trust.so
36523 1332 2696 40551 9e67 preloadable_libintl.so

187795031 9387338 12548895 209731264 c803ec0 (TOTALS)

Of course, not all of the text section will be loaded into memory
for any of these libraries due to the not even modern innovation of
demand paging.

Re: Build Systems

<uc2p2h$2g8o8$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=28070&group=comp.lang.c#28070

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: bc...@freeuk.com (Bart)
Newsgroups: comp.lang.c
Subject: Re: Build Systems
Date: Tue, 22 Aug 2023 17:51:28 +0100
Organization: A noiseless patient Spider
Lines: 48
Message-ID: <uc2p2h$2g8o8$1@dont-email.me>
References: <uban99$1rnpb$1@dont-email.me> <87cyzjx4ob.fsf@bsb.me.uk>
<66629235-f2e0-46e0-bcb1-bf3abe1e33cdn@googlegroups.com>
<nv76rj-6r2.ln1@spanky.localhost.net>
<94380001-0115-4e3e-9274-168d3e3a9573n@googlegroups.com>
<drh7rj-1ci.ln1@spanky.localhost.net>
<4d9cd1b8-1323-46c8-947b-5b8481a5b2cdn@googlegroups.com>
<mqddrj-g83.ln1@spanky.localhost.net> <uc12vt$245uh$2@dont-email.me>
<mo3erj-n3c.ln1@spanky.localhost.net> <uc21oo$2caqg$1@dont-email.me>
<zX3FM.455985$U3w1.225957@fx09.iad> <uc2n6d$2fulv$1@dont-email.me>
<4f679261-dffa-4bd9-864b-3c19e0656907n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 22 Aug 2023 16:51:29 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5b0acd9f0fe348721c3866dad8b35540";
logging-data="2630408"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+B8kWUwJKi6rGGSbW3wdKaSDUqRIFDhlU="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.14.0
Cancel-Lock: sha1:EhoYaiYgDKpUpIrudIzKDGYEdEE=
In-Reply-To: <4f679261-dffa-4bd9-864b-3c19e0656907n@googlegroups.com>
 by: Bart - Tue, 22 Aug 2023 16:51 UTC

On 22/08/2023 17:30, Malcolm McLean wrote:
> On Tuesday, 22 August 2023 at 17:19:40 UTC+1, Bart wrote:
>> On 22/08/2023 15:51, Scott Lurndal wrote:
>>> Bart <b...@freeuk.com> writes:
>>>> On 22/08/2023 08:12, Kelsey Bjarnason wrote:
>>>
>>>> (Where are these giant programs anyway? I once did a survey of all the
>>>> EXEs and DLLS on my machine. I think 99% of all such files were under
>>>> 10MB, or some such figures.
>>>
>>> What makes your machine representative of the entire population of
>>> machines?
>> What makes yours representative?
>>
>> The system32 folder on my Windows 11 machine is representative of the
>> vast population of the Windows machines.
>>
>> But you're welcome to post your own observations.
>>
>> You seem to be claiming that the majority of projects represented by a
>> makefile are for huge projects.
>>
>> /I/ am claiming that most individual binaries you see in the wild are
>> comparatively small.
>>
> That's on a PC used mainly for routine personal computing.
> Some programs are massive. But they do things like predict the weather or
> run spacecraft. You wouldn't have one on your personal system.

I'm sure those exist. (Although I expect the ones running /on board/
spacecraft are not as massive as you suggest.)

But that is a reason why /some/ people need to have complex build systems.

It is not a reason why /I/ need to do deal with makefiles to deal with
comparatively small projects that I want to build. That libjpeg project
is only 700KB in total (it took bcc just over a second to build that).

Your 'BBX' project (ie. the RC) was 2MB, which also took bcc under 1.5
seconds to build. In both these cases, I was able to do so thanks to
having or deriving the necessary build information, that would underwise
be completely buried beneath piles of arcane syntax.

Or, in the case of 'configure'-driven projects, the info would only come
into existence (and in an even more impenetable form) once you've run
that script on a Linux machine, which is crazy.

Re: Build Systems

<20230822095636.172@kylheku.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=28071&group=comp.lang.c#28071

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 864-117-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c
Subject: Re: Build Systems
Date: Tue, 22 Aug 2023 17:04:07 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 108
Message-ID: <20230822095636.172@kylheku.com>
References: <uban99$1rnpb$1@dont-email.me> <ubfknf$2plvs$1@dont-email.me>
<ubfu4d$2r98d$1@dont-email.me> <ubg4jr$2se4o$1@dont-email.me>
<ubg7ku$2srfk$1@dont-email.me> <ubgdr5$2tro0$1@dont-email.me>
<ubgpip$2vk5e$1@dont-email.me> <ubgulr$3095n$1@dont-email.me>
<87pm3nlxuu.fsf@nosuchdomain.example.com> <ubh3s8$30v7t$1@dont-email.me>
<ubi5do$38ii5$1@dont-email.me> <ubib54$39aqa$1@dont-email.me>
<ubii7m$3acds$1@dont-email.me> <ubivp8$3cjsl$1@dont-email.me>
<ubl89c$3prfv$1@dont-email.me> <ubma81$3upnp$1@dont-email.me>
<20230817183700.915@kylheku.com>
<011f0102-1241-464c-b628-0350c0be29fbn@googlegroups.com>
<87cyzjx4ob.fsf@bsb.me.uk>
<66629235-f2e0-46e0-bcb1-bf3abe1e33cdn@googlegroups.com>
<nv76rj-6r2.ln1@spanky.localhost.net>
<94380001-0115-4e3e-9274-168d3e3a9573n@googlegroups.com>
<drh7rj-1ci.ln1@spanky.localhost.net>
<4d9cd1b8-1323-46c8-947b-5b8481a5b2cdn@googlegroups.com>
<mqddrj-g83.ln1@spanky.localhost.net> <uc12vt$245uh$2@dont-email.me>
<mo3erj-n3c.ln1@spanky.localhost.net>
Injection-Date: Tue, 22 Aug 2023 17:04:07 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ed308b67ba2915cb20041bf6eed7ddbf";
logging-data="2631847"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+OI5//Dp351WxEVuKjzajaEc+nVYF9qp0="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:BqC3l4d6w5MO/2BokX03GHJLwNM=
 by: Kaz Kylheku - Tue, 22 Aug 2023 17:04 UTC

On 2023-08-22, Kelsey Bjarnason <kbjarnason@gmail.com> wrote:
> On Tue, 22 Aug 2023 02:28:29 +0100, Bart wrote:
>
>> On 22/08/2023 01:58, Kelsey Bjarnason wrote:
>>> On Sat, 19 Aug 2023 13:44:28 -0700 (PDT), bart c wrote:
>>
>>>> Is easier than messing about with makefiles. But you seem to be under
>>>> the impression that using a makefile isn't running a script. I don't
>>>> get it.
>>>
>>> Call it a script if you like. The point remains, it does rather more
>>> than merely "gcc -oprog prog.c"; for one, it ensures (assuming proper
>>> rules are in place) both that modified dependencies get rebuilt, and
>>> that unmodified ones don't unless told to.
>>>
>>> So just as a trivial example, assume we have a dependency tree like so:
>>>
>>> types.h
>>> interface.h
>>> interface.c
>>> chess.h
>>> engine.c
>>>
>>> Now interface.h gets modified. Make would cause interface.c to be
>>> rebuilt and the final output (executable, presumably) to be rebuilt,
>>> but not engine.c.
>>
>>
>>
>>> How does your script manage this - rebuilding what is necessary to
>>> rebuild, but *only* what is necessary to rebuild?
>>
>> It wouldn't. At the point /I/ come across makefiles, I only want to
>> build the app from scratch. So everything will need compiling anyway. I
>> don't need all those complications.
>>
>> I've made this point half a dozen times.
>
> That's great if you only work on toy-sized apps.
>
> I've worked on apps where it took the combined effort of an entire network
> of machines half a day to do a complete rebuild, which is obviously not
> viable if you have multiple coders modifying multiple files and needing to
> keep changes up to date and in sync. But rebuilding just the few bits
> which have been modified, or have had their dependencies modified, becomes
> trivial with a proper makefile. You type "make", wait for the few modules
> to build, then carry on. Maybe a couple minutes. And you're not working
> to outdated objects, because of dependency checking.
>
>
> I'm sure you could do the same with a script, as well, but then you're
> just trading one "build language" for another, less well known, less well
> established one.

Not if it's a POSIX script. Make is based on recipes written in the
shell language, so they are both equally established.

Instead of a rule like:

compiler: lexer.o parser.o main.o
...

we could write a script like:

if older compiler lexer.o parser.o main.o; then
...
fi

Where older is something like:

older()
{
# let's use Bash locals
local target=$1 ; shift

while [ $# -gt 0 ] ; do
if [ "$target" -ot "$1" ]; then
return 0
fi
shift
fi

return 0
}

For large projects, the script would get long and it would take quite a
bit of time for it to all these checks. Make has to do the checks too,
but it's compiled. There have existed compilers for shell scripts which
could level some of the difference. Comeau used to sell one?

With suitably defined functions, we could condense the actual rules
quite a bit.

One advatnage over Make would be that our script could deal with
filenames that have spaces and funny characters.

Build recipes would naturally be single script fragments rather than
individual shell invocations.

Here documents could be used. There are problems using shell here
documents out of makefiles. I can't remember which but it's either
impossible or impractically contorted.

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

Re: Build Systems

<uc2puc$2gd95$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=28072&group=comp.lang.c#28072

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: bc...@freeuk.com (Bart)
Newsgroups: comp.lang.c
Subject: Re: Build Systems
Date: Tue, 22 Aug 2023 18:06:19 +0100
Organization: A noiseless patient Spider
Lines: 87
Message-ID: <uc2puc$2gd95$1@dont-email.me>
References: <uban99$1rnpb$1@dont-email.me>
<66629235-f2e0-46e0-bcb1-bf3abe1e33cdn@googlegroups.com>
<nv76rj-6r2.ln1@spanky.localhost.net>
<94380001-0115-4e3e-9274-168d3e3a9573n@googlegroups.com>
<drh7rj-1ci.ln1@spanky.localhost.net>
<4d9cd1b8-1323-46c8-947b-5b8481a5b2cdn@googlegroups.com>
<mqddrj-g83.ln1@spanky.localhost.net> <uc12vt$245uh$2@dont-email.me>
<mo3erj-n3c.ln1@spanky.localhost.net> <uc21oo$2caqg$1@dont-email.me>
<zX3FM.455985$U3w1.225957@fx09.iad> <uc2n6d$2fulv$1@dont-email.me>
<kH5FM.570521$SuUf.104680@fx14.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 22 Aug 2023 17:06:20 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5b0acd9f0fe348721c3866dad8b35540";
logging-data="2635045"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+QnCilNd5vrhw6q4ws/5sUliUwhYmmwyk="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.14.0
Cancel-Lock: sha1:VX44iHEFDy+a0OCdnSDYbp4sSKw=
In-Reply-To: <kH5FM.570521$SuUf.104680@fx14.iad>
 by: Bart - Tue, 22 Aug 2023 17:06 UTC

On 22/08/2023 17:50, Scott Lurndal wrote:
> Bart <bc@freeuk.com> writes:
>> On 22/08/2023 15:51, Scott Lurndal wrote:
>>> Bart <bc@freeuk.com> writes:
>>>> On 22/08/2023 08:12, Kelsey Bjarnason wrote:
>>>
>>>> (Where are these giant programs anyway? I once did a survey of all the
>>>> EXEs and DLLS on my machine. I think 99% of all such files were under
>>>> 10MB, or some such figures.
>>>
>>> What makes your machine representative of the entire population of
>>> machines?
>>
>> What makes yours representative?
>>
>> The system32 folder on my Windows 11 machine is representative of the
>> vast population of the Windows machines.
>>
>> But you're welcome to post your own observations.
>>
>> You seem to be claiming that the majority of projects represented by a
>> makefile are for huge projects.
>>
>> /I/ am claiming that most individual binaries you see in the wild are
>> comparatively small.
>
> Again with the obsession about the size of the binaries.

It's more your obsession since you and others are claiming that, because
/some/ projects are very large and greatly benefit from a makefile, that
/all/ projects should do so.

>
> I'll point out that a 10mb text section implies a very substantial amount
> source code,

As a rule of thumb, about 1Mloc for x64.

Note that my 10MB figure was the total image size, not the code section.

The largest EXE file in system32 folder is MRT.EXE, at 175MB. But 174MB
of that is .data; the code is only 0.3MB.

> which generally is partitioned into many source files
> (hundreds or even thousands). libQtGui.so has the largest text section.
>
>
> $ (cd /lib64; size -t -- $(ls *.so))
>
> text data bss dec hex filename
> 126707 5088 456 132251 2049b ld-2.18.so
> 145454 13376 80 158910 26cbe libADM_UIQT46.so
>
> ... 37 lines elided
>
> 11091608 298416 13256 11403280 ae0010 libQtGui.so
>
> ... 350 lines elided
>
> 3591750 254240 1664 3847654 3ab5e6 libxerces-c-3.1.so
> 33680 2272 80 36032 8cc0 libxfce4kbd-private-2.so
> 69130 3320 208 72658 11bd2 libxfce4ui-1.so
> 50838 1576 4360 56774 ddc6 libxfce4util.so
> 70679 2456 184 73319 11e67 libxfconf-0.so
> 491478 18480 1144 511102 7cc7e libxml.so
> 1429702 37380 5272 1472354 167762 libxml2.so
> 83241 1304 8 84553 14a49 libz.so
> 61096 1440 96 62632 f4a8 libzip.so
> 244450 37648 1008 283106 451e2 p11-kit-proxy.so
> 198282 41992 672 240946 3ad32 p11-kit-trust.so
> 36523 1332 2696 40551 9e67 preloadable_libintl.so
>
> 187795031 9387338 12548895 209731264 c803ec0 (TOTALS)

So, 402 .so files in all, with a /combined/ code size of 188MB. If you
take away those 4 largest sizes (16MB), that means the remaining 398 .so
files have an average code size of 0.43MB (or some 40Kloc according to
my rule).

Somewhat bigger than one of my compilers, which can general build in 0.1
seconds. But a lot of those you list are much smaller.

So your figures, for shared libraries at least, bear out mine.

Re: Build Systems

<uc324d$2hed1$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=28074&group=comp.lang.c#28074

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c
Subject: Re: Build Systems
Date: Tue, 22 Aug 2023 12:26:04 -0700
Organization: A noiseless patient Spider
Lines: 79
Message-ID: <uc324d$2hed1$2@dont-email.me>
References: <uban99$1rnpb$1@dont-email.me> <87ttt2isc8.fsf@bsb.me.uk>
<ubd8t6$2b62u$1@dont-email.me> <ubdbtc$2bl3l$1@dont-email.me>
<12sCM.59051$m8Ke.22097@fx08.iad> <ubdmk4$2dao7$1@dont-email.me>
<ubfeqj$2oop4$1@dont-email.me> <ubfknf$2plvs$1@dont-email.me>
<ubfu4d$2r98d$1@dont-email.me> <ubg4jr$2se4o$1@dont-email.me>
<ubg7ku$2srfk$1@dont-email.me> <ubgdr5$2tro0$1@dont-email.me>
<ubgpip$2vk5e$1@dont-email.me> <ubgulr$3095n$1@dont-email.me>
<87pm3nlxuu.fsf@nosuchdomain.example.com> <ubh3s8$30v7t$1@dont-email.me>
<ubi5do$38ii5$1@dont-email.me> <ubib54$39aqa$1@dont-email.me>
<ubii7m$3acds$1@dont-email.me> <ublh4b$3r6ta$1@dont-email.me>
<ubnru5$99au$1@dont-email.me>
<8368cf0e-ed7c-4301-8301-d6e61ea972c0n@googlegroups.com>
<ubo1mn$a5qj$1@dont-email.me>
<3befa002-b95b-492a-b652-92df19d838d2n@googlegroups.com>
<ubov2e$eaa2$2@dont-email.me>
<218c5dbe-3457-4fa5-a89d-d35314d3405an@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 22 Aug 2023 19:26:05 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="86eb0bc01bcce84c284172e27a8e1e14";
logging-data="2668961"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18xoOdEqnSoydKQMY+IZQ7aC9OmbgclfpA="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.14.0
Cancel-Lock: sha1:BFofwxudRjEJ1eV57S/qtXxispo=
In-Reply-To: <218c5dbe-3457-4fa5-a89d-d35314d3405an@googlegroups.com>
Content-Language: en-US
 by: Chris M. Thomasson - Tue, 22 Aug 2023 19:26 UTC

On 8/20/2023 4:02 AM, bart c wrote:
> On Saturday, 19 August 2023 at 00:32:39 UTC+1, Chris M. Thomasson wrote:
>> On 8/18/2023 8:58 AM, bart c wrote:
>>> On Friday, 18 August 2023 at 16:11:35 UTC+1, David Brown wrote:
>>>> On 18/08/2023 16:48, bart c wrote:
>>>>> On Friday, 18 August 2023 at 14:33:08 UTC+1, David Brown wrote:
>>>>>> On 17/08/2023 18:16, Bart wrote:
>>>>
>>>>>>> This is an analogy I have used before regarding LLVM, which is a backend
>>>>>>> for language implementations. It is quite large and complex.
>>>>>>>
>>>>>>> Once I needed a side-gate for my house. I made it myself, and ended up
>>>>>>> with a 6' high wooden gate, of just the right size.
>>>>>>>
>>>>>>> Now if I'd gone to the LLVM shop as a solution, the gate would have been
>>>>>>> 9 miles high - if I could ever figure it out.
>>>>>>>
>>>>>> As analogies go, that's a particularly silly one.
>>>>>
>>>>> LLVM in concept is simple: feed it some IL (or it calls it IR), and it turns it into a runnable binary. The actuality is very different.
>>>>>
>>>>> I created my own similar product in 2021, which was a 0.2MB binary. The downloads needs to get started with LLVM are some 2.3GB. That's how you get from 6 feet to 9 miles. But the biggest obstacle is the sheer complexity, with 100 /sets/ of documentation.
>>>>>
>>>> Doesn't the quantity of documentation in llvm give you a hint that
>>>> perhaps your product is /not/ similar?
>>>
>>> The point of using LLVM is similar to that of targetting C:
>>>
>>> * You don't want the bother of writing the backend of a compiler
>>>
>>> * You want portability by not generating different code for x64/arm, Linux/Windows etc
>>>
>>> * You want to take advantage of optimisation
>>>
>>> You don't however need that amount of documentation to use C; so C is far simpler.
>>>
>>> An IL would be a much simpler language than C.
>>>
>>> For the IL I use (based on a stack-based VM), a portable interpreter can be written in 0.1MB. A program to turn it into native code would be 0.2MB per target.
>>>
>>> The task is just not complex. Unless you want code that is optimised, but it might be a magnitude bigger task to get it good enough; it won't be several magnitudes bigger.
>>>
>>>
>> Fwiw, remember when you told me that my experimental C cipher code did
>> not compile in Tiny C. Then, we worked together and it did end up
>> compiling? Remember that thread?
>
> Sure. It's still one of my favourite C tests. It was just the right size for tests and demos of building a 3-module project.
>
> And it was also perfectly structured (because the .c and .h files are tidily matched in pairs) to try an experimental feature of my compiler:
>
> bcc -auto cipher
>
> instead of:
>
> bcc cipher hmac sha2
>
> But, even that is better than gcc's:
>
> gcc cipher.c hmac.c sha2.c -ocipher -O3
>
> That last option is not needed, but the main reason for using gcc in a routine build is to benefit from its optimiser.
>
> (Please no one mention the M-word again! I've had enough of prehistoric build methods and dinosaur compilers.)

Well, you helped me make it compile and work on several compilers by
telling me that it would not compile on some of them. Btw, have you ever
tried out Pelles C?

http://www.smorgasbordet.com/pellesc

Search their forums for my last name. I found some anomalies in their
compiler. :^)

You would say, something akin to 'it won't compiler here on this
compiler'. Then I downloaded the compiler, made my code compile on my
end. Then, you would try it and it would compile on your end wrt said
compiler. So, that is great! Thanks again, Bart. :^)

Re: Build Systems

<uc33cc$2hed1$3@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=28075&group=comp.lang.c#28075

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c
Subject: Re: Build Systems
Date: Tue, 22 Aug 2023 12:47:23 -0700
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <uc33cc$2hed1$3@dont-email.me>
References: <uban99$1rnpb$1@dont-email.me> <87cyzjx4ob.fsf@bsb.me.uk>
<66629235-f2e0-46e0-bcb1-bf3abe1e33cdn@googlegroups.com>
<nv76rj-6r2.ln1@spanky.localhost.net>
<94380001-0115-4e3e-9274-168d3e3a9573n@googlegroups.com>
<drh7rj-1ci.ln1@spanky.localhost.net>
<4d9cd1b8-1323-46c8-947b-5b8481a5b2cdn@googlegroups.com>
<mqddrj-g83.ln1@spanky.localhost.net> <uc12vt$245uh$2@dont-email.me>
<mo3erj-n3c.ln1@spanky.localhost.net> <uc21oo$2caqg$1@dont-email.me>
<zX3FM.455985$U3w1.225957@fx09.iad> <uc2n6d$2fulv$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 22 Aug 2023 19:47:24 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="86eb0bc01bcce84c284172e27a8e1e14";
logging-data="2668961"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19HL3hV8OAczFdzB3qFR7VPKegI+T7yX3w="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.14.0
Cancel-Lock: sha1:GTuhXVo7iuI/UhLiT1za3l3Qv30=
Content-Language: en-US
In-Reply-To: <uc2n6d$2fulv$1@dont-email.me>
 by: Chris M. Thomasson - Tue, 22 Aug 2023 19:47 UTC

On 8/22/2023 9:19 AM, Bart wrote:
> On 22/08/2023 15:51, Scott Lurndal wrote:
>> Bart <bc@freeuk.com> writes:
>>> On 22/08/2023 08:12, Kelsey Bjarnason wrote:
>>
>>> (Where are these giant programs anyway? I once did a survey of all the
>>> EXEs and DLLS on my machine. I think 99% of all such files were under
>>> 10MB, or some such figures.
>>
>> What makes your machine representative of the entire population of
>> machines?
>
> What makes yours representative?
>
> The system32 folder on my Windows 11 machine is representative of the
> vast population of the Windows machines.

Stay far away from the system32 folder, imvho.

Don't overwrite anything in there (yikes!), and try not to store
anything in there.

>
> But you're welcome to post your own observations.
>
> You seem to be claiming that the majority of projects represented by a
> makefile are for huge projects.
>
> /I/ am claiming that most individual binaries you see in the wild are
> comparatively small.
>
>

Re: Build Systems

<uc36rq$2if1b$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=28076&group=comp.lang.c#28076

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: kal...@kolttonen.fi (Kalevi Kolttonen)
Newsgroups: comp.lang.c
Subject: Re: Build Systems
Date: Tue, 22 Aug 2023 20:46:50 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 42
Sender: <untosten@0.0.0.0>
Message-ID: <uc36rq$2if1b$1@dont-email.me>
References: <uban99$1rnpb$1@dont-email.me> <nv76rj-6r2.ln1@spanky.localhost.net> <94380001-0115-4e3e-9274-168d3e3a9573n@googlegroups.com> <drh7rj-1ci.ln1@spanky.localhost.net> <4d9cd1b8-1323-46c8-947b-5b8481a5b2cdn@googlegroups.com> <mqddrj-g83.ln1@spanky.localhost.net> <uc12vt$245uh$2@dont-email.me> <mo3erj-n3c.ln1@spanky.localhost.net> <uc21oo$2caqg$1@dont-email.me> <zX3FM.455985$U3w1.225957@fx09.iad> <uc2n6d$2fulv$1@dont-email.me> <kH5FM.570521$SuUf.104680@fx14.iad> <uc2puc$2gd95$1@dont-email.me>
Injection-Date: Tue, 22 Aug 2023 20:46:50 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="346abd80bba000ba519f95e508955a05";
logging-data="2702379"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19OQ+mD2+63LISY9OSnEd1JyQODID9XSfY="
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.4.11-200.fc38.x86_64 (x86_64))
Cancel-Lock: sha1:kwl6ZOYlJYD+R0jYR02UWPkpYyo=
 by: Kalevi Kolttonen - Tue, 22 Aug 2023 20:46 UTC

Bart <bc@freeuk.com> wrote:
> It's more your obsession since you and others are
> claiming that, because /some/ projects are very
> large and greatly benefit from a makefile, that
> /all/ projects should do so.

It is a virtue in the UNIX world to be a minimalist and
favour efficiency. Or at least it used to be so, since
I know many programs that started out as a pretty small
that have become bloated. I guess it was Kernighan and
Ritchie who called this phenomenon "creeping featurism"?

I may remember wrong, though, but it was certainly
some UNIX gurus who said that.

Linus Torvalds has also said that his original idea was
that his Linux kernel would be "streamlined" a program.
He now freely admits it is bloated with a huge amount
of features, but I guess this is also true with BSDs,
Solaris, and so on.

Anyway, Makefiles reflect the minimalist UNIX attitude.
It expresses dependencies, so running "make" should
build only what it is necessary. Building everything
is frowned upon, since it is a waste of resources even
though small programs can now be compiled quickly with
modern hardware. And of course Makefiles were invented
back in the 1970s when most hardware was slow, so many
programs benefitted from their ability to control the
builds.

I am not a Makefile expert, but have used Linux/UNIX
long enough to be quite familiar with them. Hell, I have
even used GNU Autotools to generate "configure" scripts.

I have found it pretty easy to understand many Makefiles.
Of course they can be massive and complicated, but it
does not have to be so. I must confess that I even like
having Makefiles.

br,
KK

Re: Build Systems

<87lee2qz5v.fsf@bsb.me.uk>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=28077&group=comp.lang.c#28077

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ben.use...@bsb.me.uk (Ben Bacarisse)
Newsgroups: comp.lang.c
Subject: Re: Build Systems
Date: Wed, 23 Aug 2023 03:18:36 +0100
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <87lee2qz5v.fsf@bsb.me.uk>
References: <uban99$1rnpb$1@dont-email.me> <ubi5do$38ii5$1@dont-email.me>
<ubib54$39aqa$1@dont-email.me> <ubii7m$3acds$1@dont-email.me>
<ubivp8$3cjsl$1@dont-email.me> <ubl89c$3prfv$1@dont-email.me>
<ubma81$3upnp$1@dont-email.me> <20230817183700.915@kylheku.com>
<011f0102-1241-464c-b628-0350c0be29fbn@googlegroups.com>
<87cyzjx4ob.fsf@bsb.me.uk>
<66629235-f2e0-46e0-bcb1-bf3abe1e33cdn@googlegroups.com>
<87edjyvdba.fsf@bsb.me.uk>
<038f3d41-228f-4f22-9086-8596e9022057n@googlegroups.com>
<87edjxts00.fsf@bsb.me.uk> <ubtvb0$1hpq8$1@dont-email.me>
<87wmxps26h.fsf@bsb.me.uk> <ubub09$1jeo1$1@dont-email.me>
<87r0nxrvm1.fsf@bsb.me.uk> <ubvd3u$1roqh$1@dont-email.me>
<87zg2jrk7t.fsf@bsb.me.uk> <uc12e1$245uh$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="7fbce5ccc5941f82fc42db09ce86b67d";
logging-data="2907691"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+yUIS8whEsS+k89CTjIzjkvepmNDt8o6Y="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:VOm1M/Eggix/88ENBVkSOUgPmoA=
sha1:Lmcm3ujCKILEcd0OAba5YUiaRFI=
X-BSB-Auth: 1.dd613ae474ce9c8cd34c.20230823031836BST.87lee2qz5v.fsf@bsb.me.uk
 by: Ben Bacarisse - Wed, 23 Aug 2023 02:18 UTC

Bart <bc@freeuk.com> writes:

> On 22/08/2023 01:31, Ben Bacarisse wrote:
>
>>> If there's anything extra, then that can be explained. This can be put into
>>> a Readme or Install or Build text file.
>> Sounds simple. What does this simple solution look like for a68g? I'll
>> send it to the authors if you don't want to do that yourself.
>>
>
> Have a look at the post I made 21-08-23 14:12 BST, and follow-on ones,
> where I explore what happens when a build process provides such
> information.

I'll look if you provide the message ID. That's how Usenet posts are
cited.

> In that case, 1000s of lines of 'configure' scripts and numerous makefiles
> could be reduced to a 6-line build script, even if the lines are somewhat
> long.
>
> That is unusual, but note that this was version 9 of that project; that
> info was not present on version 6.

That's not an Algol 68G version number. You have switched horses yet
again.

> (I'm not replying to your other points as you are not receptive to what I
> am trying to do. You are just shrugging your shoulders at Windows. So is
> nearly everyone. You are part of the problem.

What should I do "at Windows". You seem to think I should care about
how easily Unix/Linux software builds on it. Why should I?

--
Ben.
. Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Ben Bacarisse <ben.usenet@bsb.me.uk>
Newsgroups: comp.lang.c
Subject: Re: Build Systems
Date: Wed, 23 Aug 2023 03:18:36 +0100
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <87lee2qz5v.fsf@bsb.me.uk>
References: <uban99$1rnpb$1@dont-email.me> <ubi5do$38ii5$1@dont-email.me>
<ubib54$39aqa$1@dont-email.me> <ubii7m$3acds$1@dont-email.me>
<ubivp8$3cjsl$1@dont-email.me> <ubl89c$3prfv$1@dont-email.me>
<ubma81$3upnp$1@dont-email.me> <20230817183700.915@kylheku.com>
<011f0102-1241-464c-b628-0350c0be29fbn@googlegroups.com>
<87cyzjx4ob.fsf@bsb.me.uk>
<66629235-f2e0-46e0-bcb1-bf3abe1e33cdn@googlegroups.com>
<87edjyvdba.fsf@bsb.me.uk>
<038f3d41-228f-4f22-9086-8596e9022057n@googlegroups.com>
<87edjxts00.fsf@bsb.me.uk> <ubtvb0$1hpq8$1@dont-email.me>
<87wmxps26h.fsf@bsb.me.uk> <ubub09$1jeo1$1@dont-email.me>
<87r0nxrvm1.fsf@bsb.me.uk> <ubvd3u$1roqh$1@dont-email.me>
<87zg2jrk7t.fsf@bsb.me.uk> <uc12e1$245uh$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="7fbce5ccc5941f82fc42db09ce86b67d";
logging-data="2907691"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+yUIS8whEsS+k89CTjIzjkvepmNDt8o6Y="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:VOm1M/Eggix/88ENBVkSOUgPmoA=
sha1:Lmcm3ujCKILEcd0OAba5YUiaRFI=
X-BSB-Auth: 1.dd613ae474ce9c8cd34c.20230823031836BST.87lee2qz5v.fsf@bsb.me.uk
Xref: rslight2 comp.lang.c:28077

Bart <bc@freeuk.com> writes:

> On 22/08/2023 01:31, Ben Bacarisse wrote:
>
>>> If there's anything extra, then that can be explained. This can be put into
>>> a Readme or Install or Build text file.
>> Sounds simple. What does this simple solution look like for a68g? I'll
>> send it to the authors if you don't want to do that yourself.
>>
>
> Have a look at the post I made 21-08-23 14:12 BST, and follow-on ones,
> where I explore what happens when a build process provides such
> information.

I'll look if you provide the message ID. That's how Usenet posts are
cited.

> In that case, 1000s of lines of 'configure' scripts and numerous makefiles
> could be reduced to a 6-line build script, even if the lines are somewhat
> long.
>
> That is unusual, but note that this was version 9 of that project; that
> info was not present on version 6.

That's not an Algol 68G version number. You have switched horses yet
again.

> (I'm not replying to your other points as you are not receptive to what I
> am trying to do. You are just shrugging your shoulders at Windows. So is
> nearly everyone. You are part of the problem.

What should I do "at Windows". You seem to think I should care about
how easily Unix/Linux software builds on it. Why should I?

--
Ben.
. Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Ben Bacarisse <ben.usenet@bsb.me.uk>
Newsgroups: comp.lang.c
Subject: Re: Build Systems
Date: Wed, 23 Aug 2023 03:18:36 +0100
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <87lee2qz5v.fsf@bsb.me.uk>
References: <uban99$1rnpb$1@dont-email.me> <ubi5do$38ii5$1@dont-email.me>
<ubib54$39aqa$1@dont-email.me> <ubii7m$3acds$1@dont-email.me>
<ubivp8$3cjsl$1@dont-email.me> <ubl89c$3prfv$1@dont-email.me>
<ubma81$3upnp$1@dont-email.me> <20230817183700.915@kylheku.com>
<011f0102-1241-464c-b628-0350c0be29fbn@googlegroups.com>
<87cyzjx4ob.fsf@bsb.me.uk>
<66629235-f2e0-46e0-bcb1-bf3abe1e33cdn@googlegroups.com>
<87edjyvdba.fsf@bsb.me.uk>
<038f3d41-228f-4f22-9086-8596e9022057n@googlegroups.com>
<87edjxts00.fsf@bsb.me.uk> <ubtvb0$1hpq8$1@dont-email.me>
<87wmxps26h.fsf@bsb.me.uk> <ubub09$1jeo1$1@dont-email.me>
<87r0nxrvm1.fsf@bsb.me.uk> <ubvd3u$1roqh$1@dont-email.me>
<87zg2jrk7t.fsf@bsb.me.uk> <uc12e1$245uh$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="7fbce5ccc5941f82fc42db09ce86b67d";
logging-data="2907691"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+yUIS8whEsS+k89CTjIzjkvepmNDt8o6Y="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:VOm1M/Eggix/88ENBVkSOUgPmoA=
sha1:Lmcm3ujCKILEcd0OAba5YUiaRFI=
X-BSB-Auth: 1.dd613ae474ce9c8cd34c.20230823031836BST.87lee2qz5v.fsf@bsb.me.uk
Xref: rslight2 comp.lang.c:28077

Bart <bc@freeuk.com> writes:

> On 22/08/2023 01:31, Ben Bacarisse wrote:
>
>>> If there's anything extra, then that can be explained. This can be put into
>>> a Readme or Install or Build text file.
>> Sounds simple. What does this simple solution look like for a68g? I'll
>> send it to the authors if you don't want to do that yourself.
>>
>
> Have a look at the post I made 21-08-23 14:12 BST, and follow-on ones,
> where I explore what happens when a build process provides such
> information.

I'll look if you provide the message ID. That's how Usenet posts are
cited.

> In that case, 1000s of lines of 'configure' scripts and numerous makefiles
> could be reduced to a 6-line build script, even if the lines are somewhat
> long.
>
> That is unusual, but note that this was version 9 of that project; that
> info was not present on version 6.

That's not an Algol 68G version number. You have switched horses yet
again.

> (I'm not replying to your other points as you are not receptive to what I
> am trying to do. You are just shrugging your shoulders at Windows. So is
> nearly everyone. You are part of the problem.

What should I do "at Windows". You seem to think I should care about
how easily Unix/Linux software builds on it. Why should I?

--
Ben.
. Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Ben Bacarisse <ben.usenet@bsb.me.uk>
Newsgroups: comp.lang.c
Subject: Re: Build Systems
Date: Wed, 23 Aug 2023 03:18:36 +0100
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <87lee2qz5v.fsf@bsb.me.uk>
References: <uban99$1rnpb$1@dont-email.me> <ubi5do$38ii5$1@dont-email.me>
<ubib54$39aqa$1@dont-email.me> <ubii7m$3acds$1@dont-email.me>
<ubivp8$3cjsl$1@dont-email.me> <ubl89c$3prfv$1@dont-email.me>
<ubma81$3upnp$1@dont-email.me> <20230817183700.915@kylheku.com>
<011f0102-1241-464c-b628-0350c0be29fbn@googlegroups.com>
<87cyzjx4ob.fsf@bsb.me.uk>
<66629235-f2e0-46e0-bcb1-bf3abe1e33cdn@googlegroups.com>
<87edjyvdba.fsf@bsb.me.uk>
<038f3d41-228f-4f22-9086-8596e9022057n@googlegroups.com>
<87edjxts00.fsf@bsb.me.uk> <ubtvb0$1hpq8$1@dont-email.me>
<87wmxps26h.fsf@bsb.me.uk> <ubub09$1jeo1$1@dont-email.me>
<87r0nxrvm1.fsf@bsb.me.uk> <ubvd3u$1roqh$1@dont-email.me>
<87zg2jrk7t.fsf@bsb.me.uk> <uc12e1$245uh$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="7fbce5ccc5941f82fc42db09ce86b67d";
logging-data="2907691"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+yUIS8whEsS+k89CTjIzjkvepmNDt8o6Y="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:VOm1M/Eggix/88ENBVkSOUgPmoA=
sha1:Lmcm3ujCKILEcd0OAba5YUiaRFI=
X-BSB-Auth: 1.dd613ae474ce9c8cd34c.20230823031836BST.87lee2qz5v.fsf@bsb.me.uk
Xref: rslight2 comp.lang.c:28077


Click here to read the complete article
Re: Build Systems

<uc3s6m$2ovkt$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=28078&group=comp.lang.c#28078

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c
Subject: Re: Build Systems
Date: Tue, 22 Aug 2023 19:51:01 -0700
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <uc3s6m$2ovkt$1@dont-email.me>
References: <uban99$1rnpb$1@dont-email.me> <ubi5do$38ii5$1@dont-email.me>
<ubib54$39aqa$1@dont-email.me> <ubii7m$3acds$1@dont-email.me>
<ubivp8$3cjsl$1@dont-email.me> <ubl89c$3prfv$1@dont-email.me>
<ubma81$3upnp$1@dont-email.me> <20230817183700.915@kylheku.com>
<011f0102-1241-464c-b628-0350c0be29fbn@googlegroups.com>
<87cyzjx4ob.fsf@bsb.me.uk>
<66629235-f2e0-46e0-bcb1-bf3abe1e33cdn@googlegroups.com>
<87edjyvdba.fsf@bsb.me.uk>
<038f3d41-228f-4f22-9086-8596e9022057n@googlegroups.com>
<87edjxts00.fsf@bsb.me.uk> <ubtvb0$1hpq8$1@dont-email.me>
<87wmxps26h.fsf@bsb.me.uk> <ubub09$1jeo1$1@dont-email.me>
<87r0nxrvm1.fsf@bsb.me.uk> <ubvd3u$1roqh$1@dont-email.me>
<87zg2jrk7t.fsf@bsb.me.uk> <uc12e1$245uh$1@dont-email.me>
<87lee2qz5v.fsf@bsb.me.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 23 Aug 2023 02:51:02 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="67c177358e1c1efcc07d5844b95baa25";
logging-data="2915997"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19YgD/ip+BkbPBHFksJILi5fXa+I63y/4o="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.14.0
Cancel-Lock: sha1:tWcfpuNHVDr9UVoXeyXDdT4FTxg=
In-Reply-To: <87lee2qz5v.fsf@bsb.me.uk>
Content-Language: en-US
 by: Chris M. Thomasson - Wed, 23 Aug 2023 02:51 UTC

On 8/22/2023 7:18 PM, Ben Bacarisse wrote:
> Bart <bc@freeuk.com> writes:
>
>> On 22/08/2023 01:31, Ben Bacarisse wrote:
>>
>>>> If there's anything extra, then that can be explained. This can be put into
>>>> a Readme or Install or Build text file.
>>> Sounds simple. What does this simple solution look like for a68g? I'll
>>> send it to the authors if you don't want to do that yourself.
>>>
>>
>> Have a look at the post I made 21-08-23 14:12 BST, and follow-on ones,
>> where I explore what happens when a build process provides such
>> information.
>
> I'll look if you provide the message ID. That's how Usenet posts are
> cited.
>
>> In that case, 1000s of lines of 'configure' scripts and numerous makefiles
>> could be reduced to a 6-line build script, even if the lines are somewhat
>> long.
>>
>> That is unusual, but note that this was version 9 of that project; that
>> info was not present on version 6.
>
> That's not an Algol 68G version number. You have switched horses yet
> again.
>
>> (I'm not replying to your other points as you are not receptive to what I
>> am trying to do. You are just shrugging your shoulders at Windows. So is
>> nearly everyone. You are part of the problem.
>
> What should I do "at Windows". You seem to think I should care about
> how easily Unix/Linux software builds on it. Why should I?
>

Install windows, download MSVC; download vcpkg; okay, search vcpkg for
your libs, cross your fingers... If they are there, then good!
Otherwise, you need to manually install them per their installation
instructions, manually in the sense of not using vcpkg. ;^)

Re: Build Systems

<uc4d9s$2r6mr$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=28080&group=comp.lang.c#28080

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: richard....@gmail.com (Richard Harnden)
Newsgroups: comp.lang.c
Subject: Re: Build Systems
Date: Wed, 23 Aug 2023 08:42:52 +0100
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <uc4d9s$2r6mr$1@dont-email.me>
References: <uban99$1rnpb$1@dont-email.me> <ubi5do$38ii5$1@dont-email.me>
<ubib54$39aqa$1@dont-email.me> <ubii7m$3acds$1@dont-email.me>
<ubivp8$3cjsl$1@dont-email.me> <ubl89c$3prfv$1@dont-email.me>
<ubma81$3upnp$1@dont-email.me> <20230817183700.915@kylheku.com>
<011f0102-1241-464c-b628-0350c0be29fbn@googlegroups.com>
<87cyzjx4ob.fsf@bsb.me.uk>
<66629235-f2e0-46e0-bcb1-bf3abe1e33cdn@googlegroups.com>
<87edjyvdba.fsf@bsb.me.uk>
<038f3d41-228f-4f22-9086-8596e9022057n@googlegroups.com>
<87edjxts00.fsf@bsb.me.uk> <ubtvb0$1hpq8$1@dont-email.me>
<87wmxps26h.fsf@bsb.me.uk> <ubub09$1jeo1$1@dont-email.me>
<87r0nxrvm1.fsf@bsb.me.uk> <ubvd3u$1roqh$1@dont-email.me>
<87zg2jrk7t.fsf@bsb.me.uk> <uc12e1$245uh$1@dont-email.me>
<87lee2qz5v.fsf@bsb.me.uk>
Reply-To: nospam.harnden@gmail.com
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 23 Aug 2023 07:42:52 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="b1275108e42065e4760fd00b980a54d6";
logging-data="2988763"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18EtmXNaBrfyDulhtmEvqfNt77odfRl9Wg="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.14.0
Cancel-Lock: sha1:/2W7sylnT5gAFQ+SUlLQTpKfT1I=
In-Reply-To: <87lee2qz5v.fsf@bsb.me.uk>
 by: Richard Harnden - Wed, 23 Aug 2023 07:42 UTC

On 23/08/2023 03:18, Ben Bacarisse wrote:
> Bart <bc@freeuk.com> writes:
>
>> On 22/08/2023 01:31, Ben Bacarisse wrote:
>>
>>>> If there's anything extra, then that can be explained. This can be put into
>>>> a Readme or Install or Build text file.
>>> Sounds simple. What does this simple solution look like for a68g? I'll
>>> send it to the authors if you don't want to do that yourself.
>>>
>>
>> Have a look at the post I made 21-08-23 14:12 BST, and follow-on ones,
>> where I explore what happens when a build process provides such
>> information.
>
> I'll look if you provide the message ID. That's how Usenet posts are
> cited.

It was Message-ID: <ubvnsg$1tkml$1@dont-email.me>

>
>> In that case, 1000s of lines of 'configure' scripts and numerous makefiles
>> could be reduced to a 6-line build script, even if the lines are somewhat
>> long.
>>
>> That is unusual, but note that this was version 9 of that project; that
>> info was not present on version 6.
>
> That's not an Algol 68G version number. You have switched horses yet
> again.
>
>> (I'm not replying to your other points as you are not receptive to what I
>> am trying to do. You are just shrugging your shoulders at Windows. So is
>> nearly everyone. You are part of the problem.
>
> What should I do "at Windows". You seem to think I should care about
> how easily Unix/Linux software builds on it. Why should I?
>

.
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Richard Harnden <richard.nospam@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: Build Systems
Date: Wed, 23 Aug 2023 08:42:52 +0100
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <uc4d9s$2r6mr$1@dont-email.me>
References: <uban99$1rnpb$1@dont-email.me> <ubi5do$38ii5$1@dont-email.me>
<ubib54$39aqa$1@dont-email.me> <ubii7m$3acds$1@dont-email.me>
<ubivp8$3cjsl$1@dont-email.me> <ubl89c$3prfv$1@dont-email.me>
<ubma81$3upnp$1@dont-email.me> <20230817183700.915@kylheku.com>
<011f0102-1241-464c-b628-0350c0be29fbn@googlegroups.com>
<87cyzjx4ob.fsf@bsb.me.uk>
<66629235-f2e0-46e0-bcb1-bf3abe1e33cdn@googlegroups.com>
<87edjyvdba.fsf@bsb.me.uk>
<038f3d41-228f-4f22-9086-8596e9022057n@googlegroups.com>
<87edjxts00.fsf@bsb.me.uk> <ubtvb0$1hpq8$1@dont-email.me>
<87wmxps26h.fsf@bsb.me.uk> <ubub09$1jeo1$1@dont-email.me>
<87r0nxrvm1.fsf@bsb.me.uk> <ubvd3u$1roqh$1@dont-email.me>
<87zg2jrk7t.fsf@bsb.me.uk> <uc12e1$245uh$1@dont-email.me>
<87lee2qz5v.fsf@bsb.me.uk>
Reply-To: nospam.harnden@gmail.com
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 23 Aug 2023 07:42:52 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="b1275108e42065e4760fd00b980a54d6";
logging-data="2988763"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18EtmXNaBrfyDulhtmEvqfNt77odfRl9Wg="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.14.0
Cancel-Lock: sha1:/2W7sylnT5gAFQ+SUlLQTpKfT1I=
In-Reply-To: <87lee2qz5v.fsf@bsb.me.uk>
Xref: rslight2 comp.lang.c:28080

On 23/08/2023 03:18, Ben Bacarisse wrote:
> Bart <bc@freeuk.com> writes:
>
>> On 22/08/2023 01:31, Ben Bacarisse wrote:
>>
>>>> If there's anything extra, then that can be explained. This can be put into
>>>> a Readme or Install or Build text file.
>>> Sounds simple. What does this simple solution look like for a68g? I'll
>>> send it to the authors if you don't want to do that yourself.
>>>
>>
>> Have a look at the post I made 21-08-23 14:12 BST, and follow-on ones,
>> where I explore what happens when a build process provides such
>> information.
>
> I'll look if you provide the message ID. That's how Usenet posts are
> cited.

It was Message-ID: <ubvnsg$1tkml$1@dont-email.me>

>
>> In that case, 1000s of lines of 'configure' scripts and numerous makefiles
>> could be reduced to a 6-line build script, even if the lines are somewhat
>> long.
>>
>> That is unusual, but note that this was version 9 of that project; that
>> info was not present on version 6.
>
> That's not an Algol 68G version number. You have switched horses yet
> again.
>
>> (I'm not replying to your other points as you are not receptive to what I
>> am trying to do. You are just shrugging your shoulders at Windows. So is
>> nearly everyone. You are part of the problem.
>
> What should I do "at Windows". You seem to think I should care about
> how easily Unix/Linux software builds on it. Why should I?
>

.
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Richard Harnden <richard.nospam@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: Build Systems
Date: Wed, 23 Aug 2023 08:42:52 +0100
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <uc4d9s$2r6mr$1@dont-email.me>
References: <uban99$1rnpb$1@dont-email.me> <ubi5do$38ii5$1@dont-email.me>
<ubib54$39aqa$1@dont-email.me> <ubii7m$3acds$1@dont-email.me>
<ubivp8$3cjsl$1@dont-email.me> <ubl89c$3prfv$1@dont-email.me>
<ubma81$3upnp$1@dont-email.me> <20230817183700.915@kylheku.com>
<011f0102-1241-464c-b628-0350c0be29fbn@googlegroups.com>
<87cyzjx4ob.fsf@bsb.me.uk>
<66629235-f2e0-46e0-bcb1-bf3abe1e33cdn@googlegroups.com>
<87edjyvdba.fsf@bsb.me.uk>
<038f3d41-228f-4f22-9086-8596e9022057n@googlegroups.com>
<87edjxts00.fsf@bsb.me.uk> <ubtvb0$1hpq8$1@dont-email.me>
<87wmxps26h.fsf@bsb.me.uk> <ubub09$1jeo1$1@dont-email.me>
<87r0nxrvm1.fsf@bsb.me.uk> <ubvd3u$1roqh$1@dont-email.me>
<87zg2jrk7t.fsf@bsb.me.uk> <uc12e1$245uh$1@dont-email.me>
<87lee2qz5v.fsf@bsb.me.uk>
Reply-To: nospam.harnden@gmail.com
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 23 Aug 2023 07:42:52 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="b1275108e42065e4760fd00b980a54d6";
logging-data="2988763"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18EtmXNaBrfyDulhtmEvqfNt77odfRl9Wg="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.14.0
Cancel-Lock: sha1:/2W7sylnT5gAFQ+SUlLQTpKfT1I=
In-Reply-To: <87lee2qz5v.fsf@bsb.me.uk>
Xref: rslight2 comp.lang.c:28080

On 23/08/2023 03:18, Ben Bacarisse wrote:
> Bart <bc@freeuk.com> writes:
>
>> On 22/08/2023 01:31, Ben Bacarisse wrote:
>>
>>>> If there's anything extra, then that can be explained. This can be put into
>>>> a Readme or Install or Build text file.
>>> Sounds simple. What does this simple solution look like for a68g? I'll
>>> send it to the authors if you don't want to do that yourself.
>>>
>>
>> Have a look at the post I made 21-08-23 14:12 BST, and follow-on ones,
>> where I explore what happens when a build process provides such
>> information.
>
> I'll look if you provide the message ID. That's how Usenet posts are
> cited.

It was Message-ID: <ubvnsg$1tkml$1@dont-email.me>

>
>> In that case, 1000s of lines of 'configure' scripts and numerous makefiles
>> could be reduced to a 6-line build script, even if the lines are somewhat
>> long.
>>
>> That is unusual, but note that this was version 9 of that project; that
>> info was not present on version 6.
>
> That's not an Algol 68G version number. You have switched horses yet
> again.
>
>> (I'm not replying to your other points as you are not receptive to what I
>> am trying to do. You are just shrugging your shoulders at Windows. So is
>> nearly everyone. You are part of the problem.
>
> What should I do "at Windows". You seem to think I should care about
> how easily Unix/Linux software builds on it. Why should I?
>

.
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Richard Harnden <richard.nospam@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: Build Systems
Date: Wed, 23 Aug 2023 08:42:52 +0100
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <uc4d9s$2r6mr$1@dont-email.me>
References: <uban99$1rnpb$1@dont-email.me> <ubi5do$38ii5$1@dont-email.me>
<ubib54$39aqa$1@dont-email.me> <ubii7m$3acds$1@dont-email.me>
<ubivp8$3cjsl$1@dont-email.me> <ubl89c$3prfv$1@dont-email.me>
<ubma81$3upnp$1@dont-email.me> <20230817183700.915@kylheku.com>
<011f0102-1241-464c-b628-0350c0be29fbn@googlegroups.com>
<87cyzjx4ob.fsf@bsb.me.uk>
<66629235-f2e0-46e0-bcb1-bf3abe1e33cdn@googlegroups.com>
<87edjyvdba.fsf@bsb.me.uk>
<038f3d41-228f-4f22-9086-8596e9022057n@googlegroups.com>
<87edjxts00.fsf@bsb.me.uk> <ubtvb0$1hpq8$1@dont-email.me>
<87wmxps26h.fsf@bsb.me.uk> <ubub09$1jeo1$1@dont-email.me>
<87r0nxrvm1.fsf@bsb.me.uk> <ubvd3u$1roqh$1@dont-email.me>
<87zg2jrk7t.fsf@bsb.me.uk> <uc12e1$245uh$1@dont-email.me>
<87lee2qz5v.fsf@bsb.me.uk>
Reply-To: nospam.harnden@gmail.com
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 23 Aug 2023 07:42:52 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="b1275108e42065e4760fd00b980a54d6";
logging-data="2988763"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18EtmXNaBrfyDulhtmEvqfNt77odfRl9Wg="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.14.0
Cancel-Lock: sha1:/2W7sylnT5gAFQ+SUlLQTpKfT1I=
In-Reply-To: <87lee2qz5v.fsf@bsb.me.uk>
Xref: rslight2 comp.lang.c:28080


Click here to read the complete article
Re: Build Systems

<uc4nh5$2su9b$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=28082&group=comp.lang.c#28082

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: bc...@freeuk.com (Bart)
Newsgroups: comp.lang.c
Subject: Re: Build Systems
Date: Wed, 23 Aug 2023 11:37:25 +0100
Organization: A noiseless patient Spider
Lines: 48
Message-ID: <uc4nh5$2su9b$1@dont-email.me>
References: <uban99$1rnpb$1@dont-email.me> <ubi5do$38ii5$1@dont-email.me>
<ubib54$39aqa$1@dont-email.me> <ubii7m$3acds$1@dont-email.me>
<ubivp8$3cjsl$1@dont-email.me> <ubl89c$3prfv$1@dont-email.me>
<ubma81$3upnp$1@dont-email.me> <20230817183700.915@kylheku.com>
<011f0102-1241-464c-b628-0350c0be29fbn@googlegroups.com>
<87cyzjx4ob.fsf@bsb.me.uk>
<66629235-f2e0-46e0-bcb1-bf3abe1e33cdn@googlegroups.com>
<87edjyvdba.fsf@bsb.me.uk>
<038f3d41-228f-4f22-9086-8596e9022057n@googlegroups.com>
<87edjxts00.fsf@bsb.me.uk> <ubtvb0$1hpq8$1@dont-email.me>
<87wmxps26h.fsf@bsb.me.uk> <ubub09$1jeo1$1@dont-email.me>
<87r0nxrvm1.fsf@bsb.me.uk> <ubvd3u$1roqh$1@dont-email.me>
<87zg2jrk7t.fsf@bsb.me.uk> <uc12e1$245uh$1@dont-email.me>
<87lee2qz5v.fsf@bsb.me.uk> <uc4d9s$2r6mr$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 23 Aug 2023 10:37:25 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="021d6a6f9d48c197b9a50b52f6befac6";
logging-data="3045675"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+4BXs7hulCl6gZmRn3t0nl9xE41pOwfJc="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.14.0
Cancel-Lock: sha1:3JRXpRU+5ZSMHk3ESzii6QICAmU=
In-Reply-To: <uc4d9s$2r6mr$1@dont-email.me>
 by: Bart - Wed, 23 Aug 2023 10:37 UTC

On 23/08/2023 08:42, Richard Harnden wrote:
> On 23/08/2023 03:18, Ben Bacarisse wrote:
>> Bart <bc@freeuk.com> writes:
>>
>>> On 22/08/2023 01:31, Ben Bacarisse wrote:
>>>
>>>>> If there's anything extra, then that can be explained. This can be
>>>>> put into
>>>>> a Readme or Install or Build text file.
>>>> Sounds simple.  What does this simple solution look like for a68g?
>>>> I'll
>>>> send it to the authors if you don't want to do that yourself.
>>>>
>>>
>>> Have a look at the post I made 21-08-23 14:12 BST, and follow-on ones,
>>> where I explore what happens when a build process provides such
>>> information.
>>
>> I'll look if you provide the message ID.  That's how Usenet posts are
>> cited.
>
> It was Message-ID: <ubvnsg$1tkml$1@dont-email.me>

OK, I give up. I spent an interesting few minutes figuring out what the
hell you're suppose to do with that link.

Loads of information on how to obtain a message-id, but how do you turn
that message-id into the actual message?!

Googlegroups doesn't want to know (I think it discovered your post!).

Google can't find anything.

There's no obvious option in my Thunderbird program.

Prepending 'news://' and feeding it to a browser didn't help.

I would normally give a link to a Googlegroups version, but that takes
some effort and it will show a hacked version of my post.

Since I normally display posts in linear order, ordered by date, I
thought the date and time would be enough. Obviously not.

(It won't cut any ice anyway. BB is determined to misunderstand me and
to find issue with everything I'm trying to do. He's accused me of being
a politician; he's more like a prosecuting lawyer!)

Re: Build Systems

<20230823140250.b59a39d6b2b1f90f396fc3e4@g{oogle}mail.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=28083&group=comp.lang.c#28083

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: anton....@g{oogle}mail.com (Anton Shepelev)
Newsgroups: comp.lang.c
Subject: Re: Build Systems
Date: Wed, 23 Aug 2023 14:02:50 +0300
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <20230823140250.b59a39d6b2b1f90f396fc3e4@g{oogle}mail.com>
References: <uban99$1rnpb$1@dont-email.me>
<ubi5do$38ii5$1@dont-email.me>
<ubib54$39aqa$1@dont-email.me>
<ubii7m$3acds$1@dont-email.me>
<ubivp8$3cjsl$1@dont-email.me>
<ubl89c$3prfv$1@dont-email.me>
<ubma81$3upnp$1@dont-email.me>
<20230817183700.915@kylheku.com>
<011f0102-1241-464c-b628-0350c0be29fbn@googlegroups.com>
<87cyzjx4ob.fsf@bsb.me.uk>
<66629235-f2e0-46e0-bcb1-bf3abe1e33cdn@googlegroups.com>
<87edjyvdba.fsf@bsb.me.uk>
<038f3d41-228f-4f22-9086-8596e9022057n@googlegroups.com>
<87edjxts00.fsf@bsb.me.uk>
<ubtvb0$1hpq8$1@dont-email.me>
<87wmxps26h.fsf@bsb.me.uk>
<ubub09$1jeo1$1@dont-email.me>
<87r0nxrvm1.fsf@bsb.me.uk>
<ubvd3u$1roqh$1@dont-email.me>
<87zg2jrk7t.fsf@bsb.me.uk>
<uc12e1$245uh$1@dont-email.me>
<87lee2qz5v.fsf@bsb.me.uk>
<uc4d9s$2r6mr$1@dont-email.me>
<uc4nh5$2su9b$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="7def1e63ae7e0205fd52d08c1fbfdc9d";
logging-data="3051131"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1//r5TKve4oE0hx+VKW+3KdzTt0+f8YQc8="
Cancel-Lock: sha1:/QZdODT439cj0AaasqS9l9t9weg=
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
 by: Anton Shepelev - Wed, 23 Aug 2023 11:02 UTC

Bart:
> Richard Harnden:
>
> > It was Message-ID: <ubvnsg$1tkml$1@dont-email.me>
>
> OK, I give up. I spent an interesting few minutes figuring
> out what the hell you're suppose to do with that link.
>
> Loads of information on how to obtain a message-id, but
> how do you turn that message-id into the actual message?!

You either search by it within your newsreader, or using
external tools, such as al.howardknight.net. The message
above is archived at:

http://al.howardknight.net/?ID=169278852700

--
() ascii ribbon campaign -- against html e-mail
/\ www.asciiribbon.org -- against proprietary attachments

Re: Build Systems

<uc51ia$2ug61$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=28084&group=comp.lang.c#28084

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: bc...@freeuk.com (Bart)
Newsgroups: comp.lang.c
Subject: Re: Build Systems
Date: Wed, 23 Aug 2023 14:28:41 +0100
Organization: A noiseless patient Spider
Lines: 78
Message-ID: <uc51ia$2ug61$1@dont-email.me>
References: <uban99$1rnpb$1@dont-email.me> <ubi5do$38ii5$1@dont-email.me>
<ubib54$39aqa$1@dont-email.me> <ubii7m$3acds$1@dont-email.me>
<ubivp8$3cjsl$1@dont-email.me> <ubl89c$3prfv$1@dont-email.me>
<ubma81$3upnp$1@dont-email.me> <20230817183700.915@kylheku.com>
<011f0102-1241-464c-b628-0350c0be29fbn@googlegroups.com>
<87cyzjx4ob.fsf@bsb.me.uk>
<66629235-f2e0-46e0-bcb1-bf3abe1e33cdn@googlegroups.com>
<87edjyvdba.fsf@bsb.me.uk>
<038f3d41-228f-4f22-9086-8596e9022057n@googlegroups.com>
<87edjxts00.fsf@bsb.me.uk> <ubtvb0$1hpq8$1@dont-email.me>
<87wmxps26h.fsf@bsb.me.uk> <ubub09$1jeo1$1@dont-email.me>
<87r0nxrvm1.fsf@bsb.me.uk> <ubvd3u$1roqh$1@dont-email.me>
<87zg2jrk7t.fsf@bsb.me.uk> <uc12e1$245uh$1@dont-email.me>
<87lee2qz5v.fsf@bsb.me.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 23 Aug 2023 13:28:42 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="021d6a6f9d48c197b9a50b52f6befac6";
logging-data="3096769"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ZhsqVDXTMeB0BP/Inm7AVTn9/8lUHk1s="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.14.0
Cancel-Lock: sha1:GDZy7L5RqDefUwqLwSxR23sC7RM=
In-Reply-To: <87lee2qz5v.fsf@bsb.me.uk>
 by: Bart - Wed, 23 Aug 2023 13:28 UTC

On 23/08/2023 03:18, Ben Bacarisse wrote:
> Bart <bc@freeuk.com> writes:
>
>> On 22/08/2023 01:31, Ben Bacarisse wrote:
>>
>>>> If there's anything extra, then that can be explained. This can be put into
>>>> a Readme or Install or Build text file.
>>> Sounds simple. What does this simple solution look like for a68g? I'll
>>> send it to the authors if you don't want to do that yourself.
>>>
>>
>> Have a look at the post I made 21-08-23 14:12 BST, and follow-on ones,
>> where I explore what happens when a build process provides such
>> information.
>
> I'll look if you provide the message ID. That's how Usenet posts are
> cited.
>
>> In that case, 1000s of lines of 'configure' scripts and numerous makefiles
>> could be reduced to a 6-line build script, even if the lines are somewhat
>> long.
>>
>> That is unusual, but note that this was version 9 of that project; that
>> info was not present on version 6.
>
> That's not an Algol 68G version number. You have switched horses yet
> again.
>
>> (I'm not replying to your other points as you are not receptive to what I
>> am trying to do. You are just shrugging your shoulders at Windows. So is
>> nearly everyone. You are part of the problem.
>
> What should I do "at Windows". You seem to think I should care about
> how easily Unix/Linux software builds on it. Why should I?
>

At least you appear to believe me when I say that makefiles on Windows
are very often troublesome. Since some here are trying to say that it's
purely due to my incompetence.

But you also say that I should put on my cape and single-handedly fix
all the myriad projects where it could be handled better.

So you acknowledge that some apps build poorly on Windows, but are not
surprised, and also don't appear to care since you don't use Windows.

Then I'm not quite sure why you're taking part in this thread. It seems
to be one giant <shrug>.

It's my turn then not to be surprised that Linux is so highly favoured
in build systems if your attitude is typical but Windows gets the second
or third class treatment:

- Give it its own makefile (which of course doesn't work), or a dozen
compiler-specific makefiles

- Apply CMake (I don't know if that's a solution; I see it as another
thing to go wrong!)

- Use sln/vcxproj files instead so that people must use VS products

- Supply BAT files (which might then assume a MSVC installation)

- Do nothing; just tell people to use or install enough of Linux to
go the ./configure route

The projects I have managed to build were via a method that's simpler
than all that and that works or that can be trivially adapted, because
it's so transparent, on either kind of OS.

This is hint that maybe build methods can gravitate towards such
approaches (and FGS get rid of autoconf files). But you seem to think I
should personally take charge of every such project on the planet, and
then maintain it for every, even though they are not my projects.

The latter is nonsensical and, given the reaction in this thread, the
former is not going to change either. Build systems will get more
complex and impenetrable, not simpler and more transparent.

Re: Build Systems

<uc53hn$2uqlg$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=28085&group=comp.lang.c#28085

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: richard....@gmail.com (Richard Harnden)
Newsgroups: comp.lang.c
Subject: Re: Build Systems
Date: Wed, 23 Aug 2023 15:02:29 +0100
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <uc53hn$2uqlg$1@dont-email.me>
References: <uban99$1rnpb$1@dont-email.me> <ubi5do$38ii5$1@dont-email.me>
<ubib54$39aqa$1@dont-email.me> <ubii7m$3acds$1@dont-email.me>
<ubivp8$3cjsl$1@dont-email.me> <ubl89c$3prfv$1@dont-email.me>
<ubma81$3upnp$1@dont-email.me> <20230817183700.915@kylheku.com>
<011f0102-1241-464c-b628-0350c0be29fbn@googlegroups.com>
<87cyzjx4ob.fsf@bsb.me.uk>
<66629235-f2e0-46e0-bcb1-bf3abe1e33cdn@googlegroups.com>
<87edjyvdba.fsf@bsb.me.uk>
<038f3d41-228f-4f22-9086-8596e9022057n@googlegroups.com>
<87edjxts00.fsf@bsb.me.uk> <ubtvb0$1hpq8$1@dont-email.me>
<87wmxps26h.fsf@bsb.me.uk> <ubub09$1jeo1$1@dont-email.me>
<87r0nxrvm1.fsf@bsb.me.uk> <ubvd3u$1roqh$1@dont-email.me>
<87zg2jrk7t.fsf@bsb.me.uk> <uc12e1$245uh$1@dont-email.me>
<87lee2qz5v.fsf@bsb.me.uk> <uc4d9s$2r6mr$1@dont-email.me>
<uc4nh5$2su9b$1@dont-email.me>
<20230823140250.b59a39d6b2b1f90f396fc3e4@g{oogle}mail.com>
Reply-To: nospam.harnden@gmail.com
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 23 Aug 2023 14:02:31 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="534f0059d0081c4110d2b4da6c3c47f9";
logging-data="3107504"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/4iZJ0diCN/VfD606Z169W5tE75L/rR0U="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:pf+OnBoUIU+h1VfP2bkDlWL3Rx8=
In-Reply-To: <20230823140250.b59a39d6b2b1f90f396fc3e4@g{oogle}mail.com>
 by: Richard Harnden - Wed, 23 Aug 2023 14:02 UTC

On 23/08/2023 12:02, Anton Shepelev wrote:
> Bart:
>> Richard Harnden:
>>
>>> It was Message-ID: <ubvnsg$1tkml$1@dont-email.me>
>>
>> OK, I give up. I spent an interesting few minutes figuring
>> out what the hell you're suppose to do with that link.
>>
>> Loads of information on how to obtain a message-id, but
>> how do you turn that message-id into the actual message?!
>
> You either search by it within your newsreader, or using
> external tools, such as al.howardknight.net. The message
> above is archived at:
>
> http://al.howardknight.net/?ID=169278852700
>

Google Groups used to have an advanced-search page where you could
search for message-ids, but, in their quest to make GG compeletly
useless, they removed it.

<https://groups.google.com/g/comp.lang.c/c/YgV-dQI9MZ0/m/8A6EfUR-BwAJ>

Re: Build Systems

<20230823195415.19d4c01e0cb2ca57faf92c07@g{oogle}mail.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=28090&group=comp.lang.c#28090

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: anton....@g{oogle}mail.com (Anton Shepelev)
Newsgroups: comp.lang.c
Subject: Re: Build Systems
Date: Wed, 23 Aug 2023 19:54:15 +0300
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <20230823195415.19d4c01e0cb2ca57faf92c07@g{oogle}mail.com>
References: <uban99$1rnpb$1@dont-email.me>
<ubi5do$38ii5$1@dont-email.me>
<ubib54$39aqa$1@dont-email.me>
<ubii7m$3acds$1@dont-email.me>
<ubivp8$3cjsl$1@dont-email.me>
<ubl89c$3prfv$1@dont-email.me>
<ubma81$3upnp$1@dont-email.me>
<20230817183700.915@kylheku.com>
<011f0102-1241-464c-b628-0350c0be29fbn@googlegroups.com>
<87cyzjx4ob.fsf@bsb.me.uk>
<66629235-f2e0-46e0-bcb1-bf3abe1e33cdn@googlegroups.com>
<87edjyvdba.fsf@bsb.me.uk>
<038f3d41-228f-4f22-9086-8596e9022057n@googlegroups.com>
<87edjxts00.fsf@bsb.me.uk>
<ubtvb0$1hpq8$1@dont-email.me>
<87wmxps26h.fsf@bsb.me.uk>
<ubub09$1jeo1$1@dont-email.me>
<87r0nxrvm1.fsf@bsb.me.uk>
<ubvd3u$1roqh$1@dont-email.me>
<87zg2jrk7t.fsf@bsb.me.uk>
<uc12e1$245uh$1@dont-email.me>
<87lee2qz5v.fsf@bsb.me.uk>
<uc51ia$2ug61$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="7def1e63ae7e0205fd52d08c1fbfdc9d";
logging-data="3167286"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+HWBBbzOm72RK33fXdhvhYhakmZMilrU0="
Cancel-Lock: sha1:kYNlM2HoelvVZS0woYKSSzGWqZQ=
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
 by: Anton Shepelev - Wed, 23 Aug 2023 16:54 UTC

Bart quoth:

> Build systems will get more complex and impenetrable, not
> simpler and more transparent.

Bart's law.

Borland and Free Pascal compilers do not require a separate
build system (nor a project file, or solution) to build a
large modular program. The modern reliance on super
compicated tools for simple tasks is horrifying. It makes
the programmer feel as a servant rathern than a demiurge.

--
() ascii ribbon campaign -- against html e-mail
/\ www.asciiribbon.org -- against proprietary attachments

Re: Build Systems

<uc5ft2$311jt$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=28093&group=comp.lang.c#28093

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c
Subject: Re: Build Systems
Date: Wed, 23 Aug 2023 19:33:22 +0200
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <uc5ft2$311jt$2@dont-email.me>
References: <uban99$1rnpb$1@dont-email.me> <ubi5do$38ii5$1@dont-email.me>
<ubib54$39aqa$1@dont-email.me> <ubii7m$3acds$1@dont-email.me>
<ubivp8$3cjsl$1@dont-email.me> <ubl89c$3prfv$1@dont-email.me>
<ubma81$3upnp$1@dont-email.me> <20230817183700.915@kylheku.com>
<011f0102-1241-464c-b628-0350c0be29fbn@googlegroups.com>
<87cyzjx4ob.fsf@bsb.me.uk>
<66629235-f2e0-46e0-bcb1-bf3abe1e33cdn@googlegroups.com>
<87edjyvdba.fsf@bsb.me.uk>
<038f3d41-228f-4f22-9086-8596e9022057n@googlegroups.com>
<87edjxts00.fsf@bsb.me.uk> <ubtvb0$1hpq8$1@dont-email.me>
<87wmxps26h.fsf@bsb.me.uk> <ubub09$1jeo1$1@dont-email.me>
<87r0nxrvm1.fsf@bsb.me.uk> <ubvd3u$1roqh$1@dont-email.me>
<87zg2jrk7t.fsf@bsb.me.uk> <uc12e1$245uh$1@dont-email.me>
<87lee2qz5v.fsf@bsb.me.uk> <uc51ia$2ug61$1@dont-email.me>
<20230823195415.19d4c01e0cb2ca57faf92c07@g{oogle}mail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 23 Aug 2023 17:33:22 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="73d2f5c07fe5b58e515376363a9f9029";
logging-data="3180157"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+IMTxQhCsSt6SVwiWmOMpbbsa0HNOMpEs="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.9.0
Cancel-Lock: sha1:dCOWo3TJdjq9lqRSiofwZdKz4zM=
In-Reply-To: <20230823195415.19d4c01e0cb2ca57faf92c07@g{oogle}mail.com>
Content-Language: en-GB
 by: David Brown - Wed, 23 Aug 2023 17:33 UTC

On 23/08/2023 18:54, Anton Shepelev wrote:
> Bart quoth:
>
>> Build systems will get more complex and impenetrable, not
>> simpler and more transparent.
>
> Bart's law.
>
> Borland and Free Pascal compilers do not require a separate
> build system (nor a project file, or solution) to build a
> large modular program. The modern reliance on super
> compicated tools for simple tasks is horrifying. It makes
> the programmer feel as a servant rathern than a demiurge.
>

The version of "make" that I used with DOS and Windows for about a
decade came with Borland Pascal. (It might even have been Turbo Pascal,
before the renaming.)

Mostly I used the IDE for building Pascal projects, rather than a
makefile. I used "make" primarily for assembly code in those days.

Re: Build Systems

<UyrFM.102486$O8ab.3406@fx40.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=28094&group=comp.lang.c#28094

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx40.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Build Systems
Newsgroups: comp.lang.c
References: <uban99$1rnpb$1@dont-email.me> <87edjyvdba.fsf@bsb.me.uk> <038f3d41-228f-4f22-9086-8596e9022057n@googlegroups.com> <87edjxts00.fsf@bsb.me.uk> <ubtvb0$1hpq8$1@dont-email.me> <87wmxps26h.fsf@bsb.me.uk> <ubub09$1jeo1$1@dont-email.me> <87r0nxrvm1.fsf@bsb.me.uk> <ubvd3u$1roqh$1@dont-email.me> <87zg2jrk7t.fsf@bsb.me.uk> <uc12e1$245uh$1@dont-email.me> <87lee2qz5v.fsf@bsb.me.uk> <uc51ia$2ug61$1@dont-email.me> <20230823195415.19d4c01e0cb2ca57faf92c07@g{oogle}mail.com>
Lines: 38
Message-ID: <UyrFM.102486$O8ab.3406@fx40.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Wed, 23 Aug 2023 17:43:16 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 23 Aug 2023 17:43:16 GMT
X-Received-Bytes: 2386
 by: Scott Lurndal - Wed, 23 Aug 2023 17:43 UTC

Anton Shepelev <anton.txt@g{oogle}mail.com> writes:
>Bart quoth:
>
>> Build systems will get more complex and impenetrable, not
>> simpler and more transparent.
>
>Bart's law.

Sure, whatever you say. I'd call it an effect
of the second law of thermodynamics, myself.

>
>Borland and Free Pascal compilers do not require a separate
>build system (nor a project file, or solution) to build a
>large modular program.

Have any "large modular" programs ever been built in the modern
era using either of those compilers? What is your definition
of both large and modular?

I challenge Bart to try to build qemu without a makefile, or
the linux kernel, or vmware, or the cert stack for Verisign
enterprise certificate generation.

The application I'm working on has an executable driver or
can be dynamically linked with python or other applications and consists
of a very small executable, a large shared object and a
few dozen run-time loadable shared objects that are optionally
loaded depending on run-time configuration of the application.

It consists of about 9 million source lines of code across a few
hundred source files. Stored, of course in a set of hierarchical
directories.

Yet for all that build complexity, the actual makefiles are
small, readable and maintainable.

I challenge Bart to build it using 'bcc *.cpp' or even 'bcc *.cpp */*.cpp */*/*.cpp'

Re: Build Systems

<uc5lsi$32bjk$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=28097&group=comp.lang.c#28097

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: bc...@freeuk.com (Bart)
Newsgroups: comp.lang.c
Subject: Re: Build Systems
Date: Wed, 23 Aug 2023 20:15:29 +0100
Organization: A noiseless patient Spider
Lines: 82
Message-ID: <uc5lsi$32bjk$1@dont-email.me>
References: <uban99$1rnpb$1@dont-email.me> <87edjyvdba.fsf@bsb.me.uk>
<038f3d41-228f-4f22-9086-8596e9022057n@googlegroups.com>
<87edjxts00.fsf@bsb.me.uk> <ubtvb0$1hpq8$1@dont-email.me>
<87wmxps26h.fsf@bsb.me.uk> <ubub09$1jeo1$1@dont-email.me>
<87r0nxrvm1.fsf@bsb.me.uk> <ubvd3u$1roqh$1@dont-email.me>
<87zg2jrk7t.fsf@bsb.me.uk> <uc12e1$245uh$1@dont-email.me>
<87lee2qz5v.fsf@bsb.me.uk> <uc51ia$2ug61$1@dont-email.me>
<20230823195415.19d4c01e0cb2ca57faf92c07@g{oogle}mail.com>
<UyrFM.102486$O8ab.3406@fx40.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 23 Aug 2023 19:15:30 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="021d6a6f9d48c197b9a50b52f6befac6";
logging-data="3223156"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19L2IQlou0l/Tu3OpXvXGsN6ebKnHS4vxU="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.14.0
Cancel-Lock: sha1:dVb+ehZaHmTV5u0EY2UHCQ3cZJE=
In-Reply-To: <UyrFM.102486$O8ab.3406@fx40.iad>
 by: Bart - Wed, 23 Aug 2023 19:15 UTC

On 23/08/2023 18:43, Scott Lurndal wrote:
> Anton Shepelev <anton.txt@g{oogle}mail.com> writes:
>> Bart quoth:
>>
>>> Build systems will get more complex and impenetrable, not
>>> simpler and more transparent.
>>
>> Bart's law.
>
> Sure, whatever you say. I'd call it an effect
> of the second law of thermodynamics, myself.
>
>>
>> Borland and Free Pascal compilers do not require a separate
>> build system (nor a project file, or solution) to build a
>> large modular program.
>
> Have any "large modular" programs ever been built in the modern
> era using either of those compilers? What is your definition
> of both large and modular?
>
> I challenge Bart to try to build qemu without a makefile, or
> the linux kernel, or vmware, or the cert stack for Verisign
> enterprise certificate generation.

That's like challenging me to travel to the moon using my car.

I think that is a 'strawman' argument. You create an extreme version of
the tasks for which I believe makefiles are unnecessarily used, then
claim that /my/ simpler approach to those tasks won't work.

Yet, my car is perfectly adequate for a school run; I don't need a Saturn V.

> The application I'm working on has an executable driver or
> can be dynamically linked with python or other applications and consists
> of a very small executable, a large shared object and a
> few dozen run-time loadable shared objects that are optionally
> loaded depending on run-time configuration of the application.
>
> It consists of about 9 million source lines of code across a few
> hundred source files. Stored, of course in a set of hierarchical
> directories.
>
> Yet for all that build complexity, the actual makefiles are
> small, readable and maintainable.

> I challenge Bart to build it using 'bcc *.cpp' or even 'bcc *.cpp */*.cpp */*/*.cpp'

Compilers like my 'mm.exe' product accomplish only one task: producing a
single .EXE binary file. To that end, they are given the name of the
lead source module, and from that point everything is automatic.

So building an app presented as multiple components will need a simple
script.

However, C is different: compilers need to be told the files that
comprise each binary. That in itself does not cause complexity; that's
just a simple list.

But makefiles take that simple list and expand it into a graph of
inter-dependencies. (Which information also has to be imparted by
external means; make isn't that clever.)

They further expose intermediate representations such as .o files, which
should be the business of the compiler.

The whole is then further polluted with matters of installation and
maintenance. And then all buried under impenetrable syntax.

Now I don't know the details of your project, or what you consider
'small' and 'readable'. But if it is that small, you can probably use a
simple script.

You might also consider what an emergency build process might look like,
where you've lost all binaries and want to quickly compile everything
without effing about with dependency graphs. The sort of thing that I've
been claiming should accompany packaged sources of working applications.


devel / comp.lang.c / Build Systems

Pages:12345678910111213
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor