Mail Archives: djgpp/2012/09/23/12:43:47.1
This is announcement of DJGPP port of GCC-4.7.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: DJGPP port of binutils-2.19 or newer is required.
It is however recommended to use binutils-2.22
or newer
Use of DJGPP port of binutils-2.22 or newer is required for building
gcc-4.7.2 for DJGPP.
The bug that caused several last versions of GCC to crash when
DJGPP environment variable was not defined is now fixed. This version
reports in this case error message about DJGPP installation error.
=======================================
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)
ada472b.zip GNU Ada compiler 4.7.2 for DJGPP V2
(NOTE: contains 1 file name conflict on systems without LFN)
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/ada472b.zip
gfor472b.zip GNU Fortan 95 compiler 4.7.2 for DJGPP V2
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/gfor472b.zip
gcc472b.zip GNU GCC 4.7.2 for DJGPP V2
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/gcc472b.zip
gcc472s.zip GNU GCC 4.7.2 sources for DJGPP
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/gcc472s.zip
gpp472b.zip GNU C++ Compiler 4.7.2 for DJGPP V2
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/gpp472b.zip
objc472b.zip GNU Objective C and Objective C++ compiler and
runtime libraries v4.7.2
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/objc472b.zip
ada472d.zip Documentation for GNU Ada compiler
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/ada472d.zip
gfor472d.zip Documentation for GNU Fortran compiler
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/gfor472d.zip
gcc472d.zip Documentation for GNU C compiler
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/gcc472d.zip
gcc472.README DJGPP specific readme file
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/README.gcc472
(it is identical with file gnu/gcc-4.72/readme.DJGPP in archives
gcc472b.zip and gcc472s.zip)
Binaries are built and tested mostly under Windows Vista Business (SP2)
========================================
Build for development version of DJGPP (CVS version of djdev204) is
available from
ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/
ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/ada472b.zip
ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/gfor472b.zip
ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/gcc472b.zip
ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/gpp472b.zip
ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/objc472b.zip
Binaries for djdev204 may not work with djdev203r2 (at least
C++ compiler).
Binaries for djdev203 may probably work also with djdev204 CVS
versions, but also such use is not recommended.
Source RPMS needed for building Linux to DJGPP cross-compiler
=============================================================
I myself have tested binary RPMs on
- CentOS 5.8 ix86 (really in chroot under Fedora 17 x86_64)
- Fedora 17 x86_64 only
They are built under CentOS 5.8, and linked statically with GMP-5.0.5,
MPFR-3.1.0 and MPC-0.9 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)
gcc472s2.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 gcc472s.zip is a side product of building
gcc-4.7.2 Linux to DJGPP cross-compiler RPM packages. See source
RPM for patches applied to original FSF version of GCC-4.7.2.
You can find the same contents in the file
ftp://ftp.delorie.com/pub/djgpp/rpms/djcross-gcc-4.7.2/djcross-gcc-4.7.2.tar.bz2
Cross-compiler SRPM:
ftp://ftp.delorie.com/pub/djgpp/rpms/djcross-gcc-4.7.2/djcross-gcc-4.7.2-2ap.src.rpm
Cross-compiler binary RPMs (built under CentOS 5.8 i386, tested also under Fedora 17 x86_64):
GNU C compiler:
ftp://ftp.delorie.com/pub/djgpp/rpms/djcross-gcc-4.7.2/djcross-gcc-4.7.2-2ap.i686.rpm
GNU C++ compiler:
ftp://ftp.delorie.com/pub/djgpp/rpms/djcross-gcc-4.7.2/djcross-gcc-c++-4.7.2-2ap.i686.rpm
GNU Ada compiler:
ftp://ftp.delorie.com/pub/djgpp/rpms/djcross-gcc-4.7.2/djcross-gcc-gnat-4.7.2-2ap.i686.rpm
GNU Fortran compiler:
ftp://ftp.delorie.com/pub/djgpp/rpms/djcross-gcc-4.7.2/djcross-gcc-gfortran-4.7.2-2ap.i686.rpm
GNU Objective C and Objective C++ compilers:
ftp://ftp.delorie.com/pub/djgpp/rpms/djcross-gcc-4.7.2/djcross-gcc-objc-4.7.2-2ap.i686.rpm
Tools for GCC 4.7.2 (currently only fixincl):
ftp://ftp.delorie.com/pub/djgpp/rpms/djcross-gcc-4.7.2/djcross-gcc-tools-4.7.2-2ap.i686.rpm
Info files of GCC-4.7.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.7.2/djcross-gcc-info-4.7.2-2ap.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_20120507-15ap.src.rpm
ftp://ftp.delorie.com/pub/djgpp/rpms/djcrx-2.04pre_20120507-15ap.i386.rpm
ftp://ftp.delorie.com/pub/djgpp/rpms/djcrx-2.04pre_20120507-15ap.x86_64.rpm
(2012/05/07 CVS version)
=========================================
See
http://gcc.gnu.org/gcc-4.7
for more information about GCC-4.7.2 and about changes in comparison
with earlier versions
Also see file gnu/gcc-4.72/readme.DJGPP (from gcc472b.zip and
gcc472s.zip) or
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/gcc472.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 <andris DOT pavenis AT iki DOT fi>
- Raw text -