delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/01/31/10:03:24

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Message-Id: <200201311454.g0VEsDl11888@delorie.com>
From: pavenis AT lanet DOT lv
To: djgpp-announce AT delorie DOT com
Date: Thu, 31 Jan 2002 13:02:53 +0200
Subject: ANNOUNCE: Update of DJGPP port of GCC-3.0.3
Reply-To: djgpp AT delorie DOT com

This is an announcement of an update of DJGPP port of gcc-3.0.3. See 
list of changes against earlier release of DJGPP port of  gcc-3.0.3 near end of 
this message

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.

GCC 3.0.x has several new optimizations, new targets, new languages
and many other new features, relative to GCC 2.95.x. See the new
features page for a more complete list.

GCC-3.0.3 is a bugfix version against earlier GCC-3.0.X releases.

See http://gcc.gnu.org/gcc-3.0/ for more information about gcc-3.0.3

Currently C, C++, Fortran and Objective C compilers are supported
for DJGPP. Java compiler is not ported and is not included

Also libg++ is no more included and will not be included in future.

Archives are available from DJGPP distribution in Simtelnet
(and mirror sites) in directory v2gnu:

There are 6 archives:
   readme-gcc-3.0.3.txt - readme file from DJGPP port of GCC-3.0.3. It's
    in separate file to avoid need to download large archives
                  to get this file.
   gcc303s.zip  - sources of gcc-3.0.3. I put all sources in a single
                  archive. This file is only needed if You're want to
                  rebuild gcc-3.0.3 from sources.
   gcc303b.zip  - binaries of C compiler
   gpp303b.zip  - binaries of C++ compiler (needs gcc303b.zip)
   g77303b.zip  - binaries of Fortran compiler (needs gcc303b.zip)
   objc303b.zip - binaries of Objective C compiler (needs gcc303b.zip)
   gcc303s2.zip - shell script and patches for original gcc-3.0.3.
                  I used them to generate gcc-3.0.3 sources for DJGPP
                  (gcc303s.zip).

Files user need:
   Programming languages  Needed files
   C                      gcc303b.zip
   C++                    gcc303b.zip, gpp303b.zip
   Fortran                gcc303b.zip, g77303b.zip
   Objective-C            gcc303b.zip, objc303b.zip

NOTE: gcc303b.zip contains file cxxfilt.exe and there is file with same
      name in binutils (bnu2112b.zip). You can safely overwrite the old
      one.


For more information about this port see archive
   gnu/gcc-3.03/readme.DJGPP
after unpacking either gcc303b.zip or gcc303s.zip or get file
readme-gcc-3.0.3.txt from directory v2gnu in DJGPP distribution

Also please DON'T mix C++ libraries (or object files) built with
different compiler versions. C++ sources should be recompiled (seems
that there is no need to do this for C sources).


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

DJGPP-2.03 or above (otherwise exceptions will not work at all)

binutils-2.11.2 or above. It's no more possible to use binutils-2.8.1
  or 2.9.1. Command line option -mno-bnu210 is no more supported.

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


Changes since previous release of DJGPP port of  gcc-3.0.3
==============================================

Serious bug with fstream, ofstream classes (it was present also in DJGPP port 
of gcc-3.0.2) is now fixed. It was introduced when I tried to get these classes
to work with DOS style text files. For just curious try following example
with previous release of gcc-3.0.3 for DJGPP and this update (OK with
gcc-2.95.X):

#include <fstream>
int main (void) 
{
    	std::ofstream foo ("foo.bar");
	for (int i=0; i<100000; i++) foo << i << "\n";
	return 0;
}

This bug was in for almost 3 months and unfortunatelly nobody reported it ...

Option '-T djgpp-x.djl ' is now in linker command line only if linker script is 
not explicitly specified 

Otput format in linker script djgpp-x.djl changed from coff-go32-exe	 to 
coff-go32


Known unresolved problems
==================

Trying to use DWARF-2 debugging info (options -ggdb or -gdwarf-2) 
breaks C++ exceptions support. Help in fixing this is welcome


Happy hacking

Andris Pavenis <pavenis AT lanet DOT lv>

- Raw text -


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