From: Danny S. <dan...@cl...> - 2004-09-22 22:11:43
|
CC 3.4.2 release candidate for mingw is available. You can download it from: https://sourceforge.net/project/showfiles.php?group_id=2435 The binaries are archived by language. To get core C compiler, download: gcc-core-3.4.2-20040916-1.tar.gz To add on other languages, download one or more of these (in addition to core): gcc-ada-3.4.2-20040916-1.tar.gz gcc-g++-3.4.2-20040916-1.tar.gz gcc-g77-3.4.2-20040916-1.tar.gz gcc-java-3.4.2-20040916-1.tar.gz gcc-objc-3.4.2-20040916-1.tar.gz Extract the files, maintaining the directory structure, into your root directory for mingw. Be aware that some archive extracters do not preserve read-only attributes of files. If you are installing the Ada component, please check that the files in the /lib/gcc/mingw32/3.4.2/adainclude and adalib directories are flagged as read-only. This attribute is necessary to prevent them from being deleted when using gnatclean to clean a project. * This package does _not_ contain binutils, the mingw-runtime or the w32api. You will need to get these if you do not already have mingw installed. * libstdc++ requires version 3.0 or higher of mingw-runtime and w32api version 2.2 or higher. The GNU extension class __gnu_cxx::stdio_sync_filebuf requires version 3.5 of the mingw-runtime (with large-file support) to resolve references to fseeko64. * libgcj requires libiconv. You can download sources or prebuilt binaries from the maintainers. See: http://www.gnu.org/software/libiconv. My testing has been done with libiconv-1.9.2 built (using mingw) as a static lib. The new features of GCC 3.4 are documented in the GCC release notes at: http://gcc.gnu.org/gcc-3.4/ For mingw-specific modifications, refer to the ChangeLog entries in diff file (gcc-3.4.2-20040916-1-src.diff.gz). Of note is the addition of collect2.exe for mingw. The collect2 that is in this distro is based on patches that have been published on gcc lists, but have not been committed to official FSF sources. The version of collect2 with mingw support that will eventually become part of mainline GCC will almostly certainly differ from the one provided here. If you don't want to use collect2, just rename it to something else (if the gcc driver doesn't see collect2 in its search path it will just execute ld directly). Pre-compiled headers appear to work on at least two systems (NT4 and XP). I have not tested other windows versions. Please consider this feature a "technology preview". This release contains: 1) Source distribution, with mingw-local patches incorporated: gcc-core-3.4.2-20040916-1-src.tar.gz gcc-ada-3.4.2-20040916-1-src.tar.gz gcc-g++-3.4.2-20040916-1-src.tar.gz gcc-g77-3.4.2-20040916-1-src.tar.gz gcc-java-3.4.2-20040916-1-src.tar.gz gcc-objc-3.4.2-20040916-1-src.tar.gz gcc-testsuite-3.4.2-20040916-1-src.tar.gz 2) The diff from official FSF sources gcc-3.4.2-20040916-1-src.diff.gz. 3) Binaries gcc-core-3.4.2-20040916-1.tar.gz gcc-ada-3.4.2-20040916-1.tar.gz gcc-g++-3.4.2-20040916-1.tar.gz gcc-g77-3.4.2-20040916-1.tar.gz gcc-java-3.4.2-20040916-1.tar.gz gcc-objc-3.4.2-20040916-1.tar.gz 4) gcc-3.4.2-build.sh, which is the script I used to configure and build. 5) This file. Danny 2004-09-21 |