On cygwin system, used gcc 3.4.4 to compile gcc 4.1.0. Installed gcc 4.1.0 in /usr/local.
While compiling Gecode (with "make"), from gecode-1.1.0.tar.gz, encountered the following error: search/reco-stack.cc:85: internal compiler error: in maybe_emit_vtables, at cp/decl2.c:1548 exact command sequence in top directory of gecode source tree: $ ./configure CC="/usr/local/bin/gcc.exe" CXX="/usr/local/bin/g++.exe" (lots of output) $ make (some output) ERROR MESSAGE AS ABOVE -- Summary: internal compiler error while compiling Gecode Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: Harmon dot Nine at gmail dot com GCC build triplet: i686-pc-cygwin GCC host triplet: i686-pc-cygwin GCC target triplet: i686-pc-cygwin http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27650