X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-Id: <202206021758.252HwZwd012050@delorie.com> Date: Thu, 2 Jun 2022 18:56:02 +0300 Content-Language: en-US-large To: djgpp-announce AT delorie DOT com From: "Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via djgpp-announce AT delorie DOT com]" Subject: ANNOUNCE: DJGPP port of GCC-12.1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Reply-To: djgpp AT delorie DOT com This is announcement of an update of DJGPP port of GCC-12.1.0 GCC used to stand for the GNU C Compiler, but since the compiler supports several other languages aside from C, it now stands for the GNU Compiler Collection. See     https://gcc.gnu.org/pipermail/gcc-announce/2022/000171.html for original announcement of gcc-12.1.0 release ************************************************************ *                     CHANGES                              * ************************************************************ - no Ada compiler built for DJGPP (neither is cross-compiler from Linux).   Ada libraries build fails for DJGPP target and I do not know language   well enough to try to fix it (I suspect that it may even be not possible   without changes in other DJGPP tools) - I dropped last 0 from version number (it is expected to always be 0 for   release versions anyway), to get it 8+3 filename friendly ************************************************************ *                     WARNINGS                             * ************************************************************ - This GCC port is for DJGPP v2.05   Build for DJGPP 2.03p2 is not and will not be available. - DJGPP port of binutils-2.30 or newer is required.   Older binutils version do not work with gcc-12.1.0. Newer   version like 2.34 recommended. ************************************************************ Build for current stable version of DJGPP (djdev205) is available from     https://www.delorie.com/pub/djgpp/current/v2gnu/ and mirror sites (see https://www.delorie.com/djgpp/getting.html) gcc121b.zip     GNU GCC 10.2.0 for DJGPP V2     https://www.delorie.com/pub/djgpp/current/v2gnu/gcc121b.zip gcc121d.zip     Documentation for GNU C compiler     https://www.delorie.com/pub/djgpp/current/v2gnu/gcc121d.zip gpp121b.zip     GNU C++ Compiler 10.2.0 for DJGPP V2     https://www.delorie.com/pub/djgpp/current/v2gnu/gpp121b.zip gfor121b.zip    GNU Fortan 95 compiler 10.2.0 for DJGPP V2     https://www.delorie.com/pub/djgpp/current/v2gnu/gfor121b.zip gcc121s.zip     GNU GCC 10.2.0 sources for DJGPP     https://www.delorie.com/pub/djgpp/current/v2gnu/gcc121s.zip objc121b.zip    GNU Objective C and Objective C++ compiler and                  runtime libraries v10.2.0     https://www.delorie.com/pub/djgpp/current/v2gnu/objc121b.zip gfor121d.zip    Documentation for GNU Fortran compiler     https://www.delorie.com/pub/djgpp/current/v2gnu/gfor121d.zip Binaries are built and tested in Windows Vista Business SP3 bit. Unfortunately Microsoft has broken DPMI in Windows 10 32 bit since March 2018. There is also no improvement in recent Insider builds of 32 bit versions of Windows 10. Source RPMS needed for building Linux to DJGPP cross-compiler ============================================================= Binary RPMs for both i686 and x86_64 are available. I built these binary RPMs in CentOS 7 chroot under ArchLinux. Binaries are linked with GMP-6.2.1 MPFR-4.1.0 and MPC-1.2.1 (statical linking has been used to avoid unnecessary dependencies and increase compatibility with other Linux distributions. For example they are expected to work without problems in other reasonably recent RPM based Linux distributions (like Fedora, RHEL-7 and newer, etc) Additionally support for ArchLinux are available from AUR (aur.archlinux.org):     https://aur.archlinux.org/packages/djgpp-gcc/ gcc121s2.zip is no more provided as patching GCC using DJGPP tools has not been tested and even attempted by me for a long time. DJGPP source file gcc121s.zip is a side product of building gcc-10.2.0 Linux to DJGPP cross-compiler RPM packages. See source RPM for patches applied to original FSF version of GCC-10.2.0. You can find the same contents in the file https://www.delorie.com/pub/djgpp/rpms/djcross-gcc-12.1.0/djcross-gcc-12.1.0.tar.bz2 Cross-compiler SRPM: https://www.delorie.com/pub/djgpp/rpms/djcross-gcc-12.1.0/djcross-gcc-12.1.0-1ap.src.rpm Cross-compiler binary RPMs (built under CentOS 6.9 i386, are expected to work on other recent enough RPM based Linux distributions.     GNU C compiler: https://www.delorie.com/pub/djgpp/rpms/djcross-gcc-12.1.0/djcross-gcc-12.1.0-1ap.x86_64.rpm     GNU C++ compiler: https://www.delorie.com/pub/djgpp/rpms/djcross-gcc-12.1.0/djcross-gcc-c++-12.1.0-1ap.x86_64.rpm     GNU Fortran compiler: https://www.delorie.com/pub/djgpp/rpms/djcross-gcc-12.1.0/djcross-gcc-gfortran-12.1.0-1ap.x86_64.rpm     GNU Objective C and Objective C++ compilers: https://www.delorie.com/pub/djgpp/rpms/djcross-gcc-12.1.0/djcross-gcc-objc-12.1.0-1ap.x86_64.rpm     Tools for GCC 12.1.0 (currently only fixincl, most users do not need this): https://www.delorie.com/pub/djgpp/rpms/djcross-gcc-12.1.0/djcross-gcc-tools-12.1.0-1ap.x86_64.rpm     Info files of GCC-12.1.0 (a separate RPM file as these files are expected to     conflict with system compiler info files, but You do not need to install them...): https://www.delorie.com/pub/djgpp/rpms/djcross-gcc-12.1.0/djcross-gcc-info-12.1.0-1ap.x86_64.rpm Binary RPMs for i686 are no more provided. One should be able to build them from SRPM though You need also cross binutils (choose required binary RPM file or build from SRPM) https://www.delorie.com/pub/djgpp/rpms/djcross-binutils-2.30.1-1ap.src.rpm https://www.delorie.com/pub/djgpp/rpms/djcross-binutils-2.30.1-1ap.x86_64.rpm You need also DJGPP development libraries, include files and some tools (eg. stubify) https://www.delorie.com/pub/djgpp/rpms/djcrx-2.05-5.x86_64.rpm      https://www.delorie.com/pub/djgpp/rpms/djcrx-2.05-5.src.rpm Note that one can use https://www.delorie.com/pub/djgpp/rpms/djcrx-bootstrap-2.05-1.src.rpm      for bootstrapping ========================================= See     https://gcc.gnu.org/gcc-12 for more information about GCC-12.1.0 and about changes in comparison with earlier versions Also see file gnu/gcc-12.10/readme.DJGPP (from gcc121b.zip and gcc121s.zip) for more information about this port. I have not changed it, except of automatic editing of version numbers and URLs - sorry Andris Pavenis