Hi ! Tried to compile gcc 4.1.1 (and .2) under windows / cygwin environment - and end up with error:
In file included from ../.././gcc/gcc.c:134: ./configargs.h:2: error: missing terminating " character ./configargs.h:3: error: missing terminating " character ./configargs.h:4: error: parse error before "static" ../.././gcc/gcc.c: In function `main': ../.././gcc/gcc.c:6393: error: `thread_model' undeclared (first use in this func tion) ../.././gcc/gcc.c:6393: error: (Each undeclared identifier is reported only once ../.././gcc/gcc.c:6393: error: for each function it appears in.) make[2]: *** [gcc.o] Error 1 Used command lines: -------------------------------------------------------------------------------- $ ./configure --prefix=/usr/local/gcc-4.1.1 --program-suffix=-4.1.1 --enable-th reads=win32 --with-cpu=i686 --with-arch=i686 --with-tune=i686 --enable-language s=c,c++ $ make -------------------------------------------------------------------------------- Any ideas how build should be performed on cygwin ? Under cygwin I have gcc v3.4.4 - which should be enough for building ? I have checked through also some gcc's html documentation but could not find clear reference of how gcc building could be performed through bootstrap. (May be I should documentation more caefully ?) Another question is - is it possible to debug gcc using visual studio ? I have seen some "no" answers on internet - but another question would be - is it possible to create some "gcc calls dll"-style system and dll can be debugged using visual studio? (I guess as long as data type alignment is the same in both environment this could be done). From: "Jesper de Jong" <jespdj at hotmail dot com> To: gcc at gcc dot gnu dot org Date: Thu, 07 Sep 2006 13:57:31 +0200 Subject: Build report for gcc 4.1.1 on Cygwin Using built-in specs. Target: i686-pc-cygwin Configured with: ../gcc-4.1.1/configure --prefix=/usr/local/gcc-4.1.1 --program-suffix=-4.1.1 --enable-threads=win32 --with-cpu=i686 --with-arch=i686 --with-tune=i686 --enable-languages=c,c++ Thread model: win32 gcc version 4.1.1 -- Have a nice day! Tarmo. ____________________________________________________________________________________ Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains. http://farechase.yahoo.com/promo-generic-14795097