Message-Id: <200205211639.g4LGdk927427@delorie.com> From: pavenis AT lanet DOT lv To: djgpp-announce AT delorie DOT com Date: Tue, 21 May 2002 18:15:23 +0300 Subject: ANNOUNCE: DJGPP port of GCC-3.1 Content-type: text/plain; charset=US-ASCII Content-description: Mail message body Reply-To: djgpp AT delorie DOT com This is an announcement of DJGPP port of gcc-3.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.1/changes.html for more detailed information about new features and other changes in gcc-3.1 Currently C, C++, Fortran and Objective C compilers are supported for DJGPP. Java and ADA compilers are not ported and are 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: gcc31.README - readme file from DJGPP port of GCC-3.1. It's in separate file to avoid need to download large archives to get this file. gcc31s.zip - sources of gcc-3.1. I put all sources in a single archive. This file is only needed if You're want to rebuild gcc-3.1 from sources. gcc31b.zip - binaries of C compiler gpp31b.zip - binaries of C++ compiler (needs gcc31b.zip) g7731b.zip - binaries of Fortran compiler (needs gcc31b.zip) objc31b.zip - binaries of Objective C compiler (needs gcc31b.zip) gcc31s2.zip - shell script and patches for original gcc-3.1. I used them to generate gcc-3.1 sources for DJGPP (gcc31s.zip). Files user need: Programming languages Needed files C gcc31b.zip C++ gcc31b.zip, gpp31b.zip Fortran gcc31b.zip, g7731b.zip Objective-C gcc31b.zip, objc31b.zip NOTE: gcc31b.zip contains file cxxfilt.exe and there is file with same name in binutils (for example bnu2112b.zip). You can safely overwrite the old one. For more information about this port see archive gnu/gcc-3.1/readme.DJGPP after unpacking either gcc304b.zip or gcc304s.zip or get file gcc31.README 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.1 does more strict syntax checking than gcc and egcs versions older than gcc-3.1. 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 should 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. Note for users of GNU Fortran compiler ====================================== If You are getting assembler warnings like: foo.s: Assembler messages: foo.s:1011: Warning: rest of line ignored; first ignored character is `+' foo.s:1012: Warning: rest of line ignored; first ignored character is `+' when compiling FORTRAN sources, please use stabs or DWARF-2 debugging info instead of COFF one, for example: gcc -c -O2 -gstabs foo.f -o foo.o gcc -c -O2 -gdwarf-2 foo.f -o foo.o gcc -c -O2 -gstabs+ foo.f -o foo.o Happy hacking Andris Pavenis ------------------------------------------------------------------ Here is announcement of gcc-3.1 sent to gcc-announce mailing list ------------------------------------------------------------------ Subject: GCC 3.1 Released Date: Wed, 15 May 2002 17:46:18 -0700 From: Mark Mitchell To: gcc-announce AT gcc DOT gnu DOT org, gcc AT gcc DOT gnu DOT org GCC 3.1 is now available. In this release, we focused more on quality than new features; many bugs were fixed. We worked very hard to fix bugs that were introduced in GCC 3.0, but that were not present in previous releases of the compiler. We also worked hard to eliminate new bugs. We have continued to improve the standards conformance in the C, C++ and Java compilers, added support for profile-directed optimizations, improved support for many chips used in embedded systems, added an Ada compiler, and added support for the x86-64 architecture. For a list of many -- but by no means all -- of the changes available in this release, see: http://gcc.gnu.org/gcc-3.1/changes.html I would like to thank HP for sponsoring my work as Release Manager; that support has made it possible for me to organize this release, and will continue to support my work as RM for some time to come. Many people worked very hard on this release. The following list is woefully incomplete, but does recognize some of the people I most appreciated while preparing this release: Neil Booth: Cleanups that will reduce the chance of future bugs. Robert Dewar (and ACT): The Ada front end. Richard Henderson: Many, many bug fixes and code reviews Jakub Jelinek: Many bug fixes. Geoff Keating: Automated regression-testing. David Miller: SPARC and Solaris bug fixes. Gerald Pfeifer: Website and documentation maintenance. The release is available from the FTP servers listed in: http://www.gnu.org/order/ftp.html The release can be found in the file: gcc/gcc-3.1/gcc-3.1.tar.gz See: http://gcc.gnu.org/install/download.html for more information about how to obtain and install GCC. Enjoy! -- Mark Mitchell CodeSourcery, LLC http://www.codesourcery.com