X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com To: "DJGPP List (E-mail)" From: "Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via djgpp AT delorie DOT com]" Subject: Question about used versions of DJGPP port of GCC Message-ID: Date: Sun, 17 May 2020 11:45:14 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US-large Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from Quoted-Printable to 8bit by delorie.com id 04H8k2n5009117 Reply-To: djgpp AT delorie DOT com There are several versions of DJGPP port of GCC on ftp://ftp.delorie.com/pub/djgpp/current/v2gnu. There is also serious problem with libstdc++ in all off them except gpp346b.zip: - std::tolower() and std::toupper() are badly broken Additionally for newer versions std::filesystem support (and some other C++17 related stuff)  is incorrectly not included in libstdc++. There is also libstdc++fs (libstdcfs.a for DJGPP to be distinguisahable on SFN systems) and filsystem support goes there into std::experimental::filesystem namespace. libstdcfs.a was correct in latest build. Use of std::filesytem does not work as required object files are missing fromlibrary. So question: - which GCC versions are actually being used for DJGPP? Both problems are going to be fixed in upcoming port of GCC-10.1.0. The question is whether we need to keep earlier versions. 3.4.6 is going to stay. For example one can no more build DJGPP port of Emacs using any recent version. Versions from gcc-4.7.4 to gcc-9.3.0 will perhaps moved to ftp://ftp.delorie.com/pub/djgpp/deleted/v2gnu unless there are real need for them (or their users stay silent and do not respond). Additionally we'll perhaps need refresh of DJGPP-v2.05 as it no more build with gcc-10.1 (and other recent versions). One version of changes can be found as part of djgpp-crx Arch Linux AUR package (https://aur.archlinux.org/packages/djgpp-djcrx/, file djgpp-djcrx-gcccompat.patch ). It cannot perhaps go in without changes as I did not need to support any older cross-compiler version for ArchLinux and there is already gcc-10.1.0 with std::tolower abd std::toupper problem fixed (misising std::fiilesystem from libstdc++ was never problem for cross-compiler). New version of DJGPP is perhaps nowhere near so we'll have to go with refresh. Andris