delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/07/22/14:16:54

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Message-Id: <200407221809.i6MI9khQ001382@delorie.com>
From: Andris Pavenis <pavenis AT latnet DOT lv>
To: djgpp-announce AT delorie DOT com
Subject: ANNOUNCE: DJGPP port of GCC-3.4.1
Date: Thu, 22 Jul 2004 21:09:09 +0300
Reply-To: djgpp AT delorie DOT com

This is an announcement of DJGPP port of gcc-3.4.1

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 http://gcc.gnu.org/gcc-3.4 for more detailed information
about new features, fixed bugs and other changes in gcc-3.4.1.

Currently C, C++, Fortran and Objective C compilers are supported
for DJGPP. Java compiler is not ported and are not included. Ada compiler
(as it itself is written in Ada) is able to bootstrap itself, but this is 
only test I have done. 

=====================================================================
NOTE: DWARF2 debugging info is now the default (when
You specify GCC command line option -g or -g3, ...).
As result You need also new enough version of GDB for debugging: gdb611b.zip
(or newer when available) from DJGPP distribution or recent build of
RHIDE from http://rhide.sorceforge.net/snapshots. One can still use
COFF (GCC command line option -gcoff) and stabs (command line options
-gstabs, -gstabs+) for debugging. 

Also symify.exe from djdev203.zip works with COFF debugging info only.
You need bfdsymify.exe instead (from gdb611b.zip) when DWARF2 or stabs
debuging info is being used

DJGPP binaries of GCC-3.4.1 are built and tested mostly under WinXP Pro 
(SP1).
=====================================================================
NOTE: You need last update of djdev203.zip with timestamp of August 2002 or 
later ('version: 2.03 patchlevel 2' in file manifest/djdev203.dsm)
=====================================================================

Archives are available from DJGPP distribution 
    http://www.delorie.com/djgpp/getting.html
in directory v2gnu:

There are 11 archives:
   gcc341.README - readme file from DJGPP port of GCC-3.4.1. It's
                  in separate file to avoid need to download large archives
                  to get this file.
   gcc341s.zip  - sources of gcc-3.4.1. I put all sources in a single
                  archive. This file is only needed if You're want to
                  rebuild gcc-3.4.1 from sources.
   gcc341b.zip  - binaries of C compiler
   gpp341b.zip  - binaries of C++ compiler (needs gcc341b.zip)
   g77341b.zip  - binaries of Fortran compiler (needs gcc341b.zip)
   objc341b.zip - binaries of Objective C compiler (needs gcc341b.zip)
   gcc341s2.zip - shell script and patches for original gcc-3.4.1.
                  I used them to generate gcc-3.4.1 sources for DJGPP
                  (gcc341s.zip). 
   ada341b.zip  - binaries of Ada compiler (warning: practically untested)
   gcc341d.zip  - documentation of C compiler and libiberty (in DVI, PS, PDF
		  and HTML formats)
   g77341d.zip  - documentation of GNU Fortran compiler
   ada341d.zip  - documentation of Ada compiler (what can be generated from
                  GCC sources).

Files user need:
   Programming languages  Needed files
   C                      gcc341b.zip
   C++                    gcc341b.zip, gpp341b.zip
   Fortran                gcc341b.zip, g77341b.zip
   Objective-C            gcc341b.zip, objc341b.zip
   Ada                    ada341b.zip, gcc341b.zip 

For more information about this port see archive
   gnu/gcc-3.41/readme.DJGPP
after unpacking either gcc341b.zip or gcc341s.zip or get file
gcc341.README from directory v2gnu in DJGPP distribution

Also please DON'T mix C++ libraries (or object files) built with
different compiler versions. C++ sources must be recompiled (seems
that there is no need to do this for C sources). Object files generated 
by GCC-3.4.1 from C++ sources are incompatible with object files (or
libraries) generated from C++ sources by any earlier GCC version
before GCC-3.4

System requirements
===================

Latest update of DJGPP-2.03 (or above when available). Please verify
whether You have a newest one. DJGPP-2.04 beta is also OK.

binutils-2.13 or above (2.15 or above recommended). Perhaps 
binutils-2.11.2 or 2.12 could also be used but are not tested

Some warning for users of C++. C++ compiler in gcc-3.4.1 does more strict
syntax checking than earlier gcc and egcs versions before gcc-3.4. As result
errors are generated in many places where earlier one got warnings.


Note for users of C++ IO classes fstream, ifstream, ofstream
============================================================

There is a regression against GCC versions 2.95.3 and
earlier: Member functions tellp(), tellg(), seekp() and seekg()
are broken when stream is opened not in binary mode. If You are going
to use any similar functions You must open stream in binary mode.

Don't ask me when it will be fixed as I don't know that. I'm also 
not sure I'll spend much time trying to fix that.

Send suggestions and bug reports concerning the DJGPP port of GCC to
comp.os.msdos.djgpp or <djgpp AT delorie DOT com>.


Happy hacking

Andris Pavenis <pavenis AT latnet DOT lv>

- Raw text -


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