delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2023/09/05/20:36:59

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20221208; t=1693960614; x=1694565414; darn=delorie.com;
h=content-transfer-encoding:to:subject:message-id:date:from
:in-reply-to:references:mime-version:from:to:cc:subject:date
:message-id:reply-to;
bh=kocsmFgpW8Vh8+8iAYCzNyUU1LJYsvcTZHjY055TFBE=;
b=gGBbnnfX+wmoknNjfioflwzLEP/1UVbPLow2gjSgvnpMMnNkSIok3ojv8EINcHdKSO
+lP1fqzJCo5+J1i+KPM+/cGJqugxr6f2P58tv5snuYRUMlP4bh3VsAO7VjYyV+SIiWq6
DkSkaS0wYFwWiMZbU8k7HPXVfWysDdOKtqKDnTjzfHcBsGTPKAp8aHGEV2xZIUHaY90H
IYyRF1f24ie36hh9RSNqp+K5TxBmWPWDLiJdJOYkotKFj4UN51m+eaiWQQCAQqYO6oOE
cOQKXQv3bThCATvfduny98cOAhsKKbPK8jFP0rN0K0yDZk9GckuuB7W3876BqAs/oTRH
Nlmg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20221208; t=1693960614; x=1694565414;
h=content-transfer-encoding:to:subject:message-id:date:from
:in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
:subject:date:message-id:reply-to;
bh=kocsmFgpW8Vh8+8iAYCzNyUU1LJYsvcTZHjY055TFBE=;
b=gCgm+LYflgVB9R2digRSdHT5QPVA6kMQtwuXztAuPWScmuUo0KthfOhjsxYa8K6I3E
8+oucEzZYxCbh7KAdez+wlbVbeDhch69cosQQGdVtKnOf+ti6f6xQXHALOIP5OvAeAS+
yFIxAbZqqJ1OaLjqFlxGEj3R7BduH9692vlFxTaZhuAJLx4cYghjJiuNFGQBfx+eTEQ3
2uenRN79qKeXdjyhkpWrGTTjzX9EHV6ZEnIuL20ovzMeTHFvVzEUHpt2iq1tYdmvi0+p
x2IoZ0tPx0jnLl/YfXGlh3FvI4/Ci8yyeTgtbSYPYc+zTMC3rhV4gZW34WZF6UP9pmu4
vt8g==
X-Gm-Message-State: AOJu0Yza++qRsdEi3DFtO+rALU3EkTvSoEgRTXJO+8ErpNEppCi19FRL
pJZsNgVJgKl554IvVkK8V2NEYsT9qwBTprqwwpqhCoyO
X-Google-Smtp-Source: AGHT+IEBanb451sDoFpoFapTaKwqed8wqiWCli9k9ypu2Q+cIKGByeHQ+xAiUY0uKtDwBkmmYMBNHTzIXNIarc/YckE=
X-Received: by 2002:a81:4948:0:b0:592:97c3:18d2 with SMTP id
w69-20020a814948000000b0059297c318d2mr13576958ywa.15.1693960614352; Tue, 05
Sep 2023 17:36:54 -0700 (PDT)
MIME-Version: 1.0
References: <43a80695-a096-41e7-9f3d-5e92a3037deb AT iki DOT fi> <CAA-ihx-su+z=sO+Yp8ZshzOJdJfXzaWTbJta0shM7hsE9umRLg AT mail DOT gmail DOT com>
<3901eeab-f64a-480b-ad9a-20505d087c59 AT iki DOT fi>
In-Reply-To: <3901eeab-f64a-480b-ad9a-20505d087c59@iki.fi>
From: "Rugxulo (rugxulo AT gmail DOT com) [via djgpp-workers AT delorie DOT com]" <djgpp-workers AT delorie DOT com>
Date: Tue, 5 Sep 2023 19:36:41 -0500
Message-ID: <CAA-ihx9CJ9U9jV0w-GH91m+0oth=hjMwQYPkQ+HuLokWXFSTrg@mail.gmail.com>
Subject: Re: gcc-13
To: djgpp-workers AT delorie DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 3860auF7005074
Reply-To: djgpp-workers AT delorie DOT com

Hi again,

On Tue, Sep 5, 2023 at 12:17 PM Andris Pavēnis (andris DOT pavenis AT iki DOT fi)
[via djgpp-workers AT delorie DOT com] <djgpp-workers AT delorie DOT com> wrote:
>
> On 9/5/23 03:35, Rugxulo (rugxulo AT gmail DOT com) [via djgpp-workers AT delorie DOT com] wrote:
> >
> > On Mon, Sep 4, 2023 at 11:29 AM Andris Pavēnis (andris DOT pavenis AT iki DOT fi)
> > [via djgpp-workers AT delorie DOT com] <djgpp-workers AT delorie DOT com> wrote:
> >> I finally uploaded a month old build of gcc-13.2.0 to http://www.delorie.com/pub/djgpp/beta/v2gnu/
>
> > BTW, why no attempt at Modula-2? (No offense, I know time and energy
> > are probably low.)
>
> That did not even to come into mind. Anyway is easy to try to build cross-compiler under ArchLinux.
>
> Tried (build took about 5 minutes on Ryzen 9 3950X CPU). It does not however find SYSTEM.mod, which
> is installed when tried to compile an example which I found somewhere on web (I do not know
> language myself).

It's been a few years since I tried gm2. I didn't write any heavy code
in it, just played around a bit.

Normally "SYSTEM" is a pseudo module only used for non-portable code,
but I don't know how gm2 is supporting it here.

In recent years I did dabble in Modula-2 but only for simple homegrown
text utilities, nothing brilliant.

(I also keep playing around with Pascal and Oberon in FreeDOS, all of
which I've been toying with for a few years. Lately it's mostly been
Pascal although I also ported some very trivial stuff to C and
FreeBASIC.)

> If You know language (Modula 2) and have access to ArchLinux: You could take files from
> https://aur.archlinux.org/packages/djgpp-gcc (https://aur.archlinux.org/djgpp-gcc.git) and do
> following additional changes:

I did buy a StarLabs Linux laptop (Ubuntu LTS) last year but haven't
used it much. I never installed GCC (or any compiler) on it. GCC 13 is
really new anyways (but yes, Modula-2 directly interests me). Cygwin
is still apparently using GCC 11.

> > Should I try to rebuild p7zip (C++) with it?
> You could try and tell about results.

I know I tried a few times with G++ 7 and 9. Since p7zip is older code
(and last updated in 2016), it does need "-std=gnu++98" or such
because the default is now C++17. So it always had some bugs and
limits but "mostly" worked.

> >> - no testing on non-LFN systems at all (but earlier mentioned C++ program incorporates the
> >> functionality of doschk in slightly more advanced form and refuses to create ZIP packages in case
> >> of a non-LFN conflict)
> > Dumb question, but what OS is expected to run it? WinXP? Vista? 10? FreeDOS?
>
> It is supposed to work in listed ones. I have not tried FreeDOS 1.3 myself, but I had bad
> experience with LFN support in FreeDOS 1.2. So You are welcome to try.

I normally avoid LFNs in DOS, but rarely I'll load up DOSLFN (TSR). I
doubt FreeDOS 1.3 changed much. It might even have regressions. I'm
still using the older 2041 kernel (latest is 2043) locally on my old
2010 Dell laptop (booted via USB stick). Honestly, I long ago
downloaded FreeDOS 1.3 but haven't installed it under VM yet. I'm
pretty sure it's all fairly minor changes.

> Should perhaps work also in Windows 7 32 bit, maybe Windows 8 32 bit and even earlier versions of
> WIndows 10 32 bit before Microsoft broke DPMI support.

Specifically I meant if LFNs are required. I know it can (or used to)
work in various OSes. I just was not 100% sure whether which ones were
directly supported. Locally I never use LFNs if I can help it. It's
just not necessary (for me).

> >> - no testing at all for such new C++20 feature as C++ modules - they may not work at all. I do not
> >> know. And it is highly unlikely that I'll try to fix it if it does not work
> > Modules were a huge change, and I don't think GCC fully supports them
> > yet anyways.
> >
> I had to exclude several ways of module support (only one left) as they were unusable for DJGPP

Well, Modula-2 already had them 40 years ago, lol. But it's a huge
change. (Bjarne says it's 10x faster, but I suspect it will take
forever for everyone to catch up and migrate. He did publish a new
_Tour_ book last year, which I haven't bought yet, but it sounds
interesting.) FYI, gm2 supports both Wirth's PIM Modula-2 and the 1996
ISO 10514 standard (with complex numbers, C++-compatible exceptions).
Although I really like Pascal (in various forms, e.g. GPC Extended
Pascal has modules and --automake), Modula-2 was Wirth's "successor"
language (but before Oberon). They're all good in different ways. I
actually cobbled together a DJGPP build of M2C years ago. It has some
glaring bugs but still somewhat works.

Just FYI.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019