| www.delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| From: | "Joe Graham" <joe AT aiobjects DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | enabling objc on cygwin gcc |
| Date: | Mon, 3 Sep 2001 09:20:51 -0600 |
| Message-ID: | <DDENLHEIANHJBHNBDPBCOEJHCFAA.joe@aiobjects.com> |
| MIME-Version: | 1.0 |
| 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.
<error>
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'
<included output>
/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
<objc.h> (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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |