Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

The solution of this problem is trivial and is left as an exercise for the reader.


devel / comp.lang.c / Re: Experimental C Build System

SubjectAuthor
* Experimental C Build Systembart
+* Re: Experimental C Build SystemLawrence D'Oliveiro
|+* Re: Experimental C Build SystemChris M. Thomasson
||`* Re: Experimental C Build SystemDavid Brown
|| +* Re: Experimental C Build SystemChris M. Thomasson
|| |`* Re: Experimental C Build SystemDavid Brown
|| | `- Re: Experimental C Build SystemChris M. Thomasson
|| `- Re: Experimental C Build Systembart
|`* Re: Experimental C Build Systembart
| +* Re: Experimental C Build SystemMalcolm McLean
| |`* Re: Experimental C Build Systembart
| | `* Re: Experimental C Build SystemMalcolm McLean
| |  +- Re: Experimental C Build Systembart
| |  `* Re: Experimental C Build SystemRichard Harnden
| |   `* Re: Experimental C Build Systemvallor
| |    +- Re: Experimental C Build Systemvallor
| |    +* Re: Experimental C Build Systembart
| |    |+* Re: Experimental C Build SystemDavid Brown
| |    ||+* Re: Experimental C Build Systembart
| |    |||`* Re: Experimental C Build SystemDavid Brown
| |    ||| +- Re: Experimental C Build SystemMalcolm McLean
| |    ||| `* Re: Experimental C Build Systembart
| |    |||  +* Re: Experimental C Build SystemMichael S
| |    |||  |+* Re: Experimental C Build SystemScott Lurndal
| |    |||  ||`- Re: Experimental C Build SystemChris M. Thomasson
| |    |||  |`* Re: Experimental C Build SystemDavid Brown
| |    |||  | `* Re: Experimental C Build SystemMichael S
| |    |||  |  +- Re: Experimental C Build SystemLawrence D'Oliveiro
| |    |||  |  +- Re: Experimental C Build SystemScott Lurndal
| |    |||  |  `* Re: Experimental C Build SystemDavid Brown
| |    |||  |   +* Re: Experimental C Build SystemMichael S
| |    |||  |   |`* Re: Experimental C Build SystemDavid Brown
| |    |||  |   | `* Re: Experimental C Build SystemMichael S
| |    |||  |   |  `* Stu Feldman (Was: Experimental C Build System)Kenny McCormack
| |    |||  |   |   `* Re: Stu Feldman (Was: Experimental C Build System)Kaz Kylheku
| |    |||  |   |    `- Re: Stu Feldman (Was: Experimental C Build System)Janis Papanagnou
| |    |||  |   `* Re: Experimental C Build Systembart
| |    |||  |    +- Re: Experimental C Build SystemDavid Brown
| |    |||  |    +* Re: Experimental C Build SystemScott Lurndal
| |    |||  |    |+* Re: Experimental C Build Systembart
| |    |||  |    ||`* Re: Experimental C Build SystemScott Lurndal
| |    |||  |    || `* Re: Experimental C Build SystemMalcolm McLean
| |    |||  |    ||  `- Re: Experimental C Build SystemScott Lurndal
| |    |||  |    |`- Re: Experimental C Build SystemJanis Papanagnou
| |    |||  |    `* Re: Experimental C Build SystemLawrence D'Oliveiro
| |    |||  |     `* Re: Experimental C Build Systembart
| |    |||  |      +* Re: Experimental C Build SystemLawrence D'Oliveiro
| |    |||  |      |`* Re: Experimental C Build Systembart
| |    |||  |      | +- Re: Experimental C Build SystemChris M. Thomasson
| |    |||  |      | `* Re: Experimental C Build SystemLawrence D'Oliveiro
| |    |||  |      |  +- Re: Experimental C Build SystemChris M. Thomasson
| |    |||  |      |  `- Re: Experimental C Build SystemChris M. Thomasson
| |    |||  |      +* Re: Experimental C Build SystemMalcolm McLean
| |    |||  |      |+* Re: Experimental C Build SystemDavid Brown
| |    |||  |      ||+* Re: Experimental C Build Systembart
| |    |||  |      |||`* Re: Experimental C Build SystemLawrence D'Oliveiro
| |    |||  |      ||| `- Re: Experimental C Build Systembart
| |    |||  |      ||`* Re: Experimental C Build SystemMalcolm McLean
| |    |||  |      || +* Re: Experimental C Build Systembart
| |    |||  |      || |+* Re: Experimental C Build SystemMalcolm McLean
| |    |||  |      || ||`- Re: Experimental C Build SystemDavid Brown
| |    |||  |      || |`* Re: Experimental C Build SystemChris M. Thomasson
| |    |||  |      || | `* Re: Experimental C Build Systembart
| |    |||  |      || |  `* Re: Experimental C Build SystemChris M. Thomasson
| |    |||  |      || |   `* Re: Experimental C Build Systembart
| |    |||  |      || |    +- Re: Experimental C Build SystemChris M. Thomasson
| |    |||  |      || |    +* Re: Experimental C Build SystemGary R. Schmidt
| |    |||  |      || |    |`- Re: Experimental C Build SystemChris M. Thomasson
| |    |||  |      || |    +* Re: Experimental C Build SystemMalcolm McLean
| |    |||  |      || |    |+* Re: Experimental C Build SystemChris M. Thomasson
| |    |||  |      || |    ||`- Re: Experimental C Build SystemChris M. Thomasson
| |    |||  |      || |    |`* Re: Experimental C Build SystemDavid Brown
| |    |||  |      || |    | `* Re: Experimental C Build SystemMalcolm McLean
| |    |||  |      || |    |  `* Re: Experimental C Build SystemDavid Brown
| |    |||  |      || |    |   `- Re: Experimental C Build SystemChris M. Thomasson
| |    |||  |      || |    `* Re: Experimental C Build SystemKees Nuyt
| |    |||  |      || |     +- Re: Experimental C Build SystemKeith Thompson
| |    |||  |      || |     `- Re: Experimental C Build SystemScott Lurndal
| |    |||  |      || +- Re: Experimental C Build SystemChris M. Thomasson
| |    |||  |      || `* Re: Experimental C Build SystemLawrence D'Oliveiro
| |    |||  |      ||  `- Re: Experimental C Build SystemChris M. Thomasson
| |    |||  |      |+- Re: Experimental C Build SystemScott Lurndal
| |    |||  |      |`- Re: Experimental C Build SystemLawrence D'Oliveiro
| |    |||  |      `* Re: Experimental C Build SystemJanis Papanagnou
| |    |||  |       +- Re: Experimental C Build SystemMalcolm McLean
| |    |||  |       `* Re: Experimental C Build Systembart
| |    |||  |        +* Re: Experimental C Build SystemKaz Kylheku
| |    |||  |        |`* Re: Experimental C Build Systembart
| |    |||  |        | +* Re: Experimental C Build SystemJim Jackson
| |    |||  |        | |`- Re: Experimental C Build SystemChris M. Thomasson
| |    |||  |        | `- Re: Experimental C Build SystemKaz Kylheku
| |    |||  |        `* Re: Experimental C Build SystemDavid Brown
| |    |||  |         `* Re: Experimental C Build Systembart
| |    |||  |          +- Re: Experimental C Build SystemDavid Brown
| |    |||  |          `* Re: Experimental C Build SystemLawrence D'Oliveiro
| |    |||  |           +* Re: Experimental C Build Systembart
| |    |||  |           |+- Re: Experimental C Build SystemChris M. Thomasson
| |    |||  |           |`* Re: Experimental C Build SystemJim Jackson
| |    |||  |           | `* Re: Experimental C Build SystemMalcolm McLean
| |    |||  |           |  +* Re: Experimental C Build Systembart
| |    |||  |           |  |+* Re: Experimental C Build SystemKeith Thompson
| |    |||  |           |  |`* Re: Experimental C Build SystemKaz Kylheku
| |    |||  |           |  `- Re: Experimental C Build SystemScott Lurndal
| |    |||  |           `* Re: Experimental C Build SystemMalcolm McLean
| |    |||  `* Re: Experimental C Build SystemDavid Brown
| |    ||+- Re: Experimental C Build SystemKaz Kylheku
| |    ||`- Re: Experimental C Build SystemLawrence D'Oliveiro
| |    |`* Re: Experimental C Build SystemRichard Harnden
| |    `* Re: Experimental C Build SystemLawrence D'Oliveiro
| `* Re: Experimental C Build SystemDavid Brown
+* Re: Experimental C Build SystemTim Rentsch
+- Re: Experimental C Build Systembart
+* Re: Experimental C Build Systemthiago
+- Re: Experimental C Build Systemthiago
`- Re: Experimental C Build Systembart

Pages:1234567891011121314151617
Re: Experimental C Build System

<uprqfk$gcv2$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: malcolm....@gmail.com (Malcolm McLean)
Newsgroups: comp.lang.c
Subject: Re: Experimental C Build System
Date: Mon, 5 Feb 2024 23:20:20 +0000
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <uprqfk$gcv2$2@dont-email.me>
References: <up8i91$h6iu$1@dont-email.me> <86fry76k7j.fsf@linuxsc.com>
<uprcd8$dspb$3@dont-email.me> <8734u6lhop.fsf@nosuchdomain.example.com>
<uprlkq$uqjc$1@news.xmission.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 5 Feb 2024 23:20:20 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="121546b46b87f698889c92479e4b6ace";
logging-data="537570"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Z885XW7CqeL0bwnlLsc5nEd4ILtu/za4="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:N9eiPEEoMWuzpPlBmQ6KIfZu1wY=
Content-Language: en-GB
In-Reply-To: <uprlkq$uqjc$1@news.xmission.com>
 by: Malcolm McLean - Mon, 5 Feb 2024 23:20 UTC

