Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Joe Graham" To: Subject: enabling objc on cygwin gcc Date: Mon, 3 Sep 2001 09:20:51 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Hello, I have the following error after running make-bootstrap on gcc-2.95.3-5 on cygwin. In order to even get this far I had to download the objc packages from gnu.org. In file included from /usr/src/gcc-2.95.3-5/libobjc/objc/Object.h:30, from /usr/src/gcc-2.95.3-5/libobjc/linking.m:28: /usr/src/gcc-2.95.3-5/libobjc/objc/objc.h:51: parse error before `const' /usr/src/gcc-output/gcc/xgcc -B/usr/src/gcc-output/gcc/ -B/usr/i686-pc-cygwi n32 bin/ -c -I. -I/usr/src/gcc-2.95.3-5/libobjc -g -O2 -DIN_GCC -I/usr/src/gcc -2. 5.3-5/libobjc/objc -I/usr/src/gcc-2.95.3-5/libobjc/../gcc -I/usr/src/gcc-2. 95. -5/libobjc/../gcc/config -I../../gcc -I/usr/src/gcc-2.95.3-5/libobjc/../incl ude /usr/src/gcc-2.95.3-5/libobjc/init.c /usr/src/gcc-output/gcc/xgcc -B/usr/src/gcc-output/gcc/ -B/usr/i686-pc-cygwi n32 bin/ -fgnu-runtime -c -o linking.o -I. -I/usr/src/gcc-2.95.3-5/libobjc -g -O2 -DIN_GCC -I/usr/src/gcc-2.95.3-5/libobjc/objc -I/usr/src/gcc-2.95.3-5/libob jc/ ./gcc -I/usr/src/gcc-2.95.3-5/libobjc/../gcc/config -I../../gcc -I/usr/src/g cc- .95.3-5/libobjc/../include /usr/src/gcc-2.95.3-5/libobjc/linking.m In file included from /usr/src/gcc-2.95.3-5/libobjc/objc/Object.h:30, from /usr/src/gcc-2.95.3-5/libobjc/linking.m:28: /usr/src/gcc-2.95.3-5/libobjc/objc/objc.h:51: parse error before `const' 0 [main] cc1obj 1764 open_stackdumpfile: Dumping stack trace to cc1obj.ex .stackdump xgcc: Internal compiler error: program cc1obj got fatal signal 11 make[2]: *** [linking.o] Error 1 make[2]: Leaving directory `/usr/src/gcc-output/i686-pc-cygwin32/libobjc' make[1]: *** [all-target-libobjc] Error 2 make[1]: Leaving directory `/usr/src/gcc-output' make: *** [bootstrap] Error 2 (line numbers added for readability) ---------------------------------------------------------------------- 35: /* 36: ** Definition of the boolean type. 37: */ 38: #ifdef __vxworks 39: typedef int BOOL; 41: #else 42: typedef unsigned char BOOL; 43: #endif 44: #define YES (BOOL)1 45: #define NO (BOOL)0 46: 47: /* 48: ** Definition of a selector. Selectors themselves are not unique, but 49: ** the sel_id is a unique identifier. 50: */ >51: typedef const struct objc_selector 52: { 53: void *sel_id; 54: const char *sel_types; 55: } *SEL; -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/