Message-Id: <201311041724.rA4HOaES025221@delorie.com> Date: Mon, 04 Nov 2013 19:23:17 +0200 From: Andris Pavenis To: djgpp-announce AT delorie DOT com Subject: ANNOUNCE: Update of DJGPP port of GCC-4.8.2 (DJGPP v2.04 only) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Reply-To: djgpp AT delorie DOT com This is announcement of an update of DJGPP port of GCC-4.8.2 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. ********************************************************************** * WARNING: only port for DJGPP 2.04 development versions is provided * ********************************************************************** Warning: DJGPP port of binutils-2.22 or newer is recommended. Version 2.19 and 2.20 may work but are not tested It is however recommended to use binutils-2.22 or newer Use of DJGPP port of binutils-2.22 or newer is however required for building gcc-4.8.2 for DJGPP. Changes since first release of GCC-4.8.2 for DJGPP ================================================== 1) Updated configuration for generating debugging information. As result backtrace command in GDB should now work properly. 2) Some executables in RPM packages in first release were not stripped. It is fixed now ======================================= Build for current stable version of DJGPP (djdev203 patchlevel 2) is available from: ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/ and mirror sites (see http://www.delorie.com/djgpp/getting.html) ada482b.zip GNU Ada compiler 4.8.2 for DJGPP V2 (NOTE: contains 1 file name conflict on systems without LFN) ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/ada482b.zip gfor482b.zip GNU Fortan 95 compiler 4.8.2 for DJGPP V2 ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/gfor482b.zip gcc482b.zip GNU GCC 4.8.2 for DJGPP V2 ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/gcc482b.zip gcc482s.zip GNU GCC 4.8.2 sources for DJGPP ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/gcc482s.zip gpp482b.zip GNU C++ Compiler 4.8.2 for DJGPP V2 ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/gpp482b.zip objc482b.zip GNU Objective C and Objective C++ compiler and runtime libraries v4.8.2 ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/objc482b.zip ada482d.zip Documentation for GNU Ada compiler ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/ada482d.zip gfor482d.zip Documentation for GNU Fortran compiler ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/gfor482d.zip gcc482d.zip Documentation for GNU C compiler ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/gcc482d.zip gcc482.README DJGPP specific readme file ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/README.gcc482 (it is identical with file gnu/gcc-4.82/readme.DJGPP in archives gcc482b.zip and gcc482s.zip) Binaries are built and tested mostly under Windows Vista Business (SP2) ======================================== Build for DJGPP 2.03p2 is not and most likely will not be available. Using binaries for DJGPP v2.04 with DJGPP v2.03p2 is not tested at all and is likely not to work properly especially for C++ and Ada Source RPMS needed for building Linux to DJGPP cross-compiler ============================================================= I myself have tested binary RPMs on - CentOS 6.4 ix86 (really in chroot under Fedora 18 x86_64) - Fedora 18 x86_64 only They are built under CentOS 5.9, and linked statically with GMP-5.1.2, MPFR-3.1.2 and MPC-1.0.1 to avoid unnecessary dependencies and increase compatibility with other Linux distributions. For example they are expected to work without problems in recent Fedora versions (both i686 and x86_64) gcc482s2.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 gcc482s.zip is a side product of building gcc-4.8.2 Linux to DJGPP cross-compiler RPM packages. See source RPM for patches applied to original FSF version of GCC-4.8.2. You can find the same contents in the file ftp://ftp.delorie.com/pub/djgpp/rpms/djcross-gcc-4.8.2/djcross-gcc-4.8.2.tar.bz2 Cross-compiler SRPM: ftp://ftp.delorie.com/pub/djgpp/rpms/djcross-gcc-4.8.2/djcross-gcc-4.8.2-1ap.src.rpm Cross-compiler binary RPMs (built under CentOS 5.9 i386, are expected to work on other recent enough RPM based Linux distributions, I myself have tried Fedora 19 x86_64): GNU C compiler: ftp://ftp.delorie.com/pub/djgpp/rpms/djcross-gcc-4.8.2/djcross-gcc-4.8.2-1ap.i686.rpm GNU C++ compiler: ftp://ftp.delorie.com/pub/djgpp/rpms/djcross-gcc-4.8.2/djcross-gcc-c++-4.8.2-1ap.i686.rpm GNU Ada compiler: ftp://ftp.delorie.com/pub/djgpp/rpms/djcross-gcc-4.8.2/djcross-gcc-gnat-4.8.2-1ap.i686.rpm GNU Fortran compiler: ftp://ftp.delorie.com/pub/djgpp/rpms/djcross-gcc-4.8.2/djcross-gcc-gfortran-4.8.2-1ap.i686.rpm GNU Objective C and Objective C++ compilers: ftp://ftp.delorie.com/pub/djgpp/rpms/djcross-gcc-4.8.2/djcross-gcc-objc-4.8.2-1ap.i686.rpm Tools for GCC 4.8.2 (currently only fixincl): ftp://ftp.delorie.com/pub/djgpp/rpms/djcross-gcc-4.8.2/djcross-gcc-tools-4.8.2-1ap.i686.rpm Info files of GCC-4.8.2 (a separate RPM file as these files are expected to conflict with system compiler info files, but You do not need to install them...): ftp://ftp.delorie.com/pub/djgpp/rpms/djcross-gcc-4.8.2/djcross-gcc-info-4.8.2-1ap.i686.rpm You need also cross binutils (choose required binary RPM file or build from SRPM) http://ap1.pp.fi/djgpp/binutils/2.22/djcross-binutils-2.22-1ap.src.rpm http://ap1.pp.fi/djgpp/binutils/2.22/djcross-binutils-2.22-1ap.i386.rpm http://ap1.pp.fi/djgpp/binutils/2.22/djcross-binutils-2.22-1ap.x86_64.rpm or ftp://ftp.delorie.com/pub/djgpp/rpms/djcross-binutils-2.22-1ap.src.rpm ftp://ftp.delorie.com/pub/djgpp/rpms/djcross-binutils-2.22-1ap.i386.rpm ftp://ftp.delorie.com/pub/djgpp/rpms/djcross-binutils-2.22-1ap.x86_64.rpm You need also DJGPP development libraries, include files and some tools (eg. stubify) ftp://ftp.delorie.com/pub/djgpp/rpms/djcrx-2.04pre_20131016-16ap.i386.rpm ftp://ftp.delorie.com/pub/djgpp/rpms/djcrx-2.04pre_20131016-16ap.src.rpm (2013/12/16 CVS version) Note that one can use ftp://ftp.delorie.com/pub/djgpp/rpms/djcrx-2.04pre-5.src.rpm for bootstrapping (one may need to replace djlsr204.zip in it with newer file generated from CVS sources) ========================================= See http://gcc.gnu.org/gcc-4.8 for more information about GCC-4.8.2 and about changes in comparison with earlier versions Also see file gnu/gcc-4.82/readme.DJGPP (from gcc482b.zip and gcc482s.zip) or ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/gcc482.README for more information about this port. There is also my web page about DJGPP port of GCC http://www.iki.fi/andris.pavenis/djgpp/gcc I cannot promise however, that I'll update it very often. However new versions may appear there earlier (including ones not available from ftp://ftp.delorie.com). Andris Pavenis