On 05/02/2024 21:57, Kenny McCormack wrote:
> In article <8734u6lhop.fsf@nosuchdomain.example.com>,
> Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote:
>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> writes:
>>> On 2/5/2024 6:48 AM, Tim Rentsch wrote:
>>>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> writes:
>>>>> On 2/4/2024 8:41 PM, Keith Thompson wrote:
>>>>>> [...]
>>>>>>
>>>>>> Better yet, if you could cut down on the followups that don't add
>>>>>> anything relevant, I for one would appreciate it.
>>>> For what it's worth, I second Keith's request, and strenuously
>>>> support it.
>>>
>>> I was trying to lighten the mood, so to speak. Well, it backfired on me. ;^o
>>
>> Does that mean you're going to stop? You're just about to land in my
>> killfile, but I'm willing to reconsider. You do sometimes post relevant
>> content, but it's just not worth digging through the noise.
>
> The best possible thing that can happen to a CLC poster is to be killfiled
> by Keith - as I was (and still am) long ago. Then you are spared Keith's
> incessant bitching and whining about your posts.
>
> I am hoping Chris is lucky enough to be given this honor.
>

Ah. So of course Keith couldn't understand what I was saying.

--
Check out Basic Algorithms and my other books:
https://www.lulu.com/spotlight/bgy1mm

Re: Experimental C Build System

<87h6imjx79.fsf@nosuchdomain.example.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith.S....@gmail.com (Keith Thompson)
Newsgroups: comp.lang.c
Subject: Re: Experimental C Build System
Date: Mon, 05 Feb 2024 15:41:30 -0800
Organization: None to speak of
Lines: 11
Message-ID: <87h6imjx79.fsf@nosuchdomain.example.com>
References: <up8i91$h6iu$1@dont-email.me> <86fry76k7j.fsf@linuxsc.com>
<uprcd8$dspb$3@dont-email.me>
<8734u6lhop.fsf@nosuchdomain.example.com>
<uprlkq$uqjc$1@news.xmission.com> <uprqfk$gcv2$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="4718b0a0ab2e3c1c2260eb363d68ae7d";
logging-data="542211"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/pfuQ0ZBgcZHiJD7hFJBjU"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:UXa2LNPrm6LriTcE3xsPYeFyXQo=
sha1:AALDpBwrTi9LOLR4AMTXsbJbQDo=
 by: Keith Thompson - Mon, 5 Feb 2024 23:41 UTC

Malcolm McLean <malcolm.arthur.mclean@gmail.com> writes:
[...]
> Ah. So of course Keith couldn't understand what I was saying.

Malcolm, stop making personal comments about me. (Everyone else, please
don't respond to Malcolm's personal comments about me.)

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Medtronic
void Void(void) { Void(); } /* The recursive call of the void */

Re: Experimental C Build System

<uprskq$gmf7$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!news.samoylyk.net!newsfeed.xs3.de!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: Experimental C Build System
Date: Mon, 5 Feb 2024 15:57:15 -0800
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <uprskq$gmf7$1@dont-email.me>
References: <up8i91$h6iu$1@dont-email.me> <uppek1$3v3vn$1@dont-email.me>
<uppnh9$4j0k$4@dont-email.me> <87jznjle00.fsf@nosuchdomain.example.com>
<upptir$u2b5$1@news.xmission.com> <upq084$6bai$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 5 Feb 2024 23:57:14 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="d977dfc718b87c6477e28e021d409c7a";
logging-data="547303"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18iN3VkbwS9RxTGoW0CXsluJw12pBy9mxA="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:JpWj3pAeq9iCcmJCuLkjkMA7BTk=
Content-Language: en-US
In-Reply-To: <upq084$6bai$1@dont-email.me>
 by: Chris M. Thomasson - Mon, 5 Feb 2024 23:57 UTC

On 2/4/2024 10:46 PM, Chris M. Thomasson wrote:
> On 2/4/2024 10:00 PM, Kenny McCormack wrote:
>> In article <87jznjle00.fsf@nosuchdomain.example.com>,
>> Keith Thompson  <Keith.S.Thompson+u@gmail.com> wrote:
>>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> writes:
>>>> On 2/4/2024 5:45 PM, Lawrence D'Oliveiro wrote:
>>>>> On Mon, 5 Feb 2024 00:07:33 +0000, Malcolm McLean wrote:
>>>>>> On Windows you can't assume that the end user will be interested in
>>>>>> development or have any develoment tools available.
>>>>> Worse than that, the assumption is that development will be done in a
>>>>> proprietary, self-contained IDE, primarily sourced from a single
>>>>> vendor.
>>>>
>>>> https://youtu.be/i_6zPIWQaUI ;^)
>>>
>>> If you must post random YouTube links, can you at least include a 1-line
>>> description so we don't waste *too* much time?
>>>
>>> Better yet, if you could cut down on the followups that don't add
>>> anything relevant, I for one would appreciate it.
>>
>> Nice to see you back, Keith.  I've been worried about you.
>>
>> "14   A View to a Kill   Opening Theme 1985"
>>
>
> Right. I posted that link because totally relying on an IDE can be a
> view to a kill... ;^)

Our team is migrating to a new platform. Oh my, will my IDE work on this
new system... A view to a kill... ;^)

Re: Experimental C Build System

<uprt13$gp9v$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: bc...@freeuk.com (bart)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: Experimental C Build System
Date: Tue, 6 Feb 2024 00:03:50 +0000
Organization: A noiseless patient Spider
Lines: 72
Message-ID: <uprt13$gp9v$1@dont-email.me>
References: <up8i91$h6iu$1@dont-email.me> <up9hh3$m75n$3@dont-email.me>
<up9kc7$mkt1$2@dont-email.me> <up9uuj$rmmf$2@dont-email.me>
<upanta$vkgm$1@dont-email.me> <upb9ca$12je5$1@dont-email.me>
<upbi8o$14443$1@dont-email.me> <updt7h$1jc8a$1@dont-email.me>
<upeab3$1m2f4$1@dont-email.me> <upflbj$202rb$1@dont-email.me>
<upfve3$21uv7$1@dont-email.me> <upgcbm$246u1$1@dont-email.me>
<upgo72$26abt$1@dont-email.me> <20240201222328.00006859@yahoo.com>
<uph305$2867k$2@dont-email.me> <20240202005538.000054ff@yahoo.com>
<upi7i8$2h3eq$1@dont-email.me> <upirpd$2kdoe$1@dont-email.me>
<upjnje$2oup9$11@dont-email.me> <upjpbk$2pihr$1@dont-email.me>
<upleoi$34tr4$1@dont-email.me> <uplhrp$35e9i$1@dont-email.me>
<upo1cv$3lbbl$2@dont-email.me> <upo5b4$3m4fu$1@dont-email.me>
<upp43r$3s4nc$4@dont-email.me> <upp6js$3t5rg$1@dont-email.me>
<slrnus275u.2s0.jj@iridium.wf32df> <upr7t3$d70i$1@dont-email.me>
<upra6k$dkgp$1@dont-email.me> <20240205143126.577@kylheku.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 6 Feb 2024 00:03:47 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="619fb8bd4c0fbec59919f1b2e0da5a34";
logging-data="550207"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+XdHcZBoEfzQL33HROeNiwU9rVI1CaYtE="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:I6yOmjHjrV5LsVF0MvkcahK2lUM=
In-Reply-To: <20240205143126.577@kylheku.com>
Content-Language: en-GB
 by: bart - Tue, 6 Feb 2024 00:03 UTC

On 05/02/2024 22:47, Kaz Kylheku wrote:
> On 2024-02-05, bart <bc@freeuk.com> wrote:
>> -bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory
>
> This indicates that the thing you're trying to build was converted
> to Windows format. See that ^M? It's a carriage return; what's that
> doing in a POSIX shell script? Someone likely did that on purpose.
>
> Firstly, projects with ./configure shell scripts are often not ported to
> Windows at all. If that is the case, you could be the first one trying
> that. In that situation, the best bet is Cygwin. (Or WSL2, but that's
> basically not Windows.)
>
> The .zip file containing files converted to Windows format suggests
> that the package is ported to Windows, using some build environment that
> uses CR-LF files like MinGW.
>
> Your best bet is to consult the project and ask them, how is it ported
> to Windows? Then do it their way. Otherwise you're on your own.
>
> Another pattern that occurs is that FOSS projects which port their code
> to Windows themselves provide binaries for Windows, so they don't expect
> users to build those. Thus their procedure for building on Windows might not
> be well documented.
>
>> This is all quite typical.
>
> You not knowing where to get a glue and generally being lost
> at sea with no rudder or sail?
>
> Don't you have some nephew or niece in the fifth grade who could
> help with this?
>
> When I go to the NASM site (https://www.nasm.us) there is a clear
> Download link.
>
> In the download link, there are versioned and dated release
> directories.
>
> In the most recent one, there are Win32 and Win64 subdirectories.
>
> There is a file
>
> nasm-2.16.02rc9-installer-x64.exe
>
> Doh?
>
> They've gone out of the way to support Windows users with an executable
> installer.
>
> If you want to know how they built that, they may have documentation
> elsewhere. There might be instructions in the accompanying .zip or else
> you just have to as in the mailing list.

Yes I know there is an executable available for Windows. I first used
Nasm at least 20 years ago, perhaps 25.

But since it's supposed to be open source, I thought I'd have a go at
building it. And of course I tried it under Windows first.

I'm surprised that they went to the trouble of supplying configure
scripts with CRLF line-endings, given that you can't actually run it
under Windows.

In any case, LF line endings on Windows tend not to be a problem. My
editors generate LF not CRLF.

Anyway, if I fix those line endings in 'configure', then it says:

configure: error: cannot run /bin/bash autoconf/helpers/config.sub

Re: Experimental C Build System

<20240205160331.829@kylheku.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 433-929-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: Experimental C Build System
Date: Tue, 6 Feb 2024 00:07:08 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <20240205160331.829@kylheku.com>
References: <up8i91$h6iu$1@dont-email.me> <up9hh3$m75n$3@dont-email.me>
<up9kc7$mkt1$2@dont-email.me> <up9uuj$rmmf$2@dont-email.me>
<upanta$vkgm$1@dont-email.me> <upb9ca$12je5$1@dont-email.me>
<upbi8o$14443$1@dont-email.me> <updt7h$1jc8a$1@dont-email.me>
<upeab3$1m2f4$1@dont-email.me> <upflbj$202rb$1@dont-email.me>
<upfve3$21uv7$1@dont-email.me> <upgcbm$246u1$1@dont-email.me>
<upgo72$26abt$1@dont-email.me> <20240201222328.00006859@yahoo.com>
<uph305$2867k$2@dont-email.me> <20240202005538.000054ff@yahoo.com>
<upi7i8$2h3eq$1@dont-email.me> <upirpd$2kdoe$1@dont-email.me>
<upjnje$2oup9$11@dont-email.me> <upjpbk$2pihr$1@dont-email.me>
<upleoi$34tr4$1@dont-email.me> <uplhrp$35e9i$1@dont-email.me>
<upo1cv$3lbbl$2@dont-email.me> <upo5b4$3m4fu$1@dont-email.me>
<upp43r$3s4nc$4@dont-email.me> <upp8s5$3tmdd$2@dont-email.me>
<upqipd$9c0k$1@dont-email.me> <uprop0$g01t$4@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 6 Feb 2024 00:07:08 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a112f49d5e72d19646dc68722a58d18c";
logging-data="550011"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/GN8jx9EWwKUftaTQMPgjVNI+pCIeqWIk="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:LHStfetCBmie3Xlg+9zS8X97/KQ=
 by: Kaz Kylheku - Tue, 6 Feb 2024 00:07 UTC

On 2024-02-05, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
> On Mon, 5 Feb 2024 13:02:52 +0100, David Brown wrote:
>
>> It /is/ a consumer platform, yes. And because it has no standard ways
>> to build software, and no one (approximately) using it wants to build
>> software on it, the norm is to distribute code in binary form for
>> Windows. That works out fine for almost all Windows users. That
>> includes libraries - even C programmers on Windows don't want to build
>> "libjpeg" or whatever, they want a DLL.
>
> But without integrated package management, how do you keep it all up to
> date? If two separate apps use the same library, do they each end up with
> their own version, or do they share one version? Does each app have to run
> its own periodic background updater task to tell you there’s a new version
> available?

Windows has solved this problem. Executables find .DLL libraries in
their own directory.

You ship a program with the exact libraries it needs which you
tested with and those are the ones it will use.

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

Re: Experimental C Build System

<20240205160715.244@kylheku.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 433-929-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: Experimental C Build System
Date: Tue, 6 Feb 2024 00:16:02 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 49
Message-ID: <20240205160715.244@kylheku.com>
References: <up8i91$h6iu$1@dont-email.me> <up9hh3$m75n$3@dont-email.me>
<up9kc7$mkt1$2@dont-email.me> <up9uuj$rmmf$2@dont-email.me>
<upanta$vkgm$1@dont-email.me> <upb9ca$12je5$1@dont-email.me>
<upbi8o$14443$1@dont-email.me> <updt7h$1jc8a$1@dont-email.me>
<upeab3$1m2f4$1@dont-email.me> <upflbj$202rb$1@dont-email.me>
<upfve3$21uv7$1@dont-email.me> <upgcbm$246u1$1@dont-email.me>
<upgo72$26abt$1@dont-email.me> <20240201222328.00006859@yahoo.com>
<uph305$2867k$2@dont-email.me> <20240202005538.000054ff@yahoo.com>
<upi7i8$2h3eq$1@dont-email.me> <upirpd$2kdoe$1@dont-email.me>
<upjnje$2oup9$11@dont-email.me> <upjpbk$2pihr$1@dont-email.me>
<upleoi$34tr4$1@dont-email.me> <uplhrp$35e9i$1@dont-email.me>
<upo1cv$3lbbl$2@dont-email.me> <upo5b4$3m4fu$1@dont-email.me>
<upp43r$3s4nc$4@dont-email.me> <upp8s5$3tmdd$2@dont-email.me>
<upqipd$9c0k$1@dont-email.me> <uprop0$g01t$4@dont-email.me>
<uprqbs$gcv2$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 6 Feb 2024 00:16:02 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a112f49d5e72d19646dc68722a58d18c";
logging-data="550011"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/yq2+Mv1UXU1MYDHLLftCAU0ThB/tYaHE="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:VXMH6HKZqAMvPANdvA3wC0nJ9RE=
 by: Kaz Kylheku - Tue, 6 Feb 2024 00:16 UTC

On 2024-02-05, Malcolm McLean <malcolm.arthur.mclean@gmail.com> wrote:
> On 05/02/2024 22:51, Lawrence D'Oliveiro wrote:
>> On Mon, 5 Feb 2024 13:02:52 +0100, David Brown wrote:
>>
>>> It /is/ a consumer platform, yes. And because it has no standard ways
>>> to build software, and no one (approximately) using it wants to build
>>> software on it, the norm is to distribute code in binary form for
>>> Windows. That works out fine for almost all Windows users. That
>>> includes libraries - even C programmers on Windows don't want to build
>>> "libjpeg" or whatever, they want a DLL.
>>
>> But without integrated package management, how do you keep it all up to
>> date? If two separate apps use the same library, do they each end up with
>> their own version, or do they share one version? Does each app have to run
>> its own periodic background updater task to tell you there’s a new version
>> available?
>
> The term is DLL hell.

DLL hell is mostly historic term.

DLL hell occured on Windows when programs installed DLL files in the
System folder. In particular Common DLLs such Microsoft Visual Studio
run-time files.

Today, the situation that most closely fits the term is the situation on
Linux distributions.

The Glibc shared library loading mechanism doesn't implement the nice
strategy of finding libraries in the same directory as the executable.

Libraries must be dumped into a common respository, where you get issues
when programs need different versions of the same library and those
library versions are not cleanly distinguished by having a different
soname.

> If a DLL changes, does that means that apps which called the old DLL and
> are were buggy should call the new DLL and will now be fixed?

DLLs like kernel32.dll and user32.dll simply don't change, or not in
such a way.

Non-system things, you ship with the app, so they don't change unless
you issue an update.

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

Re: Experimental C Build System

<uprtse$v0l0$1@news.xmission.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: gaze...@shell.xmission.com (Kenny McCormack)
Newsgroups: comp.lang.c
Subject: Re: Experimental C Build System
Date: Tue, 6 Feb 2024 00:18:22 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <uprtse$v0l0$1@news.xmission.com>
References: <up8i91$h6iu$1@dont-email.me> <8734u6lhop.fsf@nosuchdomain.example.com> <uprlkq$uqjc$1@news.xmission.com> <uprqfk$gcv2$2@dont-email.me>
Injection-Date: Tue, 6 Feb 2024 00:18:22 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
logging-data="1016480"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
 by: Kenny McCormack - Tue, 6 Feb 2024 00:18 UTC

In article <uprqfk$gcv2$2@dont-email.me>,
Malcolm McLean <malcolm.arthur.mclean@gmail.com> wrote:
....
>> I am hoping Chris is lucky enough to be given this honor.
>>
>
>Ah. So of course Keith couldn't understand what I was saying.

As you have correctly noted, Keith is clearly of a different psychological
type than you (and me). So, it is unlikely that useful communication will
ever happen between the two of you. Thus, it is best if he KF's you.

--
Many people in the American South think that DJT is, and will be remembered
as, one of the best presidents in US history. They are absolutely correct.

He is currently at number 46 on the list. High praise, indeed!

Re: Experimental C Build System

<ups369$hfak$3@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: malcolm....@gmail.com (Malcolm McLean)
Newsgroups: comp.lang.c
Subject: Re: Experimental C Build System
Date: Tue, 6 Feb 2024 01:48:57 +0000
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <ups369$hfak$3@dont-email.me>
References: <up8i91$h6iu$1@dont-email.me> <86fry76k7j.fsf@linuxsc.com>
<uprcd8$dspb$3@dont-email.me> <8734u6lhop.fsf@nosuchdomain.example.com>
<uprlkq$uqjc$1@news.xmission.com> <uprqfk$gcv2$2@dont-email.me>
<87h6imjx79.fsf@nosuchdomain.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 6 Feb 2024 01:48:57 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="121546b46b87f698889c92479e4b6ace";
logging-data="572756"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+WbLShxc6ERFWdfs2CwCs+XmsyYDpLs1Y="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:JeEhnTRmU7RO9l/eZuRAZW9wVYw=
In-Reply-To: <87h6imjx79.fsf@nosuchdomain.example.com>
Content-Language: en-GB
 by: Malcolm McLean - Tue, 6 Feb 2024 01:48 UTC

On 05/02/2024 23:41, Keith Thompson wrote:
> Malcolm McLean <malcolm.arthur.mclean@gmail.com> writes:
> [...]
>> Ah. So of course Keith couldn't understand what I was saying.
>
> Malcolm, stop making personal comments about me. (Everyone else, please
> don't respond to Malcolm's personal comments about me.)
>

Ok. I'll agree. Sorry. I'm annoyed by the dismissive way in which I have
been treated and that's why I did it. But it's not really constructive
and I shouldn't have responded like that.

--
Check out Basic Algorithms and my other books:
https://www.lulu.com/spotlight/bgy1mm

Re: Experimental C Build System

<upssug$qb8m$4@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!paganini.bofh.team!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: Experimental C Build System
Date: Tue, 6 Feb 2024 10:08:32 +0100
Organization: A noiseless patient Spider
Lines: 45
Message-ID: <upssug$qb8m$4@dont-email.me>
References: <up8i91$h6iu$1@dont-email.me> <up9hh3$m75n$3@dont-email.me>
<up9kc7$mkt1$2@dont-email.me> <up9uuj$rmmf$2@dont-email.me>
<upanta$vkgm$1@dont-email.me> <upb9ca$12je5$1@dont-email.me>
<upbi8o$14443$1@dont-email.me> <updt7h$1jc8a$1@dont-email.me>
<upeab3$1m2f4$1@dont-email.me> <upflbj$202rb$1@dont-email.me>
<upfve3$21uv7$1@dont-email.me> <upgcbm$246u1$1@dont-email.me>
<upgo72$26abt$1@dont-email.me> <20240201222328.00006859@yahoo.com>
<uph305$2867k$2@dont-email.me> <20240202005538.000054ff@yahoo.com>
<upi7i8$2h3eq$1@dont-email.me> <upirpd$2kdoe$1@dont-email.me>
<upjnje$2oup9$11@dont-email.me> <upjpbk$2pihr$1@dont-email.me>
<upleoi$34tr4$1@dont-email.me> <uplhrp$35e9i$1@dont-email.me>
<upo1cv$3lbbl$2@dont-email.me> <upo5b4$3m4fu$1@dont-email.me>
<upp43r$3s4nc$4@dont-email.me> <upp8s5$3tmdd$2@dont-email.me>
<upqipd$9c0k$1@dont-email.me> <uprop0$g01t$4@dont-email.me>
<20240205160331.829@kylheku.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 6 Feb 2024 09:08:32 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f29298bbadbcc23825f08716f2f2dee4";
logging-data="863510"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/aSWiQbDMbFhaykweMjcLuvgFKb1D8oWM="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:CWgpLYYfCGWlqoTosZMjd7G0QFQ=
In-Reply-To: <20240205160331.829@kylheku.com>
Content-Language: en-GB
 by: David Brown - Tue, 6 Feb 2024 09:08 UTC

On 06/02/2024 01:07, Kaz Kylheku wrote:
> On 2024-02-05, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>> On Mon, 5 Feb 2024 13:02:52 +0100, David Brown wrote:
>>
>>> It /is/ a consumer platform, yes. And because it has no standard ways
>>> to build software, and no one (approximately) using it wants to build
>>> software on it, the norm is to distribute code in binary form for
>>> Windows. That works out fine for almost all Windows users. That
>>> includes libraries - even C programmers on Windows don't want to build
>>> "libjpeg" or whatever, they want a DLL.
>>
>> But without integrated package management, how do you keep it all up to
>> date? If two separate apps use the same library, do they each end up with
>> their own version, or do they share one version? Does each app have to run
>> its own periodic background updater task to tell you there’s a new version
>> available?
>
> Windows has solved this problem. Executables find .DLL libraries in
> their own directory.
>
> You ship a program with the exact libraries it needs which you
> tested with and those are the ones it will use.
>

The two methods - a repository for common libraries, and individual
copies of the libraries for each program - have their advantages and
disadvantages.

If you have copies of the libraries for each program, that is
inefficient - bigger downloads and installs (which don't bother me, but
do bother some people), and extra copies in ram when running (which can
sometimes slow things down). The main problem, however, is that when a
serious bug is fixed, you need to wait for every individual program that
uses the library to be updated and provide a new release, then you have
to download them all anew.

If you have a common place for common libraries, updates of that library
are easy and only need to be done once when there is a fix. But now the
programs that are using it are not tested with the same version that you
have on your system, and there can be trouble if the API details change.
And you have the "DLL hell" possibility, though careful version
numbering and symbol links reduces that risk significantly.

There is no single "best" solution here.

Re: Experimental C Build System

<20240206135950.00001f20@yahoo.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: already5...@yahoo.com (Michael S)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: Experimental C Build System
Date: Tue, 6 Feb 2024 13:59:50 +0200
Organization: A noiseless patient Spider
Lines: 74
Message-ID: <20240206135950.00001f20@yahoo.com>
References: <up8i91$h6iu$1@dont-email.me>
<up9hh3$m75n$3@dont-email.me>
<up9kc7$mkt1$2@dont-email.me>
<up9uuj$rmmf$2@dont-email.me>
<upanta$vkgm$1@dont-email.me>
<upb9ca$12je5$1@dont-email.me>
<upbi8o$14443$1@dont-email.me>
<updt7h$1jc8a$1@dont-email.me>
<upeab3$1m2f4$1@dont-email.me>
<upflbj$202rb$1@dont-email.me>
<upfve3$21uv7$1@dont-email.me>
<upgcbm$246u1$1@dont-email.me>
<upgo72$26abt$1@dont-email.me>
<uph2pd$2867k$1@dont-email.me>
<uph5vq$28mbj$1@dont-email.me>
<upidn1$2i275$1@dont-email.me>
<20240202154531.00006289@yahoo.com>
<upj1ik$2ldkd$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="173f24eafc9afc1ce1d7767a2a211dd3";
logging-data="425906"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19GMUcUvliH+ljuz1aXVYvW9nwZpk4EpGQ="
Cancel-Lock: sha1:gSLgpDBwA5iAiZG4VoRFmwqEYC8=
X-Newsreader: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-w64-mingw32)
 by: Michael S - Tue, 6 Feb 2024 11:59 UTC

On Fri, 2 Feb 2024 16:26:12 +0100
David Brown <david.brown@hesbynett.no> wrote:

> On 02/02/2024 14:45, Michael S wrote:
> >
> > Actually, nowadays monolithic tools are solid majority in
> > programming. I mean, programming in general, not C/C++/Fortran
> > programming which by itself is a [sizable] minority.
> > Even in C++, a majority uses non-monolithic tools well-hidden behind
> > front end (IDE) that makes them indistinguishable from monolithic.
> >
>
> It can often be helpful to have a single point of interaction - a
> front-end that combines tools. But usually these are made of parts.
>
> For many of the microcontrollers I work with, the manufacturer's
> standard development toolset is based around Eclipse and gcc. From
> the user point of view, it looks a lot like one monolithic IDE that
> lets you write your code, compile and link it, and download and debug
> it on the microcontroller. Under the hood, it is far from a
> monolithic application. Different bits come from many different
> places. This means the microcontroller manufacturer is only making
> the bits that are specific to /their/ needs - such as special views
> while debugging, or "wizards" for configuring chip pins. The Eclipse
> folk are experts at making an editor and IDE, the gcc folks are
> experts at the compiler, the openocd folks know about jtag debugging,
> and so on. And to a fair extent, advanced users can use the bits
> they want and leave out other bits. I sometimes use other editors,
> but might still use the toolchain provided with the manufacturer's
> tools. I might swap out the debugger connection. I might use the
> IDE for something completely different. I might install additional
> features in the IDE. I might use different toolchains.
> Manufacturers, when putting things together, might change where they
> get their toolchains, or what debugging connectors they use. It's
> even been known for them to swap out the base IDE while keeping most
> of the rest the same (VS Code has become a popular choice now, and a
> few use NetBeans rather than Eclipse).
>
> (Oh, and for those that don't believe "make" and "gcc" work on
> Windows, these development tools invariably have "make" and almost
> invariably use gcc as their toolchain, all working in almost exactly
> the same way on Linux and Windows. The only difference is builds are
> faster on Linux.)
>
> This is getting the best (or at least, trying to) from all worlds.
> It gives people the ease-of-use advantages of monolithic tools
> without the key disadvantages of real monolithic tools - half-arse
> editors, half-arsed project managers, half-arsed compilers, and poor
> extensibility because the suppliers are trying to do far too much
> themselves.
>
> I don't think it is common now to have /real/ monolithic development
> tools. But it is common to have front-ends aimed at making the
> underlying tools easier and more efficient to use, and to provide
> all-in-one base packages.
>
>
>

First, you moved a goal post from monolithic compiler to monolithic IDE.
Second, you are still talking about C/C++/Fortran.
That's not where majority of software development goes this days.

The first most used language is JavaScript. Where exactly JavaScript dev
sees separate compiler and linker?
The second most used language is python. The same question here.
Even in more traditional compiled/jitted and mostly statically typed
programming environments like Java/Cotlin, .net, Swift, go, Rust, even
if they use separate tools for compiling, assembling, linking and build
management, it's all integrated in a way that even die-hard command-line
user does not know about separation.

Re: Experimental C Build System

<upt7qm$s5ov$4@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: Experimental C Build System
Date: Tue, 6 Feb 2024 13:14:14 +0100
Organization: A noiseless patient Spider
Lines: 94
Message-ID: <upt7qm$s5ov$4@dont-email.me>
References: <up8i91$h6iu$1@dont-email.me> <up9hh3$m75n$3@dont-email.me>
<up9kc7$mkt1$2@dont-email.me> <up9uuj$rmmf$2@dont-email.me>
<upanta$vkgm$1@dont-email.me> <upb9ca$12je5$1@dont-email.me>
<upbi8o$14443$1@dont-email.me> <updt7h$1jc8a$1@dont-email.me>
<upeab3$1m2f4$1@dont-email.me> <upflbj$202rb$1@dont-email.me>
<upfve3$21uv7$1@dont-email.me> <upgcbm$246u1$1@dont-email.me>
<upgo72$26abt$1@dont-email.me> <uph2pd$2867k$1@dont-email.me>
<uph5vq$28mbj$1@dont-email.me> <upidn1$2i275$1@dont-email.me>
<20240202154531.00006289@yahoo.com> <upj1ik$2ldkd$1@dont-email.me>
<20240206135950.00001f20@yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 6 Feb 2024 12:14:14 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f29298bbadbcc23825f08716f2f2dee4";
logging-data="923423"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+gD36pcRxTOIy4hWECqRh3iSVFrWqkF7E="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:l34D8n2ym+OxK83I3EB1fapcl7g=
Content-Language: en-GB
In-Reply-To: <20240206135950.00001f20@yahoo.com>
 by: David Brown - Tue, 6 Feb 2024 12:14 UTC

On 06/02/2024 12:59, Michael S wrote:
> On Fri, 2 Feb 2024 16:26:12 +0100
> David Brown <david.brown@hesbynett.no> wrote:
>
>> On 02/02/2024 14:45, Michael S wrote:
>>>
>>> Actually, nowadays monolithic tools are solid majority in
>>> programming. I mean, programming in general, not C/C++/Fortran
>>> programming which by itself is a [sizable] minority.
>>> Even in C++, a majority uses non-monolithic tools well-hidden behind
>>> front end (IDE) that makes them indistinguishable from monolithic.
>>>
>>
>> It can often be helpful to have a single point of interaction - a
>> front-end that combines tools. But usually these are made of parts.
>>
>> For many of the microcontrollers I work with, the manufacturer's
>> standard development toolset is based around Eclipse and gcc. From
>> the user point of view, it looks a lot like one monolithic IDE that
>> lets you write your code, compile and link it, and download and debug
>> it on the microcontroller. Under the hood, it is far from a
>> monolithic application. Different bits come from many different
>> places. This means the microcontroller manufacturer is only making
>> the bits that are specific to /their/ needs - such as special views
>> while debugging, or "wizards" for configuring chip pins. The Eclipse
>> folk are experts at making an editor and IDE, the gcc folks are
>> experts at the compiler, the openocd folks know about jtag debugging,
>> and so on. And to a fair extent, advanced users can use the bits
>> they want and leave out other bits. I sometimes use other editors,
>> but might still use the toolchain provided with the manufacturer's
>> tools. I might swap out the debugger connection. I might use the
>> IDE for something completely different. I might install additional
>> features in the IDE. I might use different toolchains.
>> Manufacturers, when putting things together, might change where they
>> get their toolchains, or what debugging connectors they use. It's
>> even been known for them to swap out the base IDE while keeping most
>> of the rest the same (VS Code has become a popular choice now, and a
>> few use NetBeans rather than Eclipse).
>>
>> (Oh, and for those that don't believe "make" and "gcc" work on
>> Windows, these development tools invariably have "make" and almost
>> invariably use gcc as their toolchain, all working in almost exactly
>> the same way on Linux and Windows. The only difference is builds are
>> faster on Linux.)
>>
>> This is getting the best (or at least, trying to) from all worlds.
>> It gives people the ease-of-use advantages of monolithic tools
>> without the key disadvantages of real monolithic tools - half-arse
>> editors, half-arsed project managers, half-arsed compilers, and poor
>> extensibility because the suppliers are trying to do far too much
>> themselves.
>>
>> I don't think it is common now to have /real/ monolithic development
>> tools. But it is common to have front-ends aimed at making the
>> underlying tools easier and more efficient to use, and to provide
>> all-in-one base packages.
>>
>>
>>
>
> First, you moved a goal post from monolithic compiler to monolithic IDE.
> Second, you are still talking about C/C++/Fortran.

I was thinking of compiled languages, yes.

> That's not where majority of software development goes this days.

Agreed.

>
> The first most used language is JavaScript. Where exactly JavaScript dev
> sees separate compiler and linker?
> The second most used language is python. The same question here.

Interpreted, byte-code compiled or JIT languages have a different model
entirely. But again, you have a front-end that appears monolithic,
hiding back-ends that are very far from monolithic. The language
front-end can come from one place, libraries from somewhere else, the VM
may be totally independent, and the JIT could be separate again. And if
you are using an IDE for it, as many do (regardless of the language),
you've got all the editors, revision control system, gui designer, HTML
previewer, and whatever else from another dozen independent sources and
all acting as one.

It is not monolithic by any means - but it /looks/ that way for user
convenience.

> Even in more traditional compiled/jitted and mostly statically typed
> programming environments like Java/Cotlin, .net, Swift, go, Rust, even
> if they use separate tools for compiling, assembling, linking and build
> management, it's all integrated in a way that even die-hard command-line
> user does not know about separation.
>

Re: Experimental C Build System

<20240206143229.00004a75@yahoo.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!news.chmurka.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: already5...@yahoo.com (Michael S)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: Experimental C Build System
Date: Tue, 6 Feb 2024 14:32:29 +0200
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <20240206143229.00004a75@yahoo.com>
References: <up8i91$h6iu$1@dont-email.me>
<up9hh3$m75n$3@dont-email.me>
<up9kc7$mkt1$2@dont-email.me>
<up9uuj$rmmf$2@dont-email.me>
<upanta$vkgm$1@dont-email.me>
<upb9ca$12je5$1@dont-email.me>
<upbi8o$14443$1@dont-email.me>
<updt7h$1jc8a$1@dont-email.me>
<upeab3$1m2f4$1@dont-email.me>
<upflbj$202rb$1@dont-email.me>
<upfve3$21uv7$1@dont-email.me>
<upgcbm$246u1$1@dont-email.me>
<upgo72$26abt$1@dont-email.me>
<uph2pd$2867k$1@dont-email.me>
<uph5vq$28mbj$1@dont-email.me>
<upidn1$2i275$1@dont-email.me>
<20240202154531.00006289@yahoo.com>
<upj1ik$2ldkd$1@dont-email.me>
<20240206135950.00001f20@yahoo.com>
<upt7qm$s5ov$4@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="173f24eafc9afc1ce1d7767a2a211dd3";
logging-data="425906"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+T4CYzOED9F1P3/D+fMyivrUcH84e0TDc="
Cancel-Lock: sha1:1q/20P064l0e5mQv1u0/yjxhmc8=
X-Newsreader: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-w64-mingw32)
 by: Michael S - Tue, 6 Feb 2024 12:32 UTC

On Tue, 6 Feb 2024 13:14:14 +0100
David Brown <david.brown@hesbynett.no> wrote:
>
> It is not monolithic by any means - but it /looks/ that way for user
> convenience.
>

And Bart wants the same for slightly extended variant of C, that's all.
According to my understanding, he does not care deeply about
distinction between "true monolithic" and integrated compiler + linker
+ build system as long as it looks like monolithic.
Or may be I should say that he will certainly express his unhappiness
about size and speed of looks-monolithic tool and about the fact that
they have to be installed, if they have to be installed, at least 20
times per week, but at least he will be reasonably satisfied with
functionality.

Re: Experimental C Build System

<uptf0r$tq8i$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: bc...@freeuk.com (bart)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: Experimental C Build System
Date: Tue, 6 Feb 2024 14:16:59 +0000
Organization: A noiseless patient Spider
Lines: 52
Message-ID: <uptf0r$tq8i$1@dont-email.me>
References: <up8i91$h6iu$1@dont-email.me> <up9hh3$m75n$3@dont-email.me>
<up9kc7$mkt1$2@dont-email.me> <up9uuj$rmmf$2@dont-email.me>
<upanta$vkgm$1@dont-email.me> <upb9ca$12je5$1@dont-email.me>
<upbi8o$14443$1@dont-email.me> <updt7h$1jc8a$1@dont-email.me>
<upeab3$1m2f4$1@dont-email.me> <upflbj$202rb$1@dont-email.me>
<upfve3$21uv7$1@dont-email.me> <upgcbm$246u1$1@dont-email.me>
<upgo72$26abt$1@dont-email.me> <uph2pd$2867k$1@dont-email.me>
<uph5vq$28mbj$1@dont-email.me> <upidn1$2i275$1@dont-email.me>
<20240202154531.00006289@yahoo.com> <upj1ik$2ldkd$1@dont-email.me>
<20240206135950.00001f20@yahoo.com> <upt7qm$s5ov$4@dont-email.me>
<20240206143229.00004a75@yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 6 Feb 2024 14:16:59 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="619fb8bd4c0fbec59919f1b2e0da5a34";
logging-data="977170"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/39y+/sXg9CaB42x/wy/WHfXAxSKiyTcI="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:tRhPhQ0+qIQrgyzKPm3E5xQKkp8=
In-Reply-To: <20240206143229.00004a75@yahoo.com>
Content-Language: en-GB
 by: bart - Tue, 6 Feb 2024 14:16 UTC

On 06/02/2024 12:32, Michael S wrote:
> On Tue, 6 Feb 2024 13:14:14 +0100
> David Brown <david.brown@hesbynett.no> wrote:
>>
>> It is not monolithic by any means - but it /looks/ that way for user
>> convenience.
>>
>
> And Bart wants the same for slightly extended variant of C, that's all.
> According to my understanding, he does not care deeply about
> distinction between "true monolithic" and integrated compiler + linker
> + build system as long as it looks like monolithic.
> Or may be I should say that he will certainly express his unhappiness
> about size and speed of looks-monolithic tool and about the fact that
> they have to be installed, if they have to be installed, at least 20
> times per week, but at least he will be reasonably satisfied with
> functionality.
>
>

The packaging of language installations is certainly one aspect that I'm
interested in. And my preference is to have as few files involved as
possible.

There is a trend now for newer languages to come as one giant
executable, although in practice they need a few more bits.

My own language projects do each come in one self-contained executable,
and are from 0.1MB to 0.6MB.

My original C compiler was also a single file, about 1MB.

My current one, because it is now private, is in 2-3 parts (mcc.exe,
aa.exe, about 360KB, and a discrete windows.h which was what took up
most of that 1MB). It behaves as though it is monolithic.

Regarding Tiny C, as it seems to be distributed, it requires a minimum
of 3 binaries (tcc.exe, libtcc.dll, libtcc1-64.a, about 220KB) in order
to build any of my generated-C applications. But for general use, it
needs a bunch of C header files too.

There are also products like Pico C, an interpreter, about 130KB
self-contained in one file, although it has limitations and is very slow
even for an interpreter. It could be adequate though for scripting builds.

I know David Brown doesn't like 'toy' implementations of C, but if you
need to bundle something for example, then the smaller and more
self-contained the better.

(FWIW, if I apply UPX compression to those examples, then Pico C reduces
to 32KB; my mcc/aa combo to 123KB, and tcc exe/lib/a combo to 141KB. But
the latter still needs discrete std header files.)

Re: Experimental C Build System

<NprwN.299925$Wp_8.110143@fx17.iad>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
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!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx17.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: Experimental C Build System
Newsgroups: comp.lang.c,comp.unix.programmer
References: <up8i91$h6iu$1@dont-email.me> <upi7i8$2h3eq$1@dont-email.me> <upirpd$2kdoe$1@dont-email.me> <upjnje$2oup9$11@dont-email.me> <upjpbk$2pihr$1@dont-email.me> <upleoi$34tr4$1@dont-email.me> <uplhrp$35e9i$1@dont-email.me> <upo1cv$3lbbl$2@dont-email.me> <upo5b4$3m4fu$1@dont-email.me> <upp43r$3s4nc$4@dont-email.me> <upp8s5$3tmdd$2@dont-email.me> <upqipd$9c0k$1@dont-email.me> <uprop0$g01t$4@dont-email.me> <uprqbs$gcv2$1@dont-email.me> <20240205160715.244@kylheku.com>
Lines: 9
Message-ID: <NprwN.299925$Wp_8.110143@fx17.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Tue, 06 Feb 2024 14:32:13 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Tue, 06 Feb 2024 14:32:13 GMT
X-Received-Bytes: 1436
 by: Scott Lurndal - Tue, 6 Feb 2024 14:32 UTC

Kaz Kylheku <433-929-6894@kylheku.com> writes:
>On 2024-02-05, Malcolm McLean <malcolm.arthur.mclean@gmail.com> wrote:

>
>The Glibc shared library loading mechanism doesn't implement the nice
>strategy of finding libraries in the same directory as the executable.

Sure it does, if you tell it to. viz. LD_LIBRARY_PATH.

Re: Experimental C Build System

<_xrwN.299926$Wp_8.33692@fx17.iad>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx17.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: Experimental C Build System
Newsgroups: comp.lang.c,comp.unix.programmer
References: <up8i91$h6iu$1@dont-email.me> <upirpd$2kdoe$1@dont-email.me> <upjnje$2oup9$11@dont-email.me> <upjpbk$2pihr$1@dont-email.me> <upleoi$34tr4$1@dont-email.me> <uplhrp$35e9i$1@dont-email.me> <upo1cv$3lbbl$2@dont-email.me> <upo5b4$3m4fu$1@dont-email.me> <upp43r$3s4nc$4@dont-email.me> <upp8s5$3tmdd$2@dont-email.me> <upqipd$9c0k$1@dont-email.me> <uprop0$g01t$4@dont-email.me> <uprqbs$gcv2$1@dont-email.me> <20240205160715.244@kylheku.com> <NprwN.299925$Wp_8.110143@fx17.iad>
Lines: 21
Message-ID: <_xrwN.299926$Wp_8.33692@fx17.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Tue, 06 Feb 2024 14:40:58 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Tue, 06 Feb 2024 14:40:58 GMT
X-Received-Bytes: 2089
 by: Scott Lurndal - Tue, 6 Feb 2024 14:40 UTC

scott@slp53.sl.home (Scott Lurndal) writes:
>Kaz Kylheku <433-929-6894@kylheku.com> writes:
>>On 2024-02-05, Malcolm McLean <malcolm.arthur.mclean@gmail.com> wrote:
>
>>
>>The Glibc shared library loading mechanism doesn't implement the nice
>>strategy of finding libraries in the same directory as the executable.
>
>Sure it does, if you tell it to. viz. LD_LIBRARY_PATH.
>

The tool we build consists of 157 shared objects. The libraries
are stored in tool-specific library directory; the main application
consists of a shared object and a very small executable containing
'main' (or a python 'shim' built using swig(1)).

The remaining shared objects are dynamically loaded if and as
necessary. There is no possibility of a library clash with either other
applications or different versions of the same application, yet
all active instances of the same version of the tool executing
on a given host will share the memory resident library text pages.

Re: Experimental C Build System

<uptl64$ur6f$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: Experimental C Build System
Date: Tue, 6 Feb 2024 17:02:12 +0100
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <uptl64$ur6f$1@dont-email.me>
References: <up8i91$h6iu$1@dont-email.me> <up9hh3$m75n$3@dont-email.me>
<up9kc7$mkt1$2@dont-email.me> <up9uuj$rmmf$2@dont-email.me>
<upanta$vkgm$1@dont-email.me> <upb9ca$12je5$1@dont-email.me>
<upbi8o$14443$1@dont-email.me> <updt7h$1jc8a$1@dont-email.me>
<upeab3$1m2f4$1@dont-email.me> <upflbj$202rb$1@dont-email.me>
<upfve3$21uv7$1@dont-email.me> <upgcbm$246u1$1@dont-email.me>
<upgo72$26abt$1@dont-email.me> <uph2pd$2867k$1@dont-email.me>
<uph5vq$28mbj$1@dont-email.me> <upidn1$2i275$1@dont-email.me>
<20240202154531.00006289@yahoo.com> <upj1ik$2ldkd$1@dont-email.me>
<20240206135950.00001f20@yahoo.com> <upt7qm$s5ov$4@dont-email.me>
<20240206143229.00004a75@yahoo.com> <uptf0r$tq8i$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 6 Feb 2024 16:02:12 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f29298bbadbcc23825f08716f2f2dee4";
logging-data="1010895"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/va9Nqxlh4bRmtcHlFwiRusY1dbdCQUv8="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:e4VEe0BUWBUMcXYYQoJA28QZcTk=
In-Reply-To: <uptf0r$tq8i$1@dont-email.me>
Content-Language: en-GB
 by: David Brown - Tue, 6 Feb 2024 16:02 UTC

On 06/02/2024 15:16, bart wrote:
> There are also products like Pico C, an interpreter, about 130KB
> self-contained in one file, although it has limitations and is very slow
> even for an interpreter. It could be adequate though for scripting builds.
>
> I know David Brown doesn't like 'toy' implementations of C, but if you
> need to bundle something for example, then the smaller and more
> self-contained the better.
>

Just to be clear - you can have as many "toy" implementations of C as
you like. And sometimes small, fast, limited tools are useful - such as
if you want to have a C "interpreter".

(I can't see the point myself - there are better languages for
scripting, and they are not difficult to learn to the level you need for
scripting. Even your own scripting languages are a better choice than
interpreted C for pretty much any use.)

What I don't agree with is the idea that such small C implementations
are a viable replace for, or even better than, serious tools like gcc,
clang, icc, MSVC, Green Hills, Metrowerks, and other major compilers.

I am quite happy to accept that "small and fast" is a good thing - I
just don't give it anything like the weighting you do, at least for
normal compiler use.

Re: Experimental C Build System

<20240206085854.142@kylheku.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!newsfeed.endofthelinebbs.com!news.hispagatos.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 433-929-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: Experimental C Build System
Date: Tue, 6 Feb 2024 16:59:51 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <20240206085854.142@kylheku.com>
References: <up8i91$h6iu$1@dont-email.me> <upi7i8$2h3eq$1@dont-email.me>
<upirpd$2kdoe$1@dont-email.me> <upjnje$2oup9$11@dont-email.me>
<upjpbk$2pihr$1@dont-email.me> <upleoi$34tr4$1@dont-email.me>
<uplhrp$35e9i$1@dont-email.me> <upo1cv$3lbbl$2@dont-email.me>
<upo5b4$3m4fu$1@dont-email.me> <upp43r$3s4nc$4@dont-email.me>
<upp8s5$3tmdd$2@dont-email.me> <upqipd$9c0k$1@dont-email.me>
<uprop0$g01t$4@dont-email.me> <uprqbs$gcv2$1@dont-email.me>
<20240205160715.244@kylheku.com> <NprwN.299925$Wp_8.110143@fx17.iad>
Injection-Date: Tue, 6 Feb 2024 16:59:51 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a112f49d5e72d19646dc68722a58d18c";
logging-data="1034850"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18rbUZVRS5sAMwZIvlAhf1XBiBXmH7yzYs="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:QKehycWr2fmi50+3FwoK+KYjTVE=
 by: Kaz Kylheku - Tue, 6 Feb 2024 16:59 UTC

On 2024-02-06, Scott Lurndal <scott@slp53.sl.home> wrote:
> Kaz Kylheku <433-929-6894@kylheku.com> writes:
>>On 2024-02-05, Malcolm McLean <malcolm.arthur.mclean@gmail.com> wrote:
>
>>
>>The Glibc shared library loading mechanism doesn't implement the nice
>>strategy of finding libraries in the same directory as the executable.
>
> Sure it does, if you tell it to. viz. LD_LIBRARY_PATH.

Ah, that has this $ORIGIN mechanism now.

Even if the distro doesn't have that in its LD_LIBRARY_PATH,
you can put that into your executable's rpath.

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

Re: Experimental C Build System

<GDvwN.54381$Iswd.16383@fx05.iad>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx05.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: Experimental C Build System
Newsgroups: comp.lang.c,comp.unix.programmer
References: <up8i91$h6iu$1@dont-email.me> <upjnje$2oup9$11@dont-email.me> <upjpbk$2pihr$1@dont-email.me> <upleoi$34tr4$1@dont-email.me> <uplhrp$35e9i$1@dont-email.me> <upo1cv$3lbbl$2@dont-email.me> <upo5b4$3m4fu$1@dont-email.me> <upp43r$3s4nc$4@dont-email.me> <upp8s5$3tmdd$2@dont-email.me> <upqipd$9c0k$1@dont-email.me> <uprop0$g01t$4@dont-email.me> <uprqbs$gcv2$1@dont-email.me> <20240205160715.244@kylheku.com> <NprwN.299925$Wp_8.110143@fx17.iad> <20240206085854.142@kylheku.com>
Lines: 20
Message-ID: <GDvwN.54381$Iswd.16383@fx05.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Tue, 06 Feb 2024 19:20:06 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Tue, 06 Feb 2024 19:20:06 GMT
X-Received-Bytes: 1874
 by: Scott Lurndal - Tue, 6 Feb 2024 19:20 UTC

Kaz Kylheku <433-929-6894@kylheku.com> writes:
>On 2024-02-06, Scott Lurndal <scott@slp53.sl.home> wrote:
>> Kaz Kylheku <433-929-6894@kylheku.com> writes:
>>>On 2024-02-05, Malcolm McLean <malcolm.arthur.mclean@gmail.com> wrote:
>>
>>>
>>>The Glibc shared library loading mechanism doesn't implement the nice
>>>strategy of finding libraries in the same directory as the executable.
>>
>> Sure it does, if you tell it to. viz. LD_LIBRARY_PATH.
>
>Ah, that has this $ORIGIN mechanism now.
>
>Even if the distro doesn't have that in its LD_LIBRARY_PATH,
>you can put that into your executable's rpath.

LD_LIBRARY_PATH isn't a distro thing, its a shell thing
interpreted by the dynamic linker. The dynamic linker has
a set of default paths that it uses, set by the distro,
which can be overridden in LD_LIBRARY_PATH by each user.

Re: Experimental C Build System

<upu4uq$11f6i$5@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo...@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: Experimental C Build System
Date: Tue, 6 Feb 2024 20:31:23 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 89
Message-ID: <upu4uq$11f6i$5@dont-email.me>
References: <up8i91$h6iu$1@dont-email.me> <up9hh3$m75n$3@dont-email.me>
<up9kc7$mkt1$2@dont-email.me> <up9uuj$rmmf$2@dont-email.me>
<upanta$vkgm$1@dont-email.me> <upb9ca$12je5$1@dont-email.me>
<upbi8o$14443$1@dont-email.me> <updt7h$1jc8a$1@dont-email.me>
<upeab3$1m2f4$1@dont-email.me> <upflbj$202rb$1@dont-email.me>
<upfve3$21uv7$1@dont-email.me> <upgcbm$246u1$1@dont-email.me>
<upgo72$26abt$1@dont-email.me> <uph2pd$2867k$1@dont-email.me>
<uph5vq$28mbj$1@dont-email.me> <upidn1$2i275$1@dont-email.me>
<20240202154531.00006289@yahoo.com> <upj1ik$2ldkd$1@dont-email.me>
<20240206135950.00001f20@yahoo.com> <upt7qm$s5ov$4@dont-email.me>
<20240206143229.00004a75@yahoo.com> <uptf0r$tq8i$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 6 Feb 2024 20:31:23 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="270a7c68e94c2ddf281de70be3fd9b72";
logging-data="1096914"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX190QAL53SOyfMgVSWF6tIMq"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:JCiGK+5eXtuQ/NsEsjsdfTvP7U0=
 by: Lawrence D'Oliv - Tue, 6 Feb 2024 20:31 UTC

On Tue, 6 Feb 2024 14:16:59 +0000, bart wrote:

> There is a trend now for newer languages to come as one giant
> executable ...

I don’t know where you get that idea:

ldo@theon:~> dpkg-query -L python3.11
/.
/usr
/usr/bin
/usr/bin/pydoc3.11
/usr/bin/pygettext3.11
/usr/lib
/usr/lib/python3
/usr/lib/python3/dist-packages
/usr/lib/python3.11
/usr/lib/python3.11/lib-dynload
/usr/share
/usr/share/applications
/usr/share/applications/python3.11.desktop
/usr/share/doc
/usr/share/doc/python3.11
/usr/share/doc/python3.11/ACKS.gz
/usr/share/doc/python3.11/NEWS.gz
/usr/share/doc/python3.11/README.Debian
/usr/share/doc/python3.11/README.rst.gz
/usr/share/doc/python3.11/README.venv
/usr/share/doc/python3.11/changelog.Debian.gz
/usr/share/doc/python3.11/copyright
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/python3.11
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/pdb3.11.1.gz
/usr/share/man/man1/pydoc3.11.1.gz
/usr/share/man/man1/pygettext3.11.1.gz
/usr/share/man/man1/pysetup3.11.1.gz
/usr/share/pixmaps
/usr/share/pixmaps/python3.11.xpm
/usr/bin/pdb3.11
/usr/share/doc/python3.11/changelog.gz

Of course, that isn’t all of it:

ldo@theon:~> apt-cache depends python3.11
python3.11
Depends: python3.11-minimal
Depends: libpython3.11-stdlib
|Depends: media-types
Depends: mime-support
Breaks: python3-all
Breaks: python3-dev
Breaks: python3-venv
Recommends: ca-certificates
Suggests: python3.11-venv
Suggests: python3.11-doc
Suggests: binutils

The actual “python3” executable is in here:

ldo@theon:~> dpkg-query -L python3.11-minimal
/.
/usr
/usr/bin
/usr/bin/python3.11
/usr/lib
/usr/lib/binfmt.d
/usr/lib/binfmt.d/python3.11.conf
/usr/share
/usr/share/binfmts
/usr/share/binfmts/python3.11
/usr/share/doc
/usr/share/doc/python3.11-minimal
/usr/share/doc/python3.11-minimal/README.Debian.gz
/usr/share/doc/python3.11-minimal/changelog.Debian.gz
/usr/share/doc/python3.11-minimal/copyright
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/python3.11-minimal
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/python3.11.1.gz

Is this your idea of a “giant” executable?

ldo@theon:~> ls -lL /usr/bin/python3
-rwxr-xr-x 1 root root 6784920 Dec 9 03:22 /usr/bin/python3

Re: Experimental C Build System

<upu51h$11f6i$6@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo...@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: Experimental C Build System
Date: Tue, 6 Feb 2024 20:32:49 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <upu51h$11f6i$6@dont-email.me>
References: <up8i91$h6iu$1@dont-email.me> <upjnje$2oup9$11@dont-email.me>
<upjpbk$2pihr$1@dont-email.me> <upleoi$34tr4$1@dont-email.me>
<uplhrp$35e9i$1@dont-email.me> <upo1cv$3lbbl$2@dont-email.me>
<upo5b4$3m4fu$1@dont-email.me> <upp43r$3s4nc$4@dont-email.me>
<upp8s5$3tmdd$2@dont-email.me> <upqipd$9c0k$1@dont-email.me>
<uprop0$g01t$4@dont-email.me> <uprqbs$gcv2$1@dont-email.me>
<20240205160715.244@kylheku.com> <NprwN.299925$Wp_8.110143@fx17.iad>
<20240206085854.142@kylheku.com> <GDvwN.54381$Iswd.16383@fx05.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 6 Feb 2024 20:32:49 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="270a7c68e94c2ddf281de70be3fd9b72";
logging-data="1096914"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+eTQzDLygT7+jt+JmFu5jx"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:Uah8SD5TDeHja0IQ0O1zIuvtli0=
 by: Lawrence D'Oliv - Tue, 6 Feb 2024 20:32 UTC

On Tue, 06 Feb 2024 19:20:06 GMT, Scott Lurndal wrote:

> LD_LIBRARY_PATH isn't a distro thing, its a shell thing
> interpreted by the dynamic linker. The dynamic linker has
> a set of default paths that it uses, set by the distro,
> which can be overridden in LD_LIBRARY_PATH by each user.

It’s a GNU thing, I think.

Re: Experimental C Build System

<rJwwN.204959$yEgf.174343@fx09.iad>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.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: Experimental C Build System
Newsgroups: comp.lang.c,comp.unix.programmer
References: <up8i91$h6iu$1@dont-email.me> <upleoi$34tr4$1@dont-email.me> <uplhrp$35e9i$1@dont-email.me> <upo1cv$3lbbl$2@dont-email.me> <upo5b4$3m4fu$1@dont-email.me> <upp43r$3s4nc$4@dont-email.me> <upp8s5$3tmdd$2@dont-email.me> <upqipd$9c0k$1@dont-email.me> <uprop0$g01t$4@dont-email.me> <uprqbs$gcv2$1@dont-email.me> <20240205160715.244@kylheku.com> <NprwN.299925$Wp_8.110143@fx17.iad> <20240206085854.142@kylheku.com> <GDvwN.54381$Iswd.16383@fx05.iad> <upu51h$11f6i$6@dont-email.me>
Lines: 14
Message-ID: <rJwwN.204959$yEgf.174343@fx09.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Tue, 06 Feb 2024 20:34:31 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Tue, 06 Feb 2024 20:34:31 GMT
X-Received-Bytes: 1633
 by: Scott Lurndal - Tue, 6 Feb 2024 20:34 UTC

Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>On Tue, 06 Feb 2024 19:20:06 GMT, Scott Lurndal wrote:
>
>> LD_LIBRARY_PATH isn't a distro thing, its a shell thing
>> interpreted by the dynamic linker. The dynamic linker has
>> a set of default paths that it uses, set by the distro,
>> which can be overridden in LD_LIBRARY_PATH by each user.
>
>It’s a GNU thing, I think.

LD_LIBRARY_PATH was originally a "sunos" thing, and was adopted
by SVR4 when they added support for shared objects.

Predates GNU.

Re: Experimental C Build System

<upu60c$vc7e$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: lew.pitc...@digitalfreehold.ca (Lew Pitcher)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: Experimental C Build System
Date: Tue, 6 Feb 2024 20:49:16 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <upu60c$vc7e$2@dont-email.me>
References: <up8i91$h6iu$1@dont-email.me> <upjnje$2oup9$11@dont-email.me>
<upjpbk$2pihr$1@dont-email.me> <upleoi$34tr4$1@dont-email.me>
<uplhrp$35e9i$1@dont-email.me> <upo1cv$3lbbl$2@dont-email.me>
<upo5b4$3m4fu$1@dont-email.me> <upp43r$3s4nc$4@dont-email.me>
<upp8s5$3tmdd$2@dont-email.me> <upqipd$9c0k$1@dont-email.me>
<uprop0$g01t$4@dont-email.me> <uprqbs$gcv2$1@dont-email.me>
<20240205160715.244@kylheku.com> <NprwN.299925$Wp_8.110143@fx17.iad>
<20240206085854.142@kylheku.com> <GDvwN.54381$Iswd.16383@fx05.iad>
<upu51h$11f6i$6@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 6 Feb 2024 20:49:16 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e6a07a32e0c2f15274a42ec89675d32e";
logging-data="1028334"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18mQ2FUN1a0mO0J1kxV/8btEEdHY5Iz8ao="
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
Cancel-Lock: sha1:F1KFmvK4r82hhi/v+oOEbWc1raQ=
 by: Lew Pitcher - Tue, 6 Feb 2024 20:49 UTC

On Tue, 06 Feb 2024 20:32:49 +0000, Lawrence D'Oliveiro wrote:

> On Tue, 06 Feb 2024 19:20:06 GMT, Scott Lurndal wrote:
>
>> LD_LIBRARY_PATH isn't a distro thing, its a shell thing
>> interpreted by the dynamic linker. The dynamic linker has
>> a set of default paths that it uses, set by the distro,
>> which can be overridden in LD_LIBRARY_PATH by each user.
>
> It’s a GNU thing, I think.

It's a UNIX thing. GNU supports it, as it supports other
UNIX requirements.

--
Lew Pitcher
"In Skills We Trust"

Re: Experimental C Build System

<87h6ili9nw.fsf@nosuchdomain.example.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith.S....@gmail.com (Keith Thompson)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: Experimental C Build System
Date: Tue, 06 Feb 2024 13:07:31 -0800
Organization: None to speak of
Lines: 20
Message-ID: <87h6ili9nw.fsf@nosuchdomain.example.com>
References: <up8i91$h6iu$1@dont-email.me> <upjnje$2oup9$11@dont-email.me>
<upjpbk$2pihr$1@dont-email.me> <upleoi$34tr4$1@dont-email.me>
<uplhrp$35e9i$1@dont-email.me> <upo1cv$3lbbl$2@dont-email.me>
<upo5b4$3m4fu$1@dont-email.me> <upp43r$3s4nc$4@dont-email.me>
<upp8s5$3tmdd$2@dont-email.me> <upqipd$9c0k$1@dont-email.me>
<uprop0$g01t$4@dont-email.me> <uprqbs$gcv2$1@dont-email.me>
<20240205160715.244@kylheku.com> <NprwN.299925$Wp_8.110143@fx17.iad>
<20240206085854.142@kylheku.com> <GDvwN.54381$Iswd.16383@fx05.iad>
<upu51h$11f6i$6@dont-email.me> <upu60c$vc7e$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="4718b0a0ab2e3c1c2260eb363d68ae7d";
logging-data="1121427"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX188kFAC2k6DKsPrVF4uDnFb"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:bP6kRjRq0wVGw2kPgwILT552YiY=
sha1:VPXK2edt0U/jucF6KBCCcZ7x2J0=
 by: Keith Thompson - Tue, 6 Feb 2024 21:07 UTC

Lew Pitcher <lew.pitcher@digitalfreehold.ca> writes:
> On Tue, 06 Feb 2024 20:32:49 +0000, Lawrence D'Oliveiro wrote:
>> On Tue, 06 Feb 2024 19:20:06 GMT, Scott Lurndal wrote:
>>> LD_LIBRARY_PATH isn't a distro thing, its a shell thing
>>> interpreted by the dynamic linker. The dynamic linker has
>>> a set of default paths that it uses, set by the distro,
>>> which can be overridden in LD_LIBRARY_PATH by each user.
>>
>> It’s a GNU thing, I think.
>
> It's a UNIX thing. GNU supports it, as it supports other
> UNIX requirements.

Where is it documented as a UNIX requirement? POSIX doesn't seem to
mention it.

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Medtronic
void Void(void) { Void(); } /* The recursive call of the void */

Re: Experimental C Build System

<20240206130425.319@kylheku.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 433-929-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: Experimental C Build System
Date: Tue, 6 Feb 2024 21:09:14 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <20240206130425.319@kylheku.com>
References: <up8i91$h6iu$1@dont-email.me> <upjnje$2oup9$11@dont-email.me>
<upjpbk$2pihr$1@dont-email.me> <upleoi$34tr4$1@dont-email.me>
<uplhrp$35e9i$1@dont-email.me> <upo1cv$3lbbl$2@dont-email.me>
<upo5b4$3m4fu$1@dont-email.me> <upp43r$3s4nc$4@dont-email.me>
<upp8s5$3tmdd$2@dont-email.me> <upqipd$9c0k$1@dont-email.me>
<uprop0$g01t$4@dont-email.me> <uprqbs$gcv2$1@dont-email.me>
<20240205160715.244@kylheku.com> <NprwN.299925$Wp_8.110143@fx17.iad>
<20240206085854.142@kylheku.com> <GDvwN.54381$Iswd.16383@fx05.iad>
<upu51h$11f6i$6@dont-email.me> <upu60c$vc7e$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 6 Feb 2024 21:09:14 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a112f49d5e72d19646dc68722a58d18c";
logging-data="1121157"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX193IE4exwdZveo1aIW7jMOXM0Zn/sNrTlA="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:kxjU6BSKsjDb6mrVcP8QC1mH+Sw=
 by: Kaz Kylheku - Tue, 6 Feb 2024 21:09 UTC

On 2024-02-06, Lew Pitcher <lew.pitcher@digitalfreehold.ca> wrote:
> On Tue, 06 Feb 2024 20:32:49 +0000, Lawrence D'Oliveiro wrote:
>
>> On Tue, 06 Feb 2024 19:20:06 GMT, Scott Lurndal wrote:
>>
>>> LD_LIBRARY_PATH isn't a distro thing, its a shell thing
>>> interpreted by the dynamic linker. The dynamic linker has
>>> a set of default paths that it uses, set by the distro,
>>> which can be overridden in LD_LIBRARY_PATH by each user.
>>
>> It’s a GNU thing, I think.
>
> It's a UNIX thing. GNU supports it, as it supports other
> UNIX requirements.

I can't find any mention of LD_LIBRARY_PATH in SuS.
Not under dlopen or anywhere else.

I'm looking at (pretty old) Solaris documentation. It has the $ORIGIN
variable suppoted in both LD_LIBRARY_PATH and the internal path you can
set in executables.

I also found a 1998-08 commit from Ulrich Drepper adding the expansion
support with ORIGIN.

I think the documentation of it may have lagged behind, that's all,
but we have had it "forever".

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

Re: Experimental C Build System

<gGxwN.67769$IfLe.16448@fx36.iad>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!news.nntp4.net!newsfeed.hasname.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx36.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: Experimental C Build System
Newsgroups: comp.lang.c,comp.unix.programmer
References: <up8i91$h6iu$1@dont-email.me> <upo1cv$3lbbl$2@dont-email.me> <upo5b4$3m4fu$1@dont-email.me> <upp43r$3s4nc$4@dont-email.me> <upp8s5$3tmdd$2@dont-email.me> <upqipd$9c0k$1@dont-email.me> <uprop0$g01t$4@dont-email.me> <uprqbs$gcv2$1@dont-email.me> <20240205160715.244@kylheku.com> <NprwN.299925$Wp_8.110143@fx17.iad> <20240206085854.142@kylheku.com> <GDvwN.54381$Iswd.16383@fx05.iad> <upu51h$11f6i$6@dont-email.me> <upu60c$vc7e$2@dont-email.me> <87h6ili9nw.fsf@nosuchdomain.example.com>
Lines: 29
Message-ID: <gGxwN.67769$IfLe.16448@fx36.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Tue, 06 Feb 2024 21:39:24 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Tue, 06 Feb 2024 21:39:24 GMT
X-Received-Bytes: 2274
 by: Scott Lurndal - Tue, 6 Feb 2024 21:39 UTC

Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
>Lew Pitcher <lew.pitcher@digitalfreehold.ca> writes:
>> On Tue, 06 Feb 2024 20:32:49 +0000, Lawrence D'Oliveiro wrote:
>>> On Tue, 06 Feb 2024 19:20:06 GMT, Scott Lurndal wrote:
>>>> LD_LIBRARY_PATH isn't a distro thing, its a shell thing
>>>> interpreted by the dynamic linker. The dynamic linker has
>>>> a set of default paths that it uses, set by the distro,
>>>> which can be overridden in LD_LIBRARY_PATH by each user.
>>>
>>> It’s a GNU thing, I think.
>>
>> It's a UNIX thing. GNU supports it, as it supports other
>> UNIX requirements.
>
>Where is it documented as a UNIX requirement? POSIX doesn't seem to
>mention it.

I suspect Lew meant lower-case unix, from whence it originated
(sunos -> svr4 -> linux), rather than the Single Unix Specification
from which the trademark derives and which has been folded in with
POSIX 1003.

The SuS doesn't discuss the details of run-time linking outside
of specifying dlopen/dlsym/dlclose/dlerror:

"The class of executable object files eligible for this operation
and the manner of their construction are implementation-defined,
though typically such files are shared libraries or programs."


devel / comp.lang.c / Re: Experimental C Build System

Pages:1234567891011121314151617
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor