X-Spam-Check-By: sourceware.org Date: Thu, 27 Apr 2006 10:21:08 +0200 (MET DST) From: Angelo Graziosi To: cygwin AT cygwin DOT com Subject: Re: Fixing the state of C++ in Cygwin Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Doyle Rhynard wrote: > Did you have much trouble building gcc-3.4.4-1? I have been trying off > and on for several weeks to get it to build with no > errors. Interestingly, the --enable-fully-dynamic-string is set by > default in the build script. I have followed these steps: ___________________________________________ cd /tmp mkdir src cd src/ cd /tmp/src/ wget -N ftp://mirrors.kernel.org/sources.redhat.com/cygwin/release/gcc/gcc-g++/gcc-g++-3.4.4-1-src.tar.bz2 wget -N ftp://mirrors.kernel.org/sources.redhat.com/cygwin/release/gcc/gcc-g77/gcc-g77-3.4.4-1-src.tar.bz2 wget -N ftp://mirrors.kernel.org/sources.redhat.com/cygwin/release/gcc/gcc-core/gcc-core-3.4.4-1-src.tar.bz2 wget -N ftp://mirrors.kernel.org/sources.redhat.com/cygwin/release/gcc/gcc-ada/gcc-ada-3.4.4-1-src.tar.bz2 wget -N ftp://mirrors.kernel.org/sources.redhat.com/cygwin/release/gcc/gcc-gdc/gcc-gdc-3.4.4-1-src.tar.bz2 wget -N ftp://mirrors.kernel.org/sources.redhat.com/cygwin/release/gcc/gcc-objc/gcc-objc-3.4.4-1-src.tar.bz2 wget -N ftp://mirrors.kernel.org/sources.redhat.com/cygwin/release/gcc/gcc-java/gcc-java-3.4.4-1-src.tar.bz2 wget -N ftp://mirrors.kernel.org/sources.redhat.com/cygwin/release/gcc/gcc-testsuite/gcc-testsuite-3.4.4-1-src.tar.bz2 tar -xjvf gcc-core-3.4.4-1-src.tar.bz2 tar -xjvf gcc-g++-3.4.4-1-src.tar.bz2 tar -xjvf gcc-g77-3.4.4-1-src.tar.bz2 tar -xjvf gcc-objc-3.4.4-1-src.tar.bz2 tar -xjvf gcc-java-3.4.4-1-src.tar.bz2 tar -xjvf gcc-gdc-3.4.4-1-src.tar.bz2 tar -xjvf gcc-ada-3.4.4-1-src.tar.bz2 tar -xjvf gcc-testsuite-3.4.4-1-src.tar.bz2 Removing: && in gcc-3.4.4-1.sh Commented out mountpwd && \ Added --enable-fully-dynamic-string \ in conf section ./gcc-3.4.4-1.sh prep ./gcc-3.4.4-1.sh conf ./gcc-3.4.4-1.sh build ./gcc-3.4.4-1.sh build_gnatlib_and_tools ./gcc-3.4.4-1.sh build_info ./gcc-3.4.4-1.sh build_proto ./gcc-3.4.4-1.sh install ./gcc-3.4.4-1.sh strip_exe ./gcc-3.4.4-1.sh install2 ./gcc-3.4.4-2.sh pre_pkg ./gcc-3.4.4-2.sh pkg ___________________________________________ this gives 7 packages core,g++,...objc I note that the structure is a little different from that of the official packages actually present in Cygwin: - no libphobos* build - part of D compiler is in gcc-core instead of gcc-gdc - some *.a file in i686-pc-cygwin instead in i686-pc-cygwin/3.4.4 - some includes for D not installed ... > I also question the wisdom of requiring building of all of the gcc > languages: c, c++, d, objc, ada, and java requires a considerable amount > of time. I confirm: it takes almost 12 hours on 1.3 GHz processor for the build step (./gcc-3.4.4-1.sh build). > I do not have a clue whether a particular patch should be reversed or > not before being applied, in ada, for example. I just accepted the > default and hoped for the best. I Confirm. I have accepted the default hoping it works, too. In any case I am mainly interessed to gcc, g++, g77. From the mailing list it seems to be urgent some fix to GCC in Cygwin. In the Cygwin distribution there are packages like Octave that are incompatible with gcc-3.4.4-1, yet. Cheers, Angelo. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/