delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2023/09/06/10:49:30

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
Message-ID: <50eb082d-a867-4363-b31a-10eaada9ec31@iki.fi>
Date: Wed, 6 Sep 2023 17:49:26 +0300
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: gcc-13
To: djgpp-workers AT delorie DOT com
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>
<CAA-ihx9CJ9U9jV0w-GH91m+0oth=hjMwQYPkQ+HuLokWXFSTrg AT mail DOT gmail DOT com>
From: "=?UTF-8?Q?Andris_Pav=C4=93nis?= (andris DOT pavenis AT iki DOT fi) [via djgpp-workers AT delorie DOT com]" <djgpp-workers AT delorie DOT com>
In-Reply-To: <CAA-ihx9CJ9U9jV0w-GH91m+0oth=hjMwQYPkQ+HuLokWXFSTrg@mail.gmail.com>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 9/6/23 03:36, Rugxulo (rugxulo AT gmail DOT com) [via djgpp-workers AT delorie DOT com] wrote:
> 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.

I thought that I could try compile same Modula 2 example under Arch Linux, but I see that Modula 2 
support is not yet configured:

[andris AT ap ~]$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper
Kohde: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure 
--enable-languages=ada,c,c++,d,fortran,go,lto,objc,obj-c++ --enable-bootstrap --prefix=/usr 
--libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-b
ugurl=https://bugs.archlinux.org/ --with-build-config=bootstrap-lto --with-linker-hash-style=gnu 
--with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release 
--enable-clocale=gnu --enable-default-pie --enable-def
ault-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace 
--enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib 
--enable-plugin --enable-shared --enable-threads=posix
--disable-libssp --disable-libstdcxx-pch --disable-werror
Säiemalli: posix
Supported LTO compression algorithms: zlib zstd
gcc-versio 13.2.1 20230801 (GCC)


I'm not willing to do full bootstrap of GCC-13 for that purpose
>> 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.

The problem was that unzipping large ZIP archive was extremely slow with LFN enabled and it failed 
at end or there were files missing (I do not remember exactly any more)

Testing of non-LFN install of gcc-13.2 and reporting results would be nice


Andris

- Raw text -


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