Re: [hackers][sbase][PATCH] Update Makefile to use POSIX shell substitution

From: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
Date: Fri, 14 Mar 2025 09:17:32 +0100

Hi,

Quoth Sebastien Peterson-Boudreau <sebastien.peterson.boudreau_AT_gmail.com>:
> On Thu, Mar 13, 2025 at 10:50:36PM +0100, Страхиња Радић wrote:
> > IMHO the latest additions to POSIX are nonportable to programs and
> > systems using an earlier versions of the standard,
> This is a very good point and I would readily accept it as a refutation
> to my patch. I have found that all _modern_ make(1) implementations conform
> to the standard and would process this Makefile (following the patch)
> correctly, but the previous Makefile (without my patch) would be
> recognized by pretty much any make(1) every written (hyperbole).

I was commenting this with other suckless core developers, and we
considered that it's too soon to introduce that kind of new operators,
and the benefits are unclear yet. Saying that, I would like to remark
that some of us were involved in the discussions about the new changes
in make, and we do know how and why the new operators were added, and
I would not say that they were added by common agreement, so we will
see how they are accepted in the UNIX community in the coming years.

A second reason, is that we want to port scc make [1] (I am also the
main developer of scc) to sbase soon, and scc make was written just
before the new standard was accepted, so it supports POSIX 2018, and
I think not being able to self host would not be a good thing.

Kind regards,

[1] https://git.simple-cc.org/scc/file/src/cmd/scc-make/main.c.html
Received on Fri Mar 14 2025 - 09:17:32 CET

This archive was generated by hypermail 2.3.0 : Fri Mar 14 2025 - 09:24:40 CET