Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"jackpot: you may have an unnecessary change record" -- message from "diff"


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

<WJxwN.67770$IfLe.46396@fx36.iad>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.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> <20240206130425.319@kylheku.com>
Lines: 39
Message-ID: <WJxwN.67770$IfLe.46396@fx36.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Tue, 06 Feb 2024 21:43:18 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Tue, 06 Feb 2024 21:43:18 GMT
X-Received-Bytes: 2671
 by: Scott Lurndal - Tue, 6 Feb 2024 21:43 UTC

Kaz Kylheku <433-929-6894@kylheku.com> writes:
>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".

At least since circa 1989 when sunos added it. SVR4 was a merge between the
follow-on to SVR3 and sunos (which became Solaris), thus SVR4 inheritied
LD_LIBRARY_PATH from
sunos along with the sun dynamic linking capability (SVR3 had static
shared libraries - very painful to use as each library had to be linked
at a fixed VA, unique amongst all other shared libraries). Given a
2GB user va space, choosing an address for a new library became very
difficult.

Whether linux got it from Solaris or SVR4 probably doesn't much matter.

Re: Experimental C Build System

<upugl6$13mlp$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: janis_pa...@hotmail.com (Janis Papanagnou)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: Experimental C Build System
Date: Wed, 7 Feb 2024 00:51:02 +0100
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <upugl6$13mlp$1@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 23:51:02 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="932d5bc547d1d3ec44f5317ce79a50bb";
logging-data="1170105"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18CHIixINENWkKGvlv7kkln"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:EaaJ13tAmIxFODR9rWsMLSnpSGs=
In-Reply-To: <upu51h$11f6i$6@dont-email.me>
 by: Janis Papanagnou - Tue, 6 Feb 2024 23:51 UTC

On 06.02.2024 21:32, 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.

I think we've used it on AIX and HP-UX already.

Janis

Re: Experimental C Build System

<20240206180930.963@kylheku.com>

  copy mid

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

  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: Wed, 7 Feb 2024 02:18:08 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <20240206180930.963@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> <upugl6$13mlp$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 7 Feb 2024 02:18:08 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="bf1934f5db7d76986789f78e21bd7c17";
logging-data="1208171"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19CF4wbqA7n2w+qVdNwzT/17BOm7RklZDs="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:Ppr5fVbl9zXK22KIRzd8wzLQmck=
 by: Kaz Kylheku - Wed, 7 Feb 2024 02:18 UTC

On 2024-02-06, Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
> On 06.02.2024 21:32, 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.
>
> I think we've used it on AIX and HP-UX already.

Some IBM documentation I was able to dig up on the web says that AIX 5.3
[2004] introduced LD_LIBRARY_PATH; before that it was LIBPATH in AIX
5.1, which continues to work. Nothing about the $SOURCE expansion.

The GCC Compile Farm Project has an AIX machine. I'm logging in there
now. Looks like the "load" and "dlopen" man pages reference
LD_LIBRARY_PATH. None of them mention any interpolation of parameters
being supported. It probably doesn't exist.

--
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

<upurj2$14cqf$1@dont-email.me>

  copy mid

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

  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: val...@cultnix.org (vallor)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: Experimental C Build System
Date: Wed, 7 Feb 2024 02:57:39 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 55
Message-ID: <upurj2$14cqf$1@dont-email.me>
References: <up8i91$h6iu$1@dont-email.me> <upidn1$2i275$1@dont-email.me>
<upitc7$2kmuj$1@dont-email.me> <upj1t2$2ldkd$2@dont-email.me>
<upj72s$2md0u$1@dont-email.me> <87ttmqogrk.fsf@nosuchdomain.example.com>
<upjh6e$2o5vo$1@dont-email.me> <upjmhf$2oup9$5@dont-email.me>
<upjo5f$2pc52$1@dont-email.me> <upk516$2r6q8$2@dont-email.me>
<uplaqh$3494t$1@dont-email.me> <20240203082517.687@kylheku.com>
<upm4i9$38qq7$1@dont-email.me> <upoiks$3o7ig$4@dont-email.me>
<uporeb$3qev4$1@dont-email.me> <QQSvN.294647$Wp_8.94897@fx17.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 7 Feb 2024 02:57:39 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c672ecd89ac22216e6b8acf7a4a02eb9";
logging-data="1192783"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/+hLUYtTEl3uRaE6ncdwWT"
User-Agent: Pan/0.155 (Kherson; c0bf34e gitlab.gnome.org/GNOME/pan.git;
x86_64-pc-linux-gnu)
Cancel-Lock: sha1:bBFYX4wrU5wXQ10WdV76Ge0BAN0=
X-Face: \}2`P"_@pS86<'EM:'b.Ml}8IuMK"pV"?FReF$'c.S%u9<Q#U*4QO)$l81M`{Q/n
XL'`91kd%N::LG:=*\35JS0prp\VJN^<s"b#bff@fA7]5lJA.jn,x_d%Md$,{.EZ
 by: vallor - Wed, 7 Feb 2024 02:57 UTC

On Sun, 04 Feb 2024 20:55:12 GMT, scott@slp53.sl.home (Scott Lurndal)
wrote in <QQSvN.294647$Wp_8.94897@fx17.iad>:

> bart <bc@freeuk.com> writes:
>>On 04/02/2024 17:48, David Brown wrote:
>>> On 03/02/2024 20:35, bart wrote:
>>
>>>> It is Windows that places more store by file extensions, which Linux
>>>> people say is a bad thing.
>>>>
>>>
>>> Windows is too dependent on them, and too trusting.
>>
>>>> But above you say that is the advantage of Linux.
>>>
>>> Yes, it's a hands-down win for Linux (and other *nix) in this aspect.
>>
>>Yet it is Linux (manifested via gcc) where it ASSUMES .x is a linker
>
> I've never seen a '.x ' suffix. Ever. And I use linker scripts
> regularly.

This was the first I'd heard about them in this context, but Open
Network Computing's RPC (ONCRPC, was SunRPC) does use .x files
for its RPC specifications.

ONCRPC is a system for generating C stubs for network
services, and it is (was?) also used to specify
UNIX services like NFS and NIS. The Sun of yore
were, indeed, good denizens of the Net. (So, crossposting
conditions satisfied...I think?)

Anyway, if you have the "standard" .x files
installed on Linux Mint, they live in

/usr/include/rpcsvc/

Also, there are linker scripts that end in ".x"
which on my system live here:

/usr/lib/x86_64-linux-gnu/ldscripts/

Fascinating to read -- and way over my head. (The
man page for GNU ld says they are
"AT&T's Link Editor Command Language syntax".) I'm
not sure how often an average programmer would look
around in there.

In any event, the ".x" files in that directory are in
the minority...

--
-v
(cue music for "The X Files")
$ locate -r "\.x$"

Re: Experimental C Build System

<upusql$158lc$1@dont-email.me>

  copy mid

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

  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: Wed, 7 Feb 2024 03:18:45 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <upusql$158lc$1@dont-email.me>
References: <up8i91$h6iu$1@dont-email.me> <upidn1$2i275$1@dont-email.me>
<upitc7$2kmuj$1@dont-email.me> <upj1t2$2ldkd$2@dont-email.me>
<upj72s$2md0u$1@dont-email.me> <87ttmqogrk.fsf@nosuchdomain.example.com>
<upjh6e$2o5vo$1@dont-email.me> <upjmhf$2oup9$5@dont-email.me>
<upjo5f$2pc52$1@dont-email.me> <upk516$2r6q8$2@dont-email.me>
<uplaqh$3494t$1@dont-email.me> <20240203082517.687@kylheku.com>
<upm4i9$38qq7$1@dont-email.me> <upoiks$3o7ig$4@dont-email.me>
<uporeb$3qev4$1@dont-email.me> <QQSvN.294647$Wp_8.94897@fx17.iad>
<upurj2$14cqf$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 7 Feb 2024 03:18:45 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="87da2abddfa5f5dbc2cb1bd358cf6155";
logging-data="1221292"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+mMCpXIfThTIztIJ/T8n2G"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:PqK1pt7UULPG3oxFpqejlndfeI0=
 by: Lawrence D'Oliv - Wed, 7 Feb 2024 03:18 UTC

On Wed, 7 Feb 2024 02:57:39 -0000 (UTC), vallor wrote:

> Also, there are linker scripts that end in ".x"
> which on my system live here:
>
> /usr/lib/x86_64-linux-gnu/ldscripts/
>
> Fascinating to read -- and way over my head. (The man page for GNU ld
> says they are "AT&T's Link Editor Command Language syntax".) I'm not
> sure how often an average programmer would look around in there.

Documentation on the script language here
<https://sourceware.org/binutils/docs/ld/Scripts.html>.

An obvious example of the need for a custom linker script would be
building the Linux kernel, where you need a special format for the
resulting binary that can be loaded by a bootloader.

I had a look through the Linux sources, and there is (no big surprise) a
different version of this script for each architecture, which is supposed
to have the name
arch/«architecture»/kernel/vmlinux.lds. I think this generated from the
corresponding vmlinux.lds.S file in the source tree.

Re: Experimental C Build System

<uput07$19925$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: janis_pa...@hotmail.com (Janis Papanagnou)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: Experimental C Build System
Date: Wed, 7 Feb 2024 04:21:42 +0100
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <uput07$19925$1@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> <upugl6$13mlp$1@dont-email.me>
<20240206180930.963@kylheku.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 7 Feb 2024 03:21:43 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="932d5bc547d1d3ec44f5317ce79a50bb";
logging-data="1352773"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ufdp3WVddE7N9ajlx3u2N"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:kavERjCnCvY9ApKwtqI2B2rElOY=
X-Enigmail-Draft-Status: N1110
In-Reply-To: <20240206180930.963@kylheku.com>
 by: Janis Papanagnou - Wed, 7 Feb 2024 03:21 UTC

On 07.02.2024 03:18, Kaz Kylheku wrote:
> On 2024-02-06, Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
>> On 06.02.2024 21:32, 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.
>>
>> I think we've used it on AIX and HP-UX already.
>
> Some IBM documentation I was able to dig up on the web says that AIX 5.3
> [2004] introduced LD_LIBRARY_PATH; before that it was LIBPATH in AIX
> 5.1, which continues to work. Nothing about the $SOURCE expansion.

My contact with AIX had been earlier, since the early 1990's, starting
with 3.5/3.6 (IIRC) to 4.1/4.3. A quick search did not show up much but
a later document (but earlier than your document) from 2001 explaining

"The LIBPATH environment variable is a colon-separated list of
directory paths, with the same syntax as the PATH environment
variable and indicates the search path for libraries. It has
the same function as the LD_LIBRARY_PATH environment variable
on SystemV." [ AIX Linking and Loading Mechanisms ]

Janis

> [...]

Re: Experimental C Build System

<upv574$1a3hg$2@dont-email.me>

  copy mid

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

  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: no...@thanks.net (candycanearter07)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: Experimental C Build System
Date: Tue, 6 Feb 2024 23:41:56 -0600
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <upv574$1a3hg$2@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>
<upp90v$3tovf$1@dont-email.me> <upr337$bgc8$2@dont-email.me>
<20240205101236.81@kylheku.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 7 Feb 2024 05:41:56 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5d06d02273367cb96f687ff47016f806";
logging-data="1379888"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19x4yY64FRwXyQvKPgzYQ5XfoOFU8kuXz8RMUAxUjpIRg=="
User-Agent: Betterbird (Linux)
Cancel-Lock: sha1:QUhGoevgkYJLUSHGnyEv8mX5OUg=
Content-Language: en-US
In-Reply-To: <20240205101236.81@kylheku.com>
 by: candycanearter07 - Wed, 7 Feb 2024 05:41 UTC

On 2/5/24 12:13, Kaz Kylheku wrote:
> On 2024-02-05, candycanearter07 <no@thanks.net> wrote:
>> But the tools are *still preinstalled*, so installers can definitely
>> rely on compiling stuff.
>
> No, they aren't. It's common for devel tools not to be part of the base
> system of a distro.

Wait really?
--
user <candycane> is generated from /dev/urandom

Re: Experimental C Build System

<upvaq9$1b1vb$1@dont-email.me>

  copy mid

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

  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: richard....@gmail.invalid (Richard Harnden)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: Experimental C Build System
Date: Wed, 7 Feb 2024 07:17:29 +0000
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <upvaq9$1b1vb$1@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> <upugl6$13mlp$1@dont-email.me>
<20240206180930.963@kylheku.com>
Reply-To: nospam.harnden@invalid.com
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 7 Feb 2024 07:17:29 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="68e5c3e7d6ecc92e22467d81a9cd42e2";
logging-data="1411051"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/HMwirdHOqAEEHbQuTRyjfQqMbkMucZpE="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:VorgoApaYHN0e/YkUCzhXU/DSaU=
Content-Language: en-GB
In-Reply-To: <20240206180930.963@kylheku.com>
 by: Richard Harnden - Wed, 7 Feb 2024 07:17 UTC

On 07/02/2024 02:18, Kaz Kylheku wrote:
> On 2024-02-06, Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
>> On 06.02.2024 21:32, 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.
>>
>> I think we've used it on AIX and HP-UX already.
>
> Some IBM documentation I was able to dig up on the web says that AIX 5.3
> [2004] introduced LD_LIBRARY_PATH; before that it was LIBPATH in AIX
> 5.1, which continues to work. Nothing about the $SOURCE expansion.
>
> The GCC Compile Farm Project has an AIX machine. I'm logging in there
> now. Looks like the "load" and "dlopen" man pages reference
> LD_LIBRARY_PATH. None of them mention any interpolation of parameters
> being supported. It probably doesn't exist.
>

Wasn't it SHLIB_PATH on HP/UX?

Re: Experimental C Build System

<upvfqd$1bqi4$1@dont-email.me>

  copy mid

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

  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: Wed, 7 Feb 2024 09:42:52 +0100
Organization: A noiseless patient Spider
Lines: 71
Message-ID: <upvfqd$1bqi4$1@dont-email.me>
References: <up8i91$h6iu$1@dont-email.me> <upidn1$2i275$1@dont-email.me>
<upitc7$2kmuj$1@dont-email.me> <upj1t2$2ldkd$2@dont-email.me>
<upj72s$2md0u$1@dont-email.me> <87ttmqogrk.fsf@nosuchdomain.example.com>
<upjh6e$2o5vo$1@dont-email.me> <upjmhf$2oup9$5@dont-email.me>
<upjo5f$2pc52$1@dont-email.me> <upk516$2r6q8$2@dont-email.me>
<uplaqh$3494t$1@dont-email.me> <20240203082517.687@kylheku.com>
<upm4i9$38qq7$1@dont-email.me> <upoiks$3o7ig$4@dont-email.me>
<uporeb$3qev4$1@dont-email.me> <QQSvN.294647$Wp_8.94897@fx17.iad>
<upurj2$14cqf$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 7 Feb 2024 08:42:53 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="20407131eab0e21b7e29c62aca6a9755";
logging-data="1436228"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18DLkGFhiUPbrD7TcFD2eV8eokoRvYg5Ls="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:uLjmHe7vZB8pFTMb6Md1jBfXfeA=
In-Reply-To: <upurj2$14cqf$1@dont-email.me>
Content-Language: en-GB
 by: David Brown - Wed, 7 Feb 2024 08:42 UTC

On 07/02/2024 03:57, vallor wrote:
> On Sun, 04 Feb 2024 20:55:12 GMT, scott@slp53.sl.home (Scott Lurndal)
> wrote in <QQSvN.294647$Wp_8.94897@fx17.iad>:
>
>> bart <bc@freeuk.com> writes:
>>> On 04/02/2024 17:48, David Brown wrote:
>>>> On 03/02/2024 20:35, bart wrote:
>>>
>>>>> It is Windows that places more store by file extensions, which Linux
>>>>> people say is a bad thing.
>>>>>
>>>>
>>>> Windows is too dependent on them, and too trusting.
>>>
>>>>> But above you say that is the advantage of Linux.
>>>>
>>>> Yes, it's a hands-down win for Linux (and other *nix) in this aspect.
>>>
>>> Yet it is Linux (manifested via gcc) where it ASSUMES .x is a linker
>>
>> I've never seen a '.x ' suffix. Ever. And I use linker scripts
>> regularly.
>
> This was the first I'd heard about them in this context, but Open
> Network Computing's RPC (ONCRPC, was SunRPC) does use .x files
> for its RPC specifications.
>
> ONCRPC is a system for generating C stubs for network
> services, and it is (was?) also used to specify
> UNIX services like NFS and NIS. The Sun of yore
> were, indeed, good denizens of the Net. (So, crossposting
> conditions satisfied...I think?)
>
> Anyway, if you have the "standard" .x files
> installed on Linux Mint, they live in
>
> /usr/include/rpcsvc/
>
> Also, there are linker scripts that end in ".x"
> which on my system live here:
>
> /usr/lib/x86_64-linux-gnu/ldscripts/
>
> Fascinating to read -- and way over my head. (The
> man page for GNU ld says they are
> "AT&T's Link Editor Command Language syntax".) I'm
> not sure how often an average programmer would look
> around in there.
>
> In any event, the ".x" files in that directory are in
> the minority...
>

If you look in that directory, you'll see all the files are ".x<flags>",
where <flags> are letters. So you get ".x", ".xbn", ".xc", ".xce", and
a dozen other combinations. I don't know the details of the flags, but
they generally refer to different arrangements of code and data (for
example, merging read-only data and executable code, or keeping them
separate).

There's no doubt that ".x", and ".x<flags>", are common extensions for
linker files, but that they do not act as file extensions in the same
way as for other source code. Instead, they are sets of flags. (That's
why gcc treats any unknown extension as a linker file.)

(Note to Bart - I am not saying I think this is a good idea - I am
saying how it is.)

I think most people writing their own linker scripts use different file
extensions - I use ".ld" myself.

Re: Experimental C Build System

<upvk3j$1cc05$1@dont-email.me>

  copy mid

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

  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: malcolm....@gmail.com (Malcolm McLean)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: Experimental C Build System
Date: Wed, 7 Feb 2024 09:56:03 +0000
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <upvk3j$1cc05$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> <upp8s5$3tmdd$2@dont-email.me>
<upp90v$3tovf$1@dont-email.me> <upr337$bgc8$2@dont-email.me>
<20240205101236.81@kylheku.com> <upv574$1a3hg$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 7 Feb 2024 09:56:03 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="7aae7ff6818ee5d078b3e48fca1fe76d";
logging-data="1454085"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/I4dxvQIOdLZWcFquqw96dCTMLONsjJ5I="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:KNJMI0oVg5qlyyeVxPHL9rQqgQQ=
Content-Language: en-GB
In-Reply-To: <upv574$1a3hg$2@dont-email.me>
 by: Malcolm McLean - Wed, 7 Feb 2024 09:56 UTC

On 07/02/2024 05:41, candycanearter07 wrote:
> On 2/5/24 12:13, Kaz Kylheku wrote:
>> On 2024-02-05, candycanearter07 <no@thanks.net> wrote:
>>> But the tools are *still preinstalled*, so installers can definitely
>>> rely on compiling stuff.
>>
>> No, they aren't. It's common for devel tools not to be part of the base
>> system of a distro.
>
> Wait really?

If you install Windows you don't get Visual Studio and you have to
install it separately. If you install Linux you get gcc and other
development tools, and I don't think there's even a way of setting up
the install to say you don't want them.

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

Re: Experimental C Build System

<upvmn7$1cnmp$1@dont-email.me>

  copy mid

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

  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: Wed, 7 Feb 2024 10:40:40 +0000
Organization: A noiseless patient Spider
Lines: 73
Message-ID: <upvmn7$1cnmp$1@dont-email.me>
References: <up8i91$h6iu$1@dont-email.me> <upidn1$2i275$1@dont-email.me>
<upitc7$2kmuj$1@dont-email.me> <upj1t2$2ldkd$2@dont-email.me>
<upj72s$2md0u$1@dont-email.me> <87ttmqogrk.fsf@nosuchdomain.example.com>
<upjh6e$2o5vo$1@dont-email.me> <upjmhf$2oup9$5@dont-email.me>
<upjo5f$2pc52$1@dont-email.me> <upk516$2r6q8$2@dont-email.me>
<uplaqh$3494t$1@dont-email.me> <20240203082517.687@kylheku.com>
<upm4i9$38qq7$1@dont-email.me> <upoiks$3o7ig$4@dont-email.me>
<uporeb$3qev4$1@dont-email.me> <QQSvN.294647$Wp_8.94897@fx17.iad>
<upurj2$14cqf$1@dont-email.me> <upvfqd$1bqi4$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 7 Feb 2024 10:40:39 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="73b6016a845c2c4e6900d3c6508bf2e6";
logging-data="1466073"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/nLTDoMP1XRUyflfa3m4FNDxA4thqRa4c="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:aitbZBtKEiDpOPEm6/ltN/HF6vo=
Content-Language: en-GB
In-Reply-To: <upvfqd$1bqi4$1@dont-email.me>
 by: bart - Wed, 7 Feb 2024 10:40 UTC

On 07/02/2024 08:42, David Brown wrote:
> On 07/02/2024 03:57, vallor wrote:
>> On Sun, 04 Feb 2024 20:55:12 GMT, scott@slp53.sl.home (Scott Lurndal)
>> wrote in <QQSvN.294647$Wp_8.94897@fx17.iad>:
>>
>>> bart <bc@freeuk.com> writes:
>>>> On 04/02/2024 17:48, David Brown wrote:
>>>>> On 03/02/2024 20:35, bart wrote:
>>>>
>>>>>> It is Windows that places more store by file extensions, which Linux
>>>>>> people say is a bad thing.
>>>>>>
>>>>>
>>>>> Windows is too dependent on them, and too trusting.
>>>>
>>>>>> But above you say that is the advantage of Linux.
>>>>>
>>>>> Yes, it's a hands-down win for Linux (and other *nix) in this aspect.
>>>>
>>>> Yet it is Linux (manifested via gcc) where it ASSUMES .x is a linker
>>>
>>> I've never seen a '.x ' suffix.  Ever.  And I use linker scripts
>>> regularly.
>>
>> This was the first I'd heard about them in this context, but Open
>> Network Computing's RPC (ONCRPC, was SunRPC) does use .x files
>> for its RPC specifications.
>>
>> ONCRPC is a system for generating C stubs for network
>> services, and it is (was?) also used to specify
>> UNIX services like NFS and NIS.  The Sun of yore
>> were, indeed, good denizens of the Net.  (So, crossposting
>> conditions satisfied...I think?)
>>
>> Anyway, if you have the "standard" .x files
>> installed on Linux Mint, they live in
>>
>> /usr/include/rpcsvc/
>>
>> Also, there are linker scripts that end in ".x"
>> which on my system live here:
>>
>> /usr/lib/x86_64-linux-gnu/ldscripts/
>>
>> Fascinating to read -- and way over my head.  (The
>> man page for GNU ld says they are
>> "AT&T's Link Editor Command Language syntax".)  I'm
>> not sure how often an average programmer would look
>> around in there.
>>
>> In any event, the ".x" files in that directory are in
>> the minority...
>>
>
> If you look in that directory, you'll see all the files are ".x<flags>",
> where <flags> are letters.  So you get ".x", ".xbn", ".xc", ".xce", and
> a dozen other combinations.  I don't know the details of the flags, but
> they generally refer to different arrangements of code and data (for
> example, merging read-only data and executable code, or keeping them
> separate).
>
> There's no doubt that ".x", and ".x<flags>", are common extensions for
> linker files, but that they do not act as file extensions in the same
> way as for other source code.  Instead, they are sets of flags.  (That's
> why gcc treats any unknown extension as a linker file.)

A bit like my tools treat an unknown extension as a file of whatever
language the tool primarily works with?

Cool. But is gcc primarily used for linker files? I'm not even sure what
a linker file is!

Re: Experimental C Build System

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

  copy mid

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

  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: ben.use...@bsb.me.uk (Ben Bacarisse)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: Experimental C Build System
Date: Wed, 07 Feb 2024 11:10:09 +0000
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <87sf24ttri.fsf@bsb.me.uk>
References: <up8i91$h6iu$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>
<upp90v$3tovf$1@dont-email.me> <upr337$bgc8$2@dont-email.me>
<20240205101236.81@kylheku.com> <upv574$1a3hg$2@dont-email.me>
<upvk3j$1cc05$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="2883db4a791bfbcaee0d1a1a82dca9e3";
logging-data="1482878"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/MUPGh/EJeBO07gGCZ8EdkEyNWNYKFgi4="
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:JkXS1nwe3js3T6XBiBseZke2mes=
sha1:Si/wDN5k/YDGzN1Oi7UNCmOWZ+g=
X-BSB-Auth: 1.5a14068e5f145bd1c6de.20240207111009GMT.87sf24ttri.fsf@bsb.me.uk
 by: Ben Bacarisse - Wed, 7 Feb 2024 11:10 UTC

Malcolm McLean <malcolm.arthur.mclean@gmail.com> writes:

> On 07/02/2024 05:41, candycanearter07 wrote:
>> On 2/5/24 12:13, Kaz Kylheku wrote:
>>> On 2024-02-05, candycanearter07 <no@thanks.net> wrote:
>>>> But the tools are *still preinstalled*, so installers can definitely
>>>> rely on compiling stuff.
>>>
>>> No, they aren't. It's common for devel tools not to be part of the base
>>> system of a distro.
>> Wait really?
>
> If you install Windows you don't get Visual Studio and you have to install
> it separately. If you install Linux you get gcc and other development
> tools, and I don't think there's even a way of setting up the install to
> say you don't want them.

Why do you say these things without checking? It's not uncommon to have
Linux installs without gcc.

--
Ben.

Re: Experimental C Build System

<slrnus6pek.2h7.dan@djph.net>

  copy mid

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

  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: dan...@djph.net (Dan Purgert)
Newsgroups: comp.lang.c
Subject: Re: Experimental C Build System
Date: Wed, 7 Feb 2024 11:13:24 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <slrnus6pek.2h7.dan@djph.net>
References: <up8i91$h6iu$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>
<upp90v$3tovf$1@dont-email.me> <upr337$bgc8$2@dont-email.me>
<20240205101236.81@kylheku.com> <upv574$1a3hg$2@dont-email.me>
<upvk3j$1cc05$1@dont-email.me> <87sf24ttri.fsf@bsb.me.uk>
Injection-Date: Wed, 7 Feb 2024 11:13:24 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="da4f0619a788f67e104d3c4d80ac925d";
logging-data="1482846"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/oSJKG7ovE18NJ0iYkyh4qRSjsB1iR3BA="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:6/Ir/XyhEYfRP9srSQzHLWOMZbs=
 by: Dan Purgert - Wed, 7 Feb 2024 11:13 UTC

On 2024-02-07, Ben Bacarisse wrote:
> Malcolm McLean <malcolm.arthur.mclean@gmail.com> writes:
>
>> On 07/02/2024 05:41, candycanearter07 wrote:
>>> On 2/5/24 12:13, Kaz Kylheku wrote:
>>>> On 2024-02-05, candycanearter07 <no@thanks.net> wrote:
>>>>> But the tools are *still preinstalled*, so installers can definitely
>>>>> rely on compiling stuff.
>>>>
>>>> No, they aren't. It's common for devel tools not to be part of the base
>>>> system of a distro.
>>> Wait really?
>>
>> If you install Windows you don't get Visual Studio and you have to install
>> it separately. If you install Linux you get gcc and other development
>> tools, and I don't think there's even a way of setting up the install to
>> say you don't want them.
>
> Why do you say these things without checking? It's not uncommon to have
> Linux installs without gcc.

In fact, I haven't had Debian install build-essential (etc.) by default
in at least the past decade. It *might* be offered during the
installation phase, but the last time I reinstalled, I used their
netinst image (so certainly stripped down).

--
|_|O|_|
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860

Re: Experimental C Build System

<upvrai$1dml5$1@dont-email.me>

  copy mid

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

  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: janis_pa...@hotmail.com (Janis Papanagnou)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: Experimental C Build System
Date: Wed, 7 Feb 2024 12:59:13 +0100
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <upvrai$1dml5$1@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> <upugl6$13mlp$1@dont-email.me>
<20240206180930.963@kylheku.com> <upvaq9$1b1vb$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 7 Feb 2024 11:59:14 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="932d5bc547d1d3ec44f5317ce79a50bb";
logging-data="1497765"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18s7eZf28mtFqoz/z1jbnNC"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:/xINDsEEOWXA646PsqueXYBm1PE=
In-Reply-To: <upvaq9$1b1vb$1@dont-email.me>
 by: Janis Papanagnou - Wed, 7 Feb 2024 11:59 UTC

On 07.02.2024 08:17, Richard Harnden wrote:
> On 07/02/2024 02:18, Kaz Kylheku wrote:
>> On 2024-02-06, Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
>>> On 06.02.2024 21:32, 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.
>>>
>>> I think we've used it on AIX and HP-UX already.
>>
>> Some IBM documentation I was able to dig up on the web says that AIX 5.3
>> [2004] introduced LD_LIBRARY_PATH; before that it was LIBPATH in AIX
>> 5.1, which continues to work. Nothing about the $SOURCE expansion.
>>
>> The GCC Compile Farm Project has an AIX machine. I'm logging in there
>> now. Looks like the "load" and "dlopen" man pages reference
>> LD_LIBRARY_PATH. None of them mention any interpolation of parameters
>> being supported. It probably doesn't exist.
>>
>
> Wasn't it SHLIB_PATH on HP/UX?

Maybe, I don't recall. My point was not so much the concrete name
of the environment variable but the availability of the function
connected with the respective variables.

Janis

Re: Experimental C Build System

<jmac9k-1de.ln1@paranoia.mcleod-schmidt.id.au>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!newsfeed.endofthelinebbs.com!nntp.comgw.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: grschm...@acm.org (Gary R. Schmidt)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: Experimental C Build System
Date: Wed, 7 Feb 2024 23:46:42 +1100
Lines: 22
Message-ID: <jmac9k-1de.ln1@paranoia.mcleod-schmidt.id.au>
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>
<upp90v$3tovf$1@dont-email.me> <upr337$bgc8$2@dont-email.me>
<20240205101236.81@kylheku.com> <upv574$1a3hg$2@dont-email.me>
<upvk3j$1cc05$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net G9urjyz+2E1ImleOhbztbg/5JbiaF7RLWerRdXU4C8bY88+Ow=
X-Orig-Path: paranoia.mcleod-schmidt.id.au!not-for-mail
Cancel-Lock: sha1:ee8/+Lm10ccUxPFa4FywEDQ/a84= sha256:P5vFIlMnIiBIpTJTLQJeUI4ABi2bK5PdxHa06PweVOk=
User-Agent: Betterbird (Windows)
Content-Language: en-AU
In-Reply-To: <upvk3j$1cc05$1@dont-email.me>
X-Clacks-Overhead: GNU Terry Pratchett
 by: Gary R. Schmidt - Wed, 7 Feb 2024 12:46 UTC

On 07/02/2024 20:56, Malcolm McLean wrote:
> On 07/02/2024 05:41, candycanearter07 wrote:
>> On 2/5/24 12:13, Kaz Kylheku wrote:
>>> On 2024-02-05, candycanearter07 <no@thanks.net> wrote:
>>>> But the tools are *still preinstalled*, so installers can definitely
>>>> rely on compiling stuff.
>>>
>>> No, they aren't. It's common for devel tools not to be part of the base
>>> system of a distro.
>>
>> Wait really?
>
> If you install Windows you don't get Visual Studio and you have to
> install it separately. If you install Linux you get gcc and other
> development tools, and I don't think there's even a way of setting up
> the install to say you don't want them.
>
If you install one of the Enterprise-aimed Linuxes, like RHEL or SLES,
they default is basically a machine with a console, and some basic services.

Cheers,
Gary B-)

Re: Experimental C Build System

<33bc9k-1de.ln1@paranoia.mcleod-schmidt.id.au>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!news.neodome.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: grschm...@acm.org (Gary R. Schmidt)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: Experimental C Build System
Date: Wed, 7 Feb 2024 23:53:22 +1100
Lines: 40
Message-ID: <33bc9k-1de.ln1@paranoia.mcleod-schmidt.id.au>
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> <upugl6$13mlp$1@dont-email.me>
<20240206180930.963@kylheku.com> <upvaq9$1b1vb$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net e7hDIHyJ95RlwYOFXYQaHwHsQU0069Q02goGY+bapfiXx7aIc=
X-Orig-Path: paranoia.mcleod-schmidt.id.au!not-for-mail
Cancel-Lock: sha1:qyJ5wp1BveyxxYXgkF1BDo6W3x4= sha256:7P1WJRCqcZjuSOXRVNgL1Yw4WjKIpIclSTswV/XSVD4=
User-Agent: Betterbird (Windows)
Content-Language: en-AU
In-Reply-To: <upvaq9$1b1vb$1@dont-email.me>
X-Clacks-Overhead: GNU Terry Pratchett
 by: Gary R. Schmidt - Wed, 7 Feb 2024 12:53 UTC

On 07/02/2024 18:17, Richard Harnden wrote:
> On 07/02/2024 02:18, Kaz Kylheku wrote:
>> On 2024-02-06, Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
>>> On 06.02.2024 21:32, 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.
>>>
>>> I think we've used it on AIX and HP-UX already.
>>
>> Some IBM documentation I was able to dig up on the web says that AIX 5.3
>> [2004] introduced LD_LIBRARY_PATH; before that it was LIBPATH in AIX
>> 5.1, which continues to work. Nothing about the $SOURCE expansion.
>>
>> The GCC Compile Farm Project has an AIX machine. I'm logging in there
>> now. Looks like the "load" and "dlopen" man pages reference
>> LD_LIBRARY_PATH. None of them mention any interpolation of parameters
>> being supported. It probably doesn't exist.
>>
>
> Wasn't it SHLIB_PATH on HP/UX?
>
It still is. (Yes, some of us have to maintain these boxes because,
although they were all amortised a decade or two ago, someone in a
bank/taxation department/insurance company/&c knows that replacing them
will be an expensive and time consuming process. So they'll be replaced
- after they collapse into a pile of rust - in a mad panic with Linux
boxes with something written in a mad rush in Python/PHP/Perl - by
people who don't understand the requirements, briefed by people who
don't understand the requirements - that sort of does the same job the
old machines did, if you squint really, really hard. And /don't/ get
audited by anyone competent. However, that one's *really* unlikely. :-) )

Cheers,
Gary B-)

Re: Experimental C Build System

<20240207154509.00002510@yahoo.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!news.swapon.de!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: Wed, 7 Feb 2024 15:45:09 +0200
Organization: A noiseless patient Spider
Lines: 61
Message-ID: <20240207154509.00002510@yahoo.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>
<upugl6$13mlp$1@dont-email.me>
<20240206180930.963@kylheku.com>
<upvaq9$1b1vb$1@dont-email.me>
<33bc9k-1de.ln1@paranoia.mcleod-schmidt.id.au>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: dont-email.me; posting-host="a01a6b607e09a1b1d2498b99c916f860";
logging-data="1446761"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+FD1Bh75Dv+P5TMiH/6lq1g4gBWCGEkTc="
Cancel-Lock: sha1:A+QLPIIf5ZCFwD6IxGWTJyLKsrU=
X-Newsreader: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-w64-mingw32)
 by: Michael S - Wed, 7 Feb 2024 13:45 UTC

On Wed, 7 Feb 2024 23:53:22 +1100
"Gary R. Schmidt" <grschmidt@acm.org> wrote:

> On 07/02/2024 18:17, Richard Harnden wrote:
> > On 07/02/2024 02:18, Kaz Kylheku wrote:
> >> On 2024-02-06, Janis Papanagnou <janis_papanagnou+ng@hotmail.com>
> >> wrote:
> >>> On 06.02.2024 21:32, 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.
> >>>
> >>> I think we've used it on AIX and HP-UX already.
> >>
> >> Some IBM documentation I was able to dig up on the web says that
> >> AIX 5.3 [2004] introduced LD_LIBRARY_PATH; before that it was
> >> LIBPATH in AIX 5.1, which continues to work. Nothing about the
> >> $SOURCE expansion.
> >>
> >> The GCC Compile Farm Project has an AIX machine. I'm logging in
> >> there now. Looks like the "load" and "dlopen" man pages reference
> >> LD_LIBRARY_PATH. None of them mention any interpolation of
> >> parameters being supported. It probably doesn't exist.
> >>
> >
> > Wasn't it SHLIB_PATH on HP/UX?
> >
> It still is. (Yes, some of us have to maintain these boxes because,
> although they were all amortised a decade or two ago, someone in a
> bank/taxation department/insurance company/&c knows that replacing
> them will be an expensive and time consuming process. So they'll be
> replaced
> - after they collapse into a pile of rust - in a mad panic with
> Linux boxes with something written in a mad rush in Python/PHP/Perl -
> by people who don't understand the requirements, briefed by people
> who don't understand the requirements - that sort of does the same
> job the old machines did, if you squint really, really hard. And
> /don't/ get audited by anyone competent. However, that one's
> *really* unlikely. :-) )
>
> Cheers,
> Gary B-)

It does not have to be replaced with new solution even after original
hardware died.
https://www.stromasys.com/solution/charon-par/

For those that are currently on IPF variant of HP-UX, working hardware
is still easily available. However when it wouldn't be, I'd expect
that the same company will provide emulation solution. My theory is
that they already have it done, but as long as "real" HW is available
they are afraid to sell IPF emulators because of legal concerns.

Re: Experimental C Build System

<uq02vl$1erim$4@dont-email.me>

  copy mid

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

  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: Wed, 7 Feb 2024 15:09:57 +0100
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <uq02vl$1erim$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>
<upp90v$3tovf$1@dont-email.me> <upr337$bgc8$2@dont-email.me>
<20240205101236.81@kylheku.com> <upv574$1a3hg$2@dont-email.me>
<upvk3j$1cc05$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 7 Feb 2024 14:09:57 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="20407131eab0e21b7e29c62aca6a9755";
logging-data="1535574"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/qx/OoRO8crup4AanPVbd6PkLH/Ztkp0s="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:rbOiigIOv2ZYG4zjrC4GWjZvGBs=
Content-Language: en-GB
In-Reply-To: <upvk3j$1cc05$1@dont-email.me>
 by: David Brown - Wed, 7 Feb 2024 14:09 UTC

On 07/02/2024 10:56, Malcolm McLean wrote:
> On 07/02/2024 05:41, candycanearter07 wrote:
>> On 2/5/24 12:13, Kaz Kylheku wrote:
>>> On 2024-02-05, candycanearter07 <no@thanks.net> wrote:
>>>> But the tools are *still preinstalled*, so installers can definitely
>>>> rely on compiling stuff.
>>>
>>> No, they aren't. It's common for devel tools not to be part of the base
>>> system of a distro.
>>
>> Wait really?
>
> If you install Windows you don't get Visual Studio and you have to
> install it separately. If you install Linux you get gcc and other
> development tools, and I don't think there's even a way of setting up
> the install to say you don't want them.
>

There are several hundred Linux distributions, not including the niche
ones or outdated ones. Have you tried them all?

Most "normal user" oriented distros do not have gcc or related tools
installed by default, nor do most server systems, or firewall systems,
or small installations. Installing the tools is usually very simple
("apt-get install build-essentials", or equivalent), but they are not
included by default in the installation.

Re: Experimental C Build System

<uq03ln$1f2sh$1@dont-email.me>

  copy mid

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

  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: Wed, 7 Feb 2024 14:21:44 +0000
Organization: A noiseless patient Spider
Lines: 47
Message-ID: <uq03ln$1f2sh$1@dont-email.me>
References: <up8i91$h6iu$1@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> <upp90v$3tovf$1@dont-email.me>
<upr337$bgc8$2@dont-email.me> <20240205101236.81@kylheku.com>
<upv574$1a3hg$2@dont-email.me> <upvk3j$1cc05$1@dont-email.me>
<uq02vl$1erim$4@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 7 Feb 2024 14:21:43 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="73b6016a845c2c4e6900d3c6508bf2e6";
logging-data="1543057"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+az8/lBexR2/IYTV9Em8c6+XbuFQ9ER7c="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:g32bZ7ylPPqCy0+VHr8JaeAjGeI=
In-Reply-To: <uq02vl$1erim$4@dont-email.me>
Content-Language: en-GB
 by: bart - Wed, 7 Feb 2024 14:21 UTC

On 07/02/2024 14:09, David Brown wrote:
> On 07/02/2024 10:56, Malcolm McLean wrote:
>> On 07/02/2024 05:41, candycanearter07 wrote:
>>> On 2/5/24 12:13, Kaz Kylheku wrote:
>>>> On 2024-02-05, candycanearter07 <no@thanks.net> wrote:
>>>>> But the tools are *still preinstalled*, so installers can definitely
>>>>> rely on compiling stuff.
>>>>
>>>> No, they aren't. It's common for devel tools not to be part of the base
>>>> system of a distro.
>>>
>>> Wait really?
>>
>> If you install Windows you don't get Visual Studio and you have to
>> install it separately. If you install Linux you get gcc and other
>> development tools, and I don't think there's even a way of setting up
>> the install to say you don't want them.
>>
>
> There are several hundred Linux distributions, not including the niche
> ones or outdated ones.  Have you tried them all?
>
> Most "normal user" oriented distros do not have gcc or related tools
> installed by default, nor do most server systems, or firewall systems,
> or small installations.  Installing the tools is usually very simple
> ("apt-get install build-essentials", or equivalent), but they are not
> included by default in the installation.
>
>

I've tried a fair number. The ones that used to come CDs for you to boot
on a Windows PC. Ones installed on one or two crummy Linux notebooks.
The ones you downloaded to use with Virtual Box. The various versions
you downloaded and burned into an SD drive to plug into RPIs. And mostly
recently the ones that come with WSL.

I think pretty much all of them that I remember came with a C compiler.

So it is easy to make the assumption that gcc is always available.

But isn't this also supposed to be one big advantage of Linux over
Windows that this stuff is built-in?

> Installing the tools is usually very simple
> ("apt-get install build-essentials", or equivalent),

Is 'apt-get' always available?

Re: Experimental C Build System

<uq04im$1fb5h$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!usenet.network!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: Wed, 7 Feb 2024 15:37:09 +0100
Organization: A noiseless patient Spider
Lines: 87
Message-ID: <uq04im$1fb5h$1@dont-email.me>
References: <up8i91$h6iu$1@dont-email.me> <upidn1$2i275$1@dont-email.me>
<upitc7$2kmuj$1@dont-email.me> <upj1t2$2ldkd$2@dont-email.me>
<upj72s$2md0u$1@dont-email.me> <87ttmqogrk.fsf@nosuchdomain.example.com>
<upjh6e$2o5vo$1@dont-email.me> <upjmhf$2oup9$5@dont-email.me>
<upjo5f$2pc52$1@dont-email.me> <upk516$2r6q8$2@dont-email.me>
<uplaqh$3494t$1@dont-email.me> <20240203082517.687@kylheku.com>
<upm4i9$38qq7$1@dont-email.me> <upoiks$3o7ig$4@dont-email.me>
<uporeb$3qev4$1@dont-email.me> <QQSvN.294647$Wp_8.94897@fx17.iad>
<upurj2$14cqf$1@dont-email.me> <upvfqd$1bqi4$1@dont-email.me>
<upvmn7$1cnmp$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 7 Feb 2024 14:37:10 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="20407131eab0e21b7e29c62aca6a9755";
logging-data="1551537"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+IeyDaA9imM4eH4JHEkO5iRcfMNF36yVA="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:Wpa4eKbdb00M4G38rjIYeW/u9uI=
In-Reply-To: <upvmn7$1cnmp$1@dont-email.me>
Content-Language: en-GB
 by: David Brown - Wed, 7 Feb 2024 14:37 UTC

On 07/02/2024 11:40, bart wrote:
> On 07/02/2024 08:42, David Brown wrote:
>> On 07/02/2024 03:57, vallor wrote:
>>> On Sun, 04 Feb 2024 20:55:12 GMT, scott@slp53.sl.home (Scott Lurndal)
>>> wrote in <QQSvN.294647$Wp_8.94897@fx17.iad>:
>>>
>>>> bart <bc@freeuk.com> writes:
>>>>> On 04/02/2024 17:48, David Brown wrote:
>>>>>> On 03/02/2024 20:35, bart wrote:
>>>>>
>>>>>>> It is Windows that places more store by file extensions, which Linux
>>>>>>> people say is a bad thing.
>>>>>>>
>>>>>>
>>>>>> Windows is too dependent on them, and too trusting.
>>>>>
>>>>>>> But above you say that is the advantage of Linux.
>>>>>>
>>>>>> Yes, it's a hands-down win for Linux (and other *nix) in this aspect.
>>>>>
>>>>> Yet it is Linux (manifested via gcc) where it ASSUMES .x is a linker
>>>>
>>>> I've never seen a '.x ' suffix.  Ever.  And I use linker scripts
>>>> regularly.
>>>
>>> This was the first I'd heard about them in this context, but Open
>>> Network Computing's RPC (ONCRPC, was SunRPC) does use .x files
>>> for its RPC specifications.
>>>
>>> ONCRPC is a system for generating C stubs for network
>>> services, and it is (was?) also used to specify
>>> UNIX services like NFS and NIS.  The Sun of yore
>>> were, indeed, good denizens of the Net.  (So, crossposting
>>> conditions satisfied...I think?)
>>>
>>> Anyway, if you have the "standard" .x files
>>> installed on Linux Mint, they live in
>>>
>>> /usr/include/rpcsvc/
>>>
>>> Also, there are linker scripts that end in ".x"
>>> which on my system live here:
>>>
>>> /usr/lib/x86_64-linux-gnu/ldscripts/
>>>
>>> Fascinating to read -- and way over my head.  (The
>>> man page for GNU ld says they are
>>> "AT&T's Link Editor Command Language syntax".)  I'm
>>> not sure how often an average programmer would look
>>> around in there.
>>>
>>> In any event, the ".x" files in that directory are in
>>> the minority...
>>>
>>
>> If you look in that directory, you'll see all the files are
>> ".x<flags>", where <flags> are letters.  So you get ".x", ".xbn",
>> ".xc", ".xce", and a dozen other combinations.  I don't know the
>> details of the flags, but they generally refer to different
>> arrangements of code and data (for example, merging read-only data and
>> executable code, or keeping them separate).
>>
>> There's no doubt that ".x", and ".x<flags>", are common extensions for
>> linker files, but that they do not act as file extensions in the same
>> way as for other source code.  Instead, they are sets of flags.
>> (That's why gcc treats any unknown extension as a linker file.)
>
> A bit like my tools treat an unknown extension as a file of whatever
> language the tool primarily works with?
>
> Cool. But is gcc primarily used for linker files? I'm not even sure what
> a linker file is!
>

gcc (the program, as distinct from GCC the project) is a front-end - a
"driver". It passes its input files and flags on to the configured
tools, adding to or changing flags as appropriate, to run the C
compiler, C pre-processor, assembler, C++ compiler, other compilers
(Fortran, Ada, etc.), the linker, and so on. (The assembler and linker
are not part of the GCC project, but any given gcc build will usually be
configured to use an appropriate assembler and linker.)

Use of specific linker files is not common for building code on PC's -
the standard linker setups are usually fine. But it is quite common in
embedded development and other most specialised builds. Then you pass
one or more linker files to the linker, generally via the gcc front-end.

Re: Experimental C Build System

<uq05ip$1fdph$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!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,comp.unix.programmer
Subject: Re: Experimental C Build System
Date: Wed, 7 Feb 2024 14:54:17 +0000
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <uq05ip$1fdph$1@dont-email.me>
References: <up8i91$h6iu$1@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> <upp90v$3tovf$1@dont-email.me>
<upr337$bgc8$2@dont-email.me> <20240205101236.81@kylheku.com>
<upv574$1a3hg$2@dont-email.me> <upvk3j$1cc05$1@dont-email.me>
<uq02vl$1erim$4@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 7 Feb 2024 14:54:17 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="7aae7ff6818ee5d078b3e48fca1fe76d";
logging-data="1554225"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+cIyMzf/NN7dzIspwrvuHxkVMya2DqH74="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:85FE3UWuhBvQVMXrsGt3seWZZ00=
Content-Language: en-GB
In-Reply-To: <uq02vl$1erim$4@dont-email.me>
 by: Malcolm McLean - Wed, 7 Feb 2024 14:54 UTC

On 07/02/2024 14:09, David Brown wrote:
> On 07/02/2024 10:56, Malcolm McLean wrote:
>> On 07/02/2024 05:41, candycanearter07 wrote:
>>> On 2/5/24 12:13, Kaz Kylheku wrote:
>>>> On 2024-02-05, candycanearter07 <no@thanks.net> wrote:
>>>>> But the tools are *still preinstalled*, so installers can definitely
>>>>> rely on compiling stuff.
>>>>
>>>> No, they aren't. It's common for devel tools not to be part of the base
>>>> system of a distro.
>>>
>>> Wait really?
>>
>> If you install Windows you don't get Visual Studio and you have to
>> install it separately. If you install Linux you get gcc and other
>> development tools, and I don't think there's even a way of setting up
>> the install to say you don't want them.
>>
>
> There are several hundred Linux distributions, not including the niche
> ones or outdated ones.  Have you tried them all?
>
> Most "normal user" oriented distros do not have gcc or related tools
> installed by default, nor do most server systems, or firewall systems,
> or small installations.  Installing the tools is usually very simple
> ("apt-get install build-essentials", or equivalent), but they are not
> included by default in the installation.
>
>
I've installed Linux several times on a desktop machine. I can never
remember being given an option to not install gcc. It might be buried
away somewhere. Whilst there is embedded Linux, which is a rather
different matter, I've never seen a "normal user" distribution. Since as
you say there are hundreds than they might exist. But the regular
distributions are so easy to find that I'd be sceptical that a normal
user would obtain a "normal user" one.
--
Check out Basic Algorithms and my other books:
https://www.lulu.com/spotlight/bgy1mm

Re: Experimental C Build System

<uq061e$1fgj0$1@dont-email.me>

  copy mid

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

  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: Wed, 7 Feb 2024 15:02:07 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <uq061e$1fgj0$1@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> <upu60c$vc7e$2@dont-email.me>
<87h6ili9nw.fsf@nosuchdomain.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 7 Feb 2024 15:02:07 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="882270b47161ddccc4af04719e625b3a";
logging-data="1557088"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Kcduhhjy/w231xyCmwfDQQLtw2Ih/5oY="
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
Cancel-Lock: sha1:8bW1EJN6k2NeYrEturliIRtVci4=
 by: Lew Pitcher - Wed, 7 Feb 2024 15:02 UTC

On Tue, 06 Feb 2024 13:07:31 -0800, Keith Thompson wrote:

> 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.

You are correct; it's not mentioned in any of the POSIX or SUS
documentation that I could get my hands on.

However, it /is/ mentioned in the Solaris and SysV documentation,
so it comes from (some specific) Unix (system).

My (poorly made) point was that GNU didn't "invent" LD_LIBRARY_PATH
(as Lawrence's post implied to me), but copied it from existing Unix
systems. LD_LIBRARY_PATH is not a GNUism, but part of the Unix
heritage.

FWIW, GNU /could have/ used SHLIB_PATH (the HPUX equivalent of
LD_LIBRARY_PATH) instead. And my point here is that, when "shared
objects" became popular, Unix system authors/vendors tried to
mitigate "DLL hell", often by "inventing" the same mechanism
under different names.

--
Lew Pitcher
"In Skills We Trust"

Re: Experimental C Build System

<mjNwN.343223$xHn7.317669@fx14.iad>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
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: Experimental C Build System
Newsgroups: comp.lang.c,comp.unix.programmer
References: <up8i91$h6iu$1@dont-email.me> <upj72s$2md0u$1@dont-email.me> <87ttmqogrk.fsf@nosuchdomain.example.com> <upjh6e$2o5vo$1@dont-email.me> <upjmhf$2oup9$5@dont-email.me> <upjo5f$2pc52$1@dont-email.me> <upk516$2r6q8$2@dont-email.me> <uplaqh$3494t$1@dont-email.me> <20240203082517.687@kylheku.com> <upm4i9$38qq7$1@dont-email.me> <upoiks$3o7ig$4@dont-email.me> <uporeb$3qev4$1@dont-email.me> <QQSvN.294647$Wp_8.94897@fx17.iad> <upurj2$14cqf$1@dont-email.me> <upusql$158lc$1@dont-email.me>
Lines: 83
Message-ID: <mjNwN.343223$xHn7.317669@fx14.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Wed, 07 Feb 2024 15:27:14 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 07 Feb 2024 15:27:14 GMT
X-Received-Bytes: 3123
 by: Scott Lurndal - Wed, 7 Feb 2024 15:27 UTC

Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>On Wed, 7 Feb 2024 02:57:39 -0000 (UTC), vallor wrote:
>
>> Also, there are linker scripts that end in ".x"
>> which on my system live here:
>>
>> /usr/lib/x86_64-linux-gnu/ldscripts/
>>
>> Fascinating to read -- and way over my head. (The man page for GNU ld
>> says they are "AT&T's Link Editor Command Language syntax".) I'm not
>> sure how often an average programmer would look around in there.
>
>Documentation on the script language here
><https://sourceware.org/binutils/docs/ld/Scripts.html>.
>
>An obvious example of the need for a custom linker script would be
>building the Linux kernel, where you need a special format for the
>resulting binary that can be loaded by a bootloader.

Indeed, that's been my primary use of custome linker scripts since
1989. Various operating systems, hypervisors, and even today for
processor firmware. Mainly we used the .ld suffix for such
scripts.

partial example for a bare-metal hypervisor written in C++:

OUTPUT_FORMAT("elf64-x86-64", "elf64-x86-64", "elf64-x86-64")
OUTPUT_ARCH(i386:x86-64)

ENTRY(dvmmstart)

SECTIONS
{ . = 0xffff808000000000;
percpu.data : {
*(percpu.data)
}
. = 0xffff830000100000;

_start = .;

. = ALIGN(16);
_stext = .;
.text : {
*(inittext)
*(.text)
*(.text.*)
*(.gnu.linkonce.t*)
}
_etext = .;

. = ALIGN(32);
_srodata = .;
.rodata : {
*(.rodata)
*(.rodata.*)
*(.gnu.linkonce.r*)
*(.got)
*(.got.*)

__CTOR_LIST__ = .;
LONG((__CTOR_END__ - __CTOR_LIST__) / 8 - 2)
*(.ctors)
LONG(0)
__CTOR_END__ = .;

__DTOR_LIST__ = .;
LONG((__DTOR_END__ - __DTOR_LIST__) / 8 - 2)
*(.dtors)
LONG(0)
__DTOR_END__ = .;
}
_erodata = .;

. = ALIGN(32);
_sdata = .;
.data : {
*(.data)
*(.data.*)
*(.gnu.linkonce.d*)
}
_edata = .;

Re: Experimental C Build System

<fmNwN.343224$xHn7.90638@fx14.iad>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.quux.org!weretis.net!feeder6.news.weretis.net!panix!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.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: 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> <upp90v$3tovf$1@dont-email.me> <upr337$bgc8$2@dont-email.me> <20240205101236.81@kylheku.com> <upv574$1a3hg$2@dont-email.me>
Lines: 65
Message-ID: <fmNwN.343224$xHn7.90638@fx14.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Wed, 07 Feb 2024 15:30:19 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 07 Feb 2024 15:30:19 GMT
X-Received-Bytes: 2830
 by: Scott Lurndal - Wed, 7 Feb 2024 15:30 UTC

candycanearter07 <no@thanks.net> writes:
>On 2/5/24 12:13, Kaz Kylheku wrote:
>> On 2024-02-05, candycanearter07 <no@thanks.net> wrote:
>>> But the tools are *still preinstalled*, so installers can definitely
>>> rely on compiling stuff.
>>
>> No, they aren't. It's common for devel tools not to be part of the base
>> system of a distro.
>
>Wait really?

Yes, most distros won't install -devel packages, just the binary packages.

Including ubuntu, just some of the packages we need to install
on a clean ubuntu:

apt-get update -y
apt -y install ksh
apt -y install csh
apt -y install tcsh
apt -y install nis
apt -y install autofs
apt -y install make
apt -y install libedit
apt -y install libedit-dev
apt -y install zlib1g
apt -y install zlib1g-dev
apt -y install ghostscript
apt -y install python3
apt -y install python3-config
apt -y install libelf-dev
apt -y install libboost-all-dev
apt -y install libpcap-dev
apt -y install libssl-dev
apt -y install libgmp-dev
apt -y install libattr1-dev
apt -y install environment-modules
apt -y install tclsh
apt -y install xterm
apt -y install libnss3-dev
apt -y install libatk1.0-0
apt -y install libatk-bridge-2.0-0-udeb
apt -y install libatk-bridge-2.0-0-udeb
apt -y install libatk-bridge-2.0
apt -y install libatk-bridge2.0-0
apt -y install libgtk2.0-0
apt -y install libgtk-3-0
apt -y install libgbm-dev
apt -y install libasound2
apt -y install yum-utils
apt -y install python-requests
apt -y install python-pexpect
apt -y install emacs
apt -y install vim-gtk
apt -y install numactl
apt -y install libmotif-dev
apt -y install tightvncserver
apt -y install patchelf
apt -y install p7zip-full
apt -y install meld
apt -y install ctags
apt -y install clang-format
apt -y install xfce4 xfce4-goodies
....

Re: Experimental C Build System

<knNwN.343225$xHn7.139263@fx14.iad>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.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: 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> <upp90v$3tovf$1@dont-email.me> <upr337$bgc8$2@dont-email.me> <20240205101236.81@kylheku.com> <upv574$1a3hg$2@dont-email.me> <upvk3j$1cc05$1@dont-email.me>
Lines: 21
Message-ID: <knNwN.343225$xHn7.139263@fx14.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Wed, 07 Feb 2024 15:31:28 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 07 Feb 2024 15:31:28 GMT
X-Received-Bytes: 1903
 by: Scott Lurndal - Wed, 7 Feb 2024 15:31 UTC

Malcolm McLean <malcolm.arthur.mclean@gmail.com> writes:
>On 07/02/2024 05:41, candycanearter07 wrote:
>> On 2/5/24 12:13, Kaz Kylheku wrote:
>>> On 2024-02-05, candycanearter07 <no@thanks.net> wrote:
>>>> But the tools are *still preinstalled*, so installers can definitely
>>>> rely on compiling stuff.
>>>
>>> No, they aren't. It's common for devel tools not to be part of the base
>>> system of a distro.
>>
>> Wait really?
>
>If you install Windows you don't get Visual Studio and you have to
>install it separately. If you install Linux you get gcc and other
>development tools, and I don't think there's even a way of setting up
>the install to say you don't want them.

That's 100% incorrect.

"install Linux" is ambiguous, since there are dozens of different
linux distributions, each with their own installation behavior.


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

Pages:1234567891011121314151617
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor