Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"The following is not for the weak of heart or Fundamentalists." -- Dave Barry


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

<upr337$bgc8$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!nntp.comgw.net!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: Mon, 5 Feb 2024 10:41:11 -0600
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <upr337$bgc8$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>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 5 Feb 2024 16:41:12 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e485a3ebd79f8ddf0111c9819eece337";
logging-data="377224"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/UH3w0N8ZQezKbv3Qms+WIbU0M5GiFhNKYcPxVjb5qyg=="
User-Agent: Betterbird (Linux)
Cancel-Lock: sha1:EvLVYa2I0SUzK+L3c4dsIelJTe4=
Content-Language: en-US
In-Reply-To: <upp90v$3tovf$1@dont-email.me>
 by: candycanearter07 - Mon, 5 Feb 2024 16:41 UTC

On 2/4/24 18:10, Chris M. Thomasson wrote:
> On 2/4/2024 4:07 PM, Malcolm McLean wrote:
>> On 04/02/2024 22:46, Lawrence D'Oliveiro wrote:
>>> On Sun, 4 Feb 2024 14:01:08 +0000, bart wrote:
>>>
>>>> But it does seem as though Unix was a breeding ground for multitudinous
>>>> developer tools. Plus there was little demarcation between user
>>>> commands, C development tools, C libraries and OS.
>>>>
>>>> Somebody who's used to that environment is surely going to have trouble
>>>> on an OS like MSDOS or Windows where they have to start from nothing.
>>>> Even if most of the tools are now free.
>>>
>>> Yet it seems like even someone like you, who is supposed to be “used to”
>>> Windows rather than *nix, still has the same trouble. So maybe it’s not
>>> about being “used to” *nix at all, there really is something inherent in
>>> the fundamental design of that environment that makes development work
>>> easier.
>> On Windows you can't assume that the end user will be interested in
>> development or have any develoment tools available.
>
> Fwiw, I have seen Linux users that have no intent to program anything at
> all.
>

But the tools are *still preinstalled*, so installers can definitely
rely on compiling stuff.

>
>> Or that he'll be able to do anything other than the most basic
>> installation. It's a consumer platform.
>

--
user <candycane> is generated from /dev/urandom

Re: Experimental C Build System

<upr3g3$bgc9$2@dont-email.me>

  copy mid

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

  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: Mon, 5 Feb 2024 10:48:03 -0600
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <upr3g3$bgc9$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> <uph2pd$2867k$1@dont-email.me>
<uph5vq$28mbj$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>
<upp1h3$3rqfm$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 5 Feb 2024 16:48:04 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e485a3ebd79f8ddf0111c9819eece337";
logging-data="377225"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX183XIIgUbJstFtiE/a79vF3BKXrmWXOH5xjjowYZfb2+A=="
User-Agent: Betterbird (Linux)
Cancel-Lock: sha1:Ri0gKa5hLEvWVxXcz5LUfxrjCNw=
Content-Language: en-US
In-Reply-To: <upp1h3$3rqfm$2@dont-email.me>
 by: candycanearter07 - Mon, 5 Feb 2024 16:48 UTC

On 2/4/24 16:02, Chris M. Thomasson wrote:
> On 2/4/2024 9:48 AM, David Brown wrote:
> [...]
>> In Windows, it is sometimes part of a file name (when it is not the
>> last period in the name), sometimes a magical character that appears
>> or disappears (when the file ends in a period), and sometimes it
>> delimits a file extension.
>
> picture_of_a_cow____________________this_is_not_a_virus_really.jpeg.gif.exe
>
> lol.

Windows making such a big deal over file extensions and outright hiding
them is silly IMO
--
user <candycane> is generated from /dev/urandom

Re: Experimental C Build System

<ns22silekslfmccm81b1dtl5pt6nha51on@dim53.demon.nl>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
From: k.n...@nospam.demon.nl (Kees Nuyt)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: Experimental C Build System
Date: Mon, 05 Feb 2024 17:57:53 +0100
Reply-To: k.nuyt@nospam.demon.nl
Message-ID: <ns22silekslfmccm81b1dtl5pt6nha51on@dim53.demon.nl>
References: <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> <upkkai$30tol$2@dont-email.me> <uplge5$352uh$1@dont-email.me> <upln11$36b4p$1@dont-email.me> <uplo41$36hig$1@dont-email.me> <upm7q5$3943m$6@dont-email.me> <upmdn0$3a9gd$1@dont-email.me> <upmlfm$3bdol$1@dont-email.me> <upmonp$3bspi$1@dont-email.me>
User-Agent: ForteAgent/7.10.32.1214
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Organization: KPN B.V.
Path: i2pn2.org!i2pn.org!news.chmurka.net!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feed.abavia.com!abe006.abavia.com!abp002.abavia.com!news.kpn.nl!not-for-mail
Lines: 41
Injection-Date: Mon, 05 Feb 2024 17:57:54 +0100
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
X-Received-Bytes: 2266
 by: Kees Nuyt - Mon, 5 Feb 2024 16:57 UTC

On Sun, 4 Feb 2024 01:19:53 +0000, bart <bc@freeuk.com> wrote:

> Everybody says use makefiles; well they don't work. They tend to be
> heavily skewed towards the use of gcc. My compiler isn't gcc.

By default a lot of builtin "implicit rules" determine which
program to use to make a .o from a .c etc. etc., and yes, that
is GCC-centric.

However, it is possible to remove all of those rules by calling
make as
make -rR
meaning:
-r, --no-builtin-rules
-R, --no-builtin-variables
, or by writing an empty
.SUFFIXES:
section in the Makefile.

Then, provide an include file "myrules.mk" with your own rules.

<https://www.gnu.org/software/make/manual/make.html#Old_002dFashioned-Suffix-Rules>

Something like :
%.o : %.c
mcc $< -o $@

etc., and include that in your Makefile with
include myrules.mk

<https://www.gnu.org/software/make/manual/make.html#Including-Other-Makefiles>

I apologize in advance if I missed a post in this huge thread
that already hinted you for that.

--
Regards,
Kees Nuyt

Re: Experimental C Build System

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

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!news.hispagatos.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,comp.unix.programmer
Subject: Re: Experimental C Build System
Date: Mon, 05 Feb 2024 09:17:20 -0800
Organization: None to speak of
Lines: 22
Message-ID: <87bk8ultjz.fsf@nosuchdomain.example.com>
References: <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> <upkkai$30tol$2@dont-email.me>
<uplge5$352uh$1@dont-email.me> <upln11$36b4p$1@dont-email.me>
<uplo41$36hig$1@dont-email.me> <upm7q5$3943m$6@dont-email.me>
<upmdn0$3a9gd$1@dont-email.me> <upmlfm$3bdol$1@dont-email.me>
<upmonp$3bspi$1@dont-email.me>
<ns22silekslfmccm81b1dtl5pt6nha51on@dim53.demon.nl>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="a411ba163e4887d967b7337e74fb5882";
logging-data="414674"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/CTmQavcr/BkiIyrdoHr3F"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:HVVe9cRY/cg3Ib+wbnQKv6xLWQ4=
sha1:qRhy5Ms1MsKj2FgHZ50YF+F5Go8=
 by: Keith Thompson - Mon, 5 Feb 2024 17:17 UTC

Kees Nuyt <k.nuyt@nospam.demon.nl> writes:
> On Sun, 4 Feb 2024 01:19:53 +0000, bart <bc@freeuk.com> wrote:
>> Everybody says use makefiles; well they don't work. They tend to be
>> heavily skewed towards the use of gcc. My compiler isn't gcc.
>
> By default a lot of builtin "implicit rules" determine which
> program to use to make a .o from a .c etc. etc., and yes, that
> is GCC-centric.

Not really. "make" is older than gcc, and GNU make was first released
about a year after the initial release of gcc.

Even modern GNU is not gcc-specific. It assumes by default that the C
compiler is called "cc" (which resolves to "gcc" on many systems, but it
doesn't have to).

Rather gcc mimics the user interface of earlier UNIX C compilers.

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

<upr5uf$cpjn$1@dont-email.me>

  copy mid

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

  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: Mon, 5 Feb 2024 17:29:51 +0000
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <upr5uf$cpjn$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>
<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>
<upp1h3$3rqfm$2@dont-email.me> <upr3g3$bgc9$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 5 Feb 2024 17:29:51 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e8f1119ff9e922f8544fc637331bcbc5";
logging-data="419447"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19tYVSvmkQokHM2WLRIl/RkST/1RB2oK5Q="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:aQNdiWU5iTeSgZprmf5l/kgO6Ro=
Content-Language: en-GB
In-Reply-To: <upr3g3$bgc9$2@dont-email.me>
 by: Malcolm McLean - Mon, 5 Feb 2024 17:29 UTC

On 05/02/2024 16:48, candycanearter07 wrote:
> On 2/4/24 16:02, Chris M. Thomasson wrote:
>> On 2/4/2024 9:48 AM, David Brown wrote:
>> [...]
>>> In Windows, it is sometimes part of a file name (when it is not the
>>> last period in the name), sometimes a magical character that appears
>>> or disappears (when the file ends in a period), and sometimes it
>>> delimits a file extension.
>>
>> picture_of_a_cow____________________this_is_not_a_virus_really.jpeg.gif.exe
>>
>> lol.
>
> Windows making such a big deal over file extensions and outright hiding
> them is silly IMO

Hiding the extension is a complete nightmare. Unless the automatic
recognition system works perfectly, you can end up with a file you can't
use.
--
Check out Basic Algorithms and my other books:
https://www.lulu.com/spotlight/bgy1mm

Re: Experimental C Build System

<upr6b0$cjck$1@dont-email.me>

  copy mid

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

  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: Mon, 5 Feb 2024 11:36:32 -0600
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <upr6b0$cjck$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>
<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>
<upp1h3$3rqfm$2@dont-email.me> <upr3g3$bgc9$2@dont-email.me>
<upr5uf$cpjn$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 5 Feb 2024 17:36:33 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e485a3ebd79f8ddf0111c9819eece337";
logging-data="413076"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/4jzXfrVFJKAg38Qf2LxdzhYHU/kZrNM+3JESjUBmc0Q=="
User-Agent: Betterbird (Linux)
Cancel-Lock: sha1:wrEPloCWeCxCfrC/MmaMt4ZEq6I=
In-Reply-To: <upr5uf$cpjn$1@dont-email.me>
Content-Language: en-US
 by: candycanearter07 - Mon, 5 Feb 2024 17:36 UTC

On 2/5/24 11:29, Malcolm McLean wrote:
> On 05/02/2024 16:48, candycanearter07 wrote:
>> On 2/4/24 16:02, Chris M. Thomasson wrote:
>>> On 2/4/2024 9:48 AM, David Brown wrote:
>>> [...]
>>>> In Windows, it is sometimes part of a file name (when it is not the
>>>> last period in the name), sometimes a magical character that appears
>>>> or disappears (when the file ends in a period), and sometimes it
>>>> delimits a file extension.
>>>
>>> picture_of_a_cow____________________this_is_not_a_virus_really.jpeg.gif.exe
>>>
>>> lol.
>>
>> Windows making such a big deal over file extensions and outright
>> hiding them is silly IMO
>
> Hiding the extension is a complete nightmare. Unless the automatic
> recognition system works perfectly, you can end up with a file you can't
> use.

Or they could just use the magic number as a fallback..
--
user <candycane> is generated from /dev/urandom

Re: Experimental C Build System

<slrnus275u.2s0.jj@iridium.wf32df>

  copy mid

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

  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: jj...@franjam.org.uk (Jim Jackson)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: Experimental C Build System
Date: Mon, 5 Feb 2024 17:37:02 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <slrnus275u.2s0.jj@iridium.wf32df>
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>
Injection-Date: Mon, 5 Feb 2024 17:37:02 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="383fe5c8f2d1cce797a8eaff3c0f1ba9";
logging-data="404509"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/AHa4mJrSqiht28CduorHj1BDgxPPUO9A="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:o8Fyeh7ckAlUrja8i7DQ4jNvH1k=
 by: Jim Jackson - Mon, 5 Feb 2024 17:37 UTC

On 2024-02-04, bart <bc@freeuk.com> wrote:
> On 04/02/2024 22:46, Lawrence D'Oliveiro wrote:
>> On Sun, 4 Feb 2024 14:01:08 +0000, bart wrote:
>>
>>> But it does seem as though Unix was a breeding ground for multitudinous
>>> developer tools. Plus there was little demarcation between user
>>> commands, C development tools, C libraries and OS.
>>>
>>> Somebody who's used to that environment is surely going to have trouble
>>> on an OS like MSDOS or Windows where they have to start from nothing.
>>> Even if most of the tools are now free.
>>
>> Yet it seems like even someone like you, who is supposed to be ???used to???
>> Windows rather than *nix, still has the same trouble.
>
>
> *I* don't have trouble. Only with other people's projects originating
> from Linux.
>
> Apparently, on that OS, nobody knows how to build a program given only
> the C source files, and a C compiler.

Programmers and Developers do.

> Or if they do, they are unwilling to part with that information. It is
> encrypted into a makefile, or worse.

Encrypted? I always thought makefiles were plain text? You can read them
with less^H^H^H^H "more" - which if memory serves, is also a DOS command?

As an aside I skip most of this rubbish and just dip in occasionally.
But I think I have some measure of where bart is coming from. Some
people come at things not as they are, but as they wish they were given
their background.

I'll go back to lurking and just dipping into this if I've time to waste.

Re: Experimental C Build System

<upr7t3$d70i$1@dont-email.me>

  copy mid

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

  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: Mon, 5 Feb 2024 18:03:14 +0000
Organization: A noiseless patient Spider
Lines: 60
Message-ID: <upr7t3$d70i$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>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 5 Feb 2024 18:03:15 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e8f1119ff9e922f8544fc637331bcbc5";
logging-data="433170"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+NkObfCiS/iF6Bi/F7crgJnpYY1UCAxrU="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:lgZEl1EHDb64Cd7ejA0UaAjpxnI=
Content-Language: en-GB
In-Reply-To: <slrnus275u.2s0.jj@iridium.wf32df>
 by: Malcolm McLean - Mon, 5 Feb 2024 18:03 UTC

On 05/02/2024 17:37, Jim Jackson wrote:
> On 2024-02-04, bart <bc@freeuk.com> wrote:
>> On 04/02/2024 22:46, Lawrence D'Oliveiro wrote:
>>> On Sun, 4 Feb 2024 14:01:08 +0000, bart wrote:
>>>
>>>> But it does seem as though Unix was a breeding ground for multitudinous
>>>> developer tools. Plus there was little demarcation between user
>>>> commands, C development tools, C libraries and OS.
>>>>
>>>> Somebody who's used to that environment is surely going to have trouble
>>>> on an OS like MSDOS or Windows where they have to start from nothing.
>>>> Even if most of the tools are now free.
>>>
>>> Yet it seems like even someone like you, who is supposed to be ???used to???
>>> Windows rather than *nix, still has the same trouble.
>>
>>
>> *I* don't have trouble. Only with other people's projects originating
>> from Linux.
>>
>> Apparently, on that OS, nobody knows how to build a program given only
>> the C source files, and a C compiler.
>
> Programmers and Developers do.
>
>> Or if they do, they are unwilling to part with that information. It is
>> encrypted into a makefile, or worse.
>
> Encrypted? I always thought makefiles were plain text? You can read them
> with less^H^H^H^H "more" - which if memory serves, is also a DOS command?
>
Here's one on my machine I selected almost at random

!ifndef BCROOT
BCROOT=$(MAKEDIR)\..
!endif

BCC32 = $(BCROOT)\bin\Bcc32.exe

IDE_LinkFLAGS32 = -L$(BCROOT)\LIB
COMPOPTS= -O2 -tWC -tWM- -Vx -Ve -D_NO_VCL; -I../../../../;
-L..\..\build\bcb5

timer.exe : regex_timer.cpp
$(BCC32) @&&|
$(COMPOPTS) -e$@ regex_timer.cpp
|

Whilst some of this is pretty clear, it's not all obvious what the
second half of the line
$(BCC32) @&&|
is meant to mean.

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

Re: Experimental C Build System

<20240205101236.81@kylheku.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!news.samoylyk.net!news.gegeweb.eu!gegeweb.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: Mon, 5 Feb 2024 18:13:58 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <20240205101236.81@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>
<upp90v$3tovf$1@dont-email.me> <upr337$bgc8$2@dont-email.me>
Injection-Date: Mon, 5 Feb 2024 18:13:58 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6ab14552dac60fcb02752f8e3efef9ea";
logging-data="436279"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/mSn2CtHB0Lx15Hs2C3x9lsXogX/yvVD0="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:BVmn0Wdvf+A0Px1VJIsXR5Yc4lo=
 by: Kaz Kylheku - Mon, 5 Feb 2024 18:13 UTC

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.

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

<upra6k$dkgp$1@dont-email.me>

  copy mid

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

  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: Mon, 5 Feb 2024 18:42:30 +0000
Organization: A noiseless patient Spider
Lines: 83
Message-ID: <upra6k$dkgp$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>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 5 Feb 2024 18:42:28 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="4ef88dfc4744a08cd0bfd2155026f37e";
logging-data="447001"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+vqSxlQTonqXxBCD3G35I8tlGsFovYdZA="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:kqiMNEKxGuEbAcpOChHUaMzEYno=
In-Reply-To: <upr7t3$d70i$1@dont-email.me>
Content-Language: en-GB
 by: bart - Mon, 5 Feb 2024 18:42 UTC

On 05/02/2024 18:03, Malcolm McLean wrote:
> On 05/02/2024 17:37, Jim Jackson wrote:
>> On 2024-02-04, bart <bc@freeuk.com> wrote:
>>> On 04/02/2024 22:46, Lawrence D'Oliveiro wrote:
>>>> On Sun, 4 Feb 2024 14:01:08 +0000, bart wrote:
>>>>
>>>>> But it does seem as though Unix was a breeding ground for
>>>>> multitudinous
>>>>> developer tools. Plus there was little demarcation between user
>>>>> commands, C development tools, C libraries and OS.
>>>>>
>>>>> Somebody who's used to that environment is surely going to have
>>>>> trouble
>>>>> on an OS like MSDOS or Windows where they have to start from nothing.
>>>>> Even if most of the tools are now free.
>>>>
>>>> Yet it seems like even someone like you, who is supposed to be
>>>> ???used to???
>>>> Windows rather than *nix, still has the same trouble.
>>>
>>>
>>> *I* don't have trouble. Only with other people's projects originating
>>> from Linux.
>>>
>>> Apparently, on that OS, nobody knows how to build a program given only
>>> the C source files, and a C compiler.
>>
>> Programmers and Developers do.
>>
>>> Or if they do, they are unwilling to part with that information. It is
>>> encrypted into a makefile, or worse.
>>
>> Encrypted? I always thought makefiles were plain text? You can read them
>> with less^H^H^H^H "more" - which if memory serves, is also a DOS command?
>>
> Here's one on my machine I selected almost at random
>
> !ifndef BCROOT
> BCROOT=$(MAKEDIR)\..
> !endif
>
> BCC32   = $(BCROOT)\bin\Bcc32.exe
>
> IDE_LinkFLAGS32 =  -L$(BCROOT)\LIB
> COMPOPTS= -O2 -tWC -tWM- -Vx -Ve -D_NO_VCL; -I../../../../;
> -L..\..\build\bcb5
>
>
> timer.exe : regex_timer.cpp
>   $(BCC32) @&&|
>  $(COMPOPTS) -e$@ regex_timer.cpp
> |
>
>
> Whilst some of this is pretty clear, it's not all obvious what the
> second half of the line
> $(BCC32) @&&|
> is meant to mean.
>
>

I thought of some project and decided to look at NASM sources, choosing
2.15 from a few years ago as it might be simpler.

There was no makefile, only makefile.in of 1000 lines. If I type 'make',
it says no targets found.

There was also 'configure' of 11,000 lines, so I switched to WSL. Now
typing ./configure shows:

-bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory

So it doesn't work on Linux either. If I look at INSTALL, it actually
says use "sh configure". That now says:

: not found14:
configure: 30: Syntax error: newline unexpected (expecting ")")

The entire project is only 106 .c files.

If I try compiling a random .c file, it complains of a missing header.

This is all quite typical.

Re: Experimental C Build System

<XpawN.303218$7sbb.222881@fx16.iad>

  copy mid

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

  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!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx16.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: <20240201222328.00006859@yahoo.com> <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> <upkkai$30tol$2@dont-email.me> <uplge5$352uh$1@dont-email.me> <upln11$36b4p$1@dont-email.me> <uplo41$36hig$1@dont-email.me> <upm7q5$3943m$6@dont-email.me> <upmdn0$3a9gd$1@dont-email.me> <upmlfm$3bdol$1@dont-email.me> <upmonp$3bspi$1@dont-email.me> <ns22silekslfmccm81b1dtl5pt6nha51on@dim53.demon.nl>
Lines: 58
Message-ID: <XpawN.303218$7sbb.222881@fx16.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Mon, 05 Feb 2024 19:11:51 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Mon, 05 Feb 2024 19:11:51 GMT
X-Received-Bytes: 2459
 by: Scott Lurndal - Mon, 5 Feb 2024 19:11 UTC

Kees Nuyt <k.nuyt@nospam.demon.nl> writes:
>On Sun, 4 Feb 2024 01:19:53 +0000, bart <bc@freeuk.com> wrote:
>
>> Everybody says use makefiles; well they don't work. They tend to be
>> heavily skewed towards the use of gcc. My compiler isn't gcc.
>
>By default a lot of builtin "implicit rules" determine which
>program to use to make a .o from a .c etc. etc., and yes, that
>is GCC-centric.

I wouldn't call them GCC-centric, for the most it is POSIX-centric,
i.e.
CC = cc

Although there is
CXX = g++

The built-in recipes are pretty generic.

%.o: %.c
# recipe to execute (built-in):
$(COMPILE.c) $(OUTPUT_OPTION) $<

%.cc:

%: %.cc
# recipe to execute (built-in):
$(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@

%.o: %.cc
# recipe to execute (built-in):
$(COMPILE.cc) $(OUTPUT_OPTION) $<

%.C:

%: %.C
# recipe to execute (built-in):
$(LINK.C) $^ $(LOADLIBES) $(LDLIBS) -o $@

%.o: %.C
# recipe to execute (built-in):
$(COMPILE.C) $(OUTPUT_OPTION) $<

%.cpp:

%: %.cpp
# recipe to execute (built-in):
$(LINK.cpp) $^ $(LOADLIBES) $(LDLIBS) -o $@

%.o: %.cpp
# recipe to execute (built-in):
$(COMPILE.cpp) $(OUTPUT_OPTION) $<

You can always override the variable on the make command line

$ make CC=bcc

Re: Experimental C Build System

<uuawN.303219$7sbb.85607@fx16.iad>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!nntp.comgw.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx16.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> <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>
Lines: 62
Message-ID: <uuawN.303219$7sbb.85607@fx16.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Mon, 05 Feb 2024 19:16:42 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Mon, 05 Feb 2024 19:16:42 GMT
X-Received-Bytes: 3154
 by: Scott Lurndal - Mon, 5 Feb 2024 19:16 UTC

Malcolm McLean <malcolm.arthur.mclean@gmail.com> writes:
>On 05/02/2024 17:37, Jim Jackson wrote:
>> On 2024-02-04, bart <bc@freeuk.com> wrote:
>>> On 04/02/2024 22:46, Lawrence D'Oliveiro wrote:
>>>> On Sun, 4 Feb 2024 14:01:08 +0000, bart wrote:
>>>>
>>>>> But it does seem as though Unix was a breeding ground for multitudinous
>>>>> developer tools. Plus there was little demarcation between user
>>>>> commands, C development tools, C libraries and OS.
>>>>>
>>>>> Somebody who's used to that environment is surely going to have trouble
>>>>> on an OS like MSDOS or Windows where they have to start from nothing.
>>>>> Even if most of the tools are now free.
>>>>
>>>> Yet it seems like even someone like you, who is supposed to be ???used to???
>>>> Windows rather than *nix, still has the same trouble.
>>>
>>>
>>> *I* don't have trouble. Only with other people's projects originating
>>> from Linux.
>>>
>>> Apparently, on that OS, nobody knows how to build a program given only
>>> the C source files, and a C compiler.
>>
>> Programmers and Developers do.
>>
>>> Or if they do, they are unwilling to part with that information. It is
>>> encrypted into a makefile, or worse.
>>
>> Encrypted? I always thought makefiles were plain text? You can read them
>> with less^H^H^H^H "more" - which if memory serves, is also a DOS command?
>>
>Here's one on my machine I selected almost at random
>
>!ifndef BCROOT
>BCROOT=$(MAKEDIR)\..
>!endif
>
>BCC32 = $(BCROOT)\bin\Bcc32.exe
>
>IDE_LinkFLAGS32 = -L$(BCROOT)\LIB
>COMPOPTS= -O2 -tWC -tWM- -Vx -Ve -D_NO_VCL; -I../../../../;
>-L..\..\build\bcb5
>
>
>timer.exe : regex_timer.cpp
> $(BCC32) @&&|
> $(COMPOPTS) -e$@ regex_timer.cpp
>|

The recipes are executed using the host shell.

That must be one of barts makefiles.

As it is shown, it is not a valid make recipe for any unix or
linux shell.

timer.exe: regex_timer.cpp
$(BCC32) $(COMPOPTS) -e $@ regex_timer.cpp

would be more likely, but the parameter to '-e' is completely
interpeted by whatever program is specified by the BCC32 variable.

Re: Experimental C Build System

<uprcd8$dspb$3@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!news.chmurka.net!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
Subject: Re: Experimental C Build System
Date: Mon, 5 Feb 2024 11:20:09 -0800
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <uprcd8$dspb$3@dont-email.me>
References: <up8i91$h6iu$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> <uppek1$3v3vn$1@dont-email.me>
<uppnh9$4j0k$4@dont-email.me> <87jznjle00.fsf@nosuchdomain.example.com>
<uppp69$5g4n$1@dont-email.me> <86fry76k7j.fsf@linuxsc.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 5 Feb 2024 19:20:09 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e85c8ff53645b7d4213f2214e8730b82";
logging-data="455467"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX180PLq1Han89Bm8VkqTPvw9DDnbbJCWU7w="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:K/pnZhOJzSktHqiOGX5Gc3S21b8=
In-Reply-To: <86fry76k7j.fsf@linuxsc.com>
Content-Language: en-US
 by: Chris M. Thomasson - Mon, 5 Feb 2024 19:20 UTC

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

Re: Experimental C Build System

<uprcns$dspb$4@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!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 11:25:49 -0800
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <uprcns$dspb$4@dont-email.me>
References: <up8i91$h6iu$1@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> <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>
<upp0t1$3rjim$1@dont-email.me> <upp5j8$3stas$1@dont-email.me>
<upql3h$9ooi$1@dont-email.me> <upqpko$aild$1@dont-email.me>
<upqvq2$bnji$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 5 Feb 2024 19:25:48 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e85c8ff53645b7d4213f2214e8730b82";
logging-data="455467"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX189FStyLaJd/o8L8puYmaEEGtYQgTZnX3M="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:ZgU106ANJHV0gz35Ci3OpxFC5ws=
Content-Language: en-US
In-Reply-To: <upqvq2$bnji$1@dont-email.me>
 by: Chris M. Thomasson - Mon, 5 Feb 2024 19:25 UTC

On 2/5/2024 7:45 AM, bart wrote:
[...]
> Yeah, because no other OS has ever required a hard reboot. I've had to
> do a hard power-off and power-on cycle endless times on smart TVs,
> phones and tablets. None of them ran Windows.
[...]
You never experienced a blue screen of death on Windows?

Re: Experimental C Build System

<877cjili1r.fsf@nosuchdomain.example.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!news.niel.me!news.gegeweb.eu!gegeweb.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,comp.unix.programmer
Subject: Re: Experimental C Build System
Date: Mon, 05 Feb 2024 13:25:52 -0800
Organization: None to speak of
Lines: 15
Message-ID: <877cjili1r.fsf@nosuchdomain.example.com>
References: <up8i91$h6iu$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>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="a411ba163e4887d967b7337e74fb5882";
logging-data="503475"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/gLjZKuGU4w0H8rCjzIJSg"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:xxbhafQyN40Dpe0qXYbNfhxQ9yc=
sha1:95JPAO1wNhG79al5fqyVm3aChxs=
 by: Keith Thompson - Mon, 5 Feb 2024 21:25 UTC

bart <bc@freeuk.com> writes:
[...]
> There was also 'configure' of 11,000 lines, so I switched to WSL. Now
> typing ./configure shows:
>
> -bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory

It looks like you've downloaded the source as a .zip file, which was
packaged incorrectly. I've reported this to their mailing list. Try
downloading the .tar.gz file instead.

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

<uprk3j$fc78$2@dont-email.me>

  copy mid

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

  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: Mon, 5 Feb 2024 21:31:34 +0000
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <uprk3j$fc78$2@dont-email.me>
References: <up8i91$h6iu$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> <877cjili1r.fsf@nosuchdomain.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 5 Feb 2024 21:31:32 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="4ef88dfc4744a08cd0bfd2155026f37e";
logging-data="504040"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19H+oH57jDsl4dW4HQw4Q4eNlPASJeXZAY="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:8GmlohVikSMHmi/mZ5wxY0UzRPk=
Content-Language: en-GB
In-Reply-To: <877cjili1r.fsf@nosuchdomain.example.com>
 by: bart - Mon, 5 Feb 2024 21:31 UTC

On 05/02/2024 21:25, Keith Thompson wrote:
> bart <bc@freeuk.com> writes:
> [...]
>> There was also 'configure' of 11,000 lines, so I switched to WSL. Now
>> typing ./configure shows:
>>
>> -bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory
>
> It looks like you've downloaded the source as a .zip file, which was
> packaged incorrectly. I've reported this to their mailing list. Try
> downloading the .tar.gz file instead.
>

Well, this was the 2020 version (I thought it might be slightly less
challenging than the latest, and not so old that that had its own problems).

Maybe a newer one is fixed.

Re: Experimental C Build System

<8734u6lhop.fsf@nosuchdomain.example.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!paganini.bofh.team!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 13:33:42 -0800
Organization: None to speak of
Lines: 21
Message-ID: <8734u6lhop.fsf@nosuchdomain.example.com>
References: <up8i91$h6iu$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> <uppek1$3v3vn$1@dont-email.me>
<uppnh9$4j0k$4@dont-email.me>
<87jznjle00.fsf@nosuchdomain.example.com>
<uppp69$5g4n$1@dont-email.me> <86fry76k7j.fsf@linuxsc.com>
<uprcd8$dspb$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="a411ba163e4887d967b7337e74fb5882";
logging-data="503475"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18xic0R3K9QwOESDKCQTvdG"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:mUWfM7+7ANIiRq/lbRbVO0OrSjM=
sha1:HLRn4QhWyyLOn0grFyHuFrlOmd8=
 by: Keith Thompson - Mon, 5 Feb 2024 21:33 UTC

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

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

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

  copy mid

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

  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: Keith.S....@gmail.com (Keith Thompson)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: Experimental C Build System
Date: Mon, 05 Feb 2024 13:40:17 -0800
Organization: None to speak of
Lines: 26
Message-ID: <87ttmmk2ta.fsf@nosuchdomain.example.com>
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> <upp6js$3t5rg$1@dont-email.me>
<slrnus275u.2s0.jj@iridium.wf32df> <upr7t3$d70i$1@dont-email.me>
<upra6k$dkgp$1@dont-email.me>
<877cjili1r.fsf@nosuchdomain.example.com>
<uprk3j$fc78$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="a411ba163e4887d967b7337e74fb5882";
logging-data="503475"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19i+eMNut1zDxzuq6+uj3Jh"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:uy9gk14LF4IOcjI3QTPxT+URpUM=
sha1:WvvQeHEnSR4XzCr46b5hjg9L3VU=
 by: Keith Thompson - Mon, 5 Feb 2024 21:40 UTC

bart <bc@freeuk.com> writes:
> On 05/02/2024 21:25, Keith Thompson wrote:
>> bart <bc@freeuk.com> writes:
>> [...]
>>> There was also 'configure' of 11,000 lines, so I switched to WSL. Now
>>> typing ./configure shows:
>>>
>>> -bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory
>> It looks like you've downloaded the source as a .zip file, which was
>> packaged incorrectly. I've reported this to their mailing list. Try
>> downloading the .tar.gz file instead.
>>
>
> Well, this was the 2020 version (I thought it might be slightly less
> challenging than the latest, and not so old that that had its own
> problems).
>
> Maybe a newer one is fixed.

No, I downloaded 2.16.01 from 2022-12-21. Try the .tar.gz file instead
(or .tar.bz2, or .tar.xz).

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

<uprlkq$uqjc$1@news.xmission.com>

  copy mid

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

  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: Mon, 5 Feb 2024 21:57:46 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <uprlkq$uqjc$1@news.xmission.com>
References: <up8i91$h6iu$1@dont-email.me> <86fry76k7j.fsf@linuxsc.com> <uprcd8$dspb$3@dont-email.me> <8734u6lhop.fsf@nosuchdomain.example.com>
Injection-Date: Mon, 5 Feb 2024 21:57:46 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
logging-data="1010284"; 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 - Mon, 5 Feb 2024 21:57 UTC

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.

--
Meatball Ron wants to replace the phrase "climate change" with the phrase
"energy dominance" in policy discussions.

Yeah, like that makes a lot of sense...

Re: Experimental C Build System

<20240205142324.727@kylheku.com>

  copy mid

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

  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: Mon, 5 Feb 2024 22:29:02 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <20240205142324.727@kylheku.com>
References: <up8i91$h6iu$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> <877cjili1r.fsf@nosuchdomain.example.com>
Injection-Date: Mon, 5 Feb 2024 22:29:02 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6ab14552dac60fcb02752f8e3efef9ea";
logging-data="521238"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18c+7ST1dQoAhlfOqV5qOTeYWjEOpDkJs0="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:/EPzb/RJ9gIdo+ensqXvJxWVJ/0=
 by: Kaz Kylheku - Mon, 5 Feb 2024 22:29 UTC

On 2024-02-05, Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote:
> bart <bc@freeuk.com> writes:
> [...]
>> There was also 'configure' of 11,000 lines, so I switched to WSL. Now
>> typing ./configure shows:
>>
>> -bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory
>
> It looks like you've downloaded the source as a .zip file, which was
> packaged incorrectly.

Or, no?

I'm guessing that a .zip file is intended for Windows users and so it has
text files in CR-LF format.

It might be intended to be built in the MinGW environment.

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

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

  copy mid

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

  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: Keith.S....@gmail.com (Keith Thompson)
Newsgroups: comp.lang.c,comp.unix.programmer
Subject: Re: Experimental C Build System
Date: Mon, 05 Feb 2024 14:39:09 -0800
Organization: None to speak of
Lines: 39
Message-ID: <87le7yk036.fsf@nosuchdomain.example.com>
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> <upp6js$3t5rg$1@dont-email.me>
<slrnus275u.2s0.jj@iridium.wf32df> <upr7t3$d70i$1@dont-email.me>
<upra6k$dkgp$1@dont-email.me>
<877cjili1r.fsf@nosuchdomain.example.com>
<20240205142324.727@kylheku.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="a411ba163e4887d967b7337e74fb5882";
logging-data="524561"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ROGTPpVQhPet0huJvuOPp"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:7NwhNbdjUC6W3WpPAAZU0mK8Sow=
sha1:2bTbvXa34LcdXtBjypEuc1Ru0jE=
 by: Keith Thompson - Mon, 5 Feb 2024 22:39 UTC

Kaz Kylheku <433-929-6894@kylheku.com> writes:
> On 2024-02-05, Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote:
>> bart <bc@freeuk.com> writes:
>> [...]
>>> There was also 'configure' of 11,000 lines, so I switched to WSL. Now
>>> typing ./configure shows:
>>>
>>> -bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory
>>
>> It looks like you've downloaded the source as a .zip file, which was
>> packaged incorrectly.
>
> Or, no?
>
> I'm guessing that a .zip file is intended for Windows users and so it has
> text files in CR-LF format.
>
> It might be intended to be built in the MinGW environment.

Possibly. I got a reply on the mailing list:
https://lists.nasm.us/archives/nasm-devel/2024-February/000095.html

It isn't an error; the .zip file has DOS-style file endings because it
is intended primarily to be used on DOS/Windows and similar systems.

On Unix, you can extract it with "unzip -a" or (better) use the .tar.xz
file.

If you use "unzip -a" it will translate CRLF to LF line endings for
files that are considered to be "text".

Normally /bin/sh doesn't tolerate CRLF line endings (more precisely, it
treats the CR as part of the line and LF as the line ending). I suppose
there's a /bin/sh provided with MinGW; I don't know how it behaves.

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

<uprof9$g01t$3@dont-email.me>

  copy mid

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

  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: Mon, 5 Feb 2024 22:46:01 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <uprof9$g01t$3@dont-email.me>
References: <up8i91$h6iu$1@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> <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>
<upp0t1$3rjim$1@dont-email.me> <upp5j8$3stas$1@dont-email.me>
<upql3h$9ooi$1@dont-email.me> <upqpko$aild$1@dont-email.me>
<upqvq2$bnji$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 5 Feb 2024 22:46:01 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f9f0728b32a146e99d37fd009fb7e64d";
logging-data="524349"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18jI5KoQa6GXPGorwouycvZ"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:BhjdKntxyHmiFonRaOlyV3eqRyA=
 by: Lawrence D'Oliv - Mon, 5 Feb 2024 22:46 UTC

On Mon, 5 Feb 2024 15:45:07 +0000, bart wrote:

> Pretty much every front-end not aimed at technical users is
> case-insensitive.

Some Linux filesystems offer this option, should you want to enable it
<https://lwn.net/Articles/784041/>.

Re: Experimental C Build System

<20240205143126.577@kylheku.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.unix.programmer
Path: i2pn2.org!i2pn.org!news.niel.me!news.gegeweb.eu!gegeweb.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: Mon, 5 Feb 2024 22:47:52 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 57
Message-ID: <20240205143126.577@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> <upp6js$3t5rg$1@dont-email.me>
<slrnus275u.2s0.jj@iridium.wf32df> <upr7t3$d70i$1@dont-email.me>
<upra6k$dkgp$1@dont-email.me>
Injection-Date: Mon, 5 Feb 2024 22:47:52 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6ab14552dac60fcb02752f8e3efef9ea";
logging-data="528309"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19EdVpx9GcYPjBiYa3yOK4Wk1Y66ZPF3w4="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:UiW3mzAuuhD/DVAWnuo+67v80ec=
 by: Kaz Kylheku - Mon, 5 Feb 2024 22:47 UTC

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.

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

<uprop0$g01t$4@dont-email.me>

  copy mid

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

  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: Mon, 5 Feb 2024 22:51:12 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <uprop0$g01t$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>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 5 Feb 2024 22:51:12 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f9f0728b32a146e99d37fd009fb7e64d";
logging-data="524349"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18/5nVAtVp3sSbWyc/NB1iT"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:DK0RlRAMrGeyZ9BIfvR1YTy5FaQ=
 by: Lawrence D'Oliv - Mon, 5 Feb 2024 22:51 UTC

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?

Re: Experimental C Build System

<uprqbs$gcv2$1@dont-email.me>

  copy mid

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

  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: Mon, 5 Feb 2024 23:18:19 +0000
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <uprqbs$gcv2$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>
<upqipd$9c0k$1@dont-email.me> <uprop0$g01t$4@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:18:20 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="121546b46b87f698889c92479e4b6ace";
logging-data="537570"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX182+iwQ6X65VMRkiJ6/2FEpsVSXhYTZIgI="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:z1+koFDgO9Lzz0/7R7DI7SiBAKU=
In-Reply-To: <uprop0$g01t$4@dont-email.me>
Content-Language: en-GB
 by: Malcolm McLean - Mon, 5 Feb 2024 23:18 UTC

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.
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? Or should
they still call the old DLL in case the new DLL breaks something? And
who is responsible for managing this and testing things, and making sure
old versions are still hanging around if needed but not accidentally
linked to?
It's still a problem with static libraries of course, but now at least
is clear that it is develooer of the app is the person responsible for
deciding which version shall be linked and testing that it works. At
least if you distribute binary.
--
Check out Basic Algorithms and my other books:
https://www.lulu.com/spotlight/bgy1mm


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

Pages:1234567891011121314151617
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor