home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.gcc.help
- Path: sparky!uunet!usc!sdd.hp.com!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!stl.scscom.COM!kenth
- From: kenth@stl.scscom.COM (S. Kent Hamilton)
- Subject: Building GCC 2.3.2 on SCO Unix 3.2v4
- Message-ID: <9212222105.aa04041@scsmis.stl.scscom.COM>
- Sender: daemon@cis.ohio-state.edu
- Reply-To: kenth@stl.scscom.com
- Organization: GNUs Not Usenet
- Distribution: gnu
- Date: Tue, 22 Dec 1992 15:05:42 GMT
- Lines: 77
-
- I noticed a couple of notes a bit back that talked about compiling
- gcc 2.3.2 on SCO Unix 3.2v4. They have expired here and I'm having
- a problem getting this to work. I did 2.0 and 2.2.2 using the rcc
- compiler on SCO 3.2v2 without a problem. We upgraded to 3.2v4 and
- I decided to try the new version of Gcc since I was going to have
- to re-compile anyway but rcc doesn't appear to work at all, I get the
- following...
-
- rcc -Dunix -Di386 -DM_UNIX -DM_I386 -DNULL=0 -DIN_GCC -D__STDC__=0 -g \
- -I. -I. -I./config \
- -DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/i486-sco3.2v4/\
- `sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < ./version.c`/include\" \
- -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/g++-include\" \
- -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
- -DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/i486-sco3.2v4/\
- `sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < ./version.c`/sys-include\" \
- -DTOOLDIR=\"/usr/local/i486-sco3.2v4/\" -c `echo ./cccp.c | sed 's,^\./,,'`
- "/usr/include/sys/types.h", line 4: warning: unknown #pragma comment
- "/usr/include/sys/stat.h", line 4: warning: unknown #pragma comment
- "/usr/include/ctype.h", line 26: warning: unknown #pragma comment
- "/usr/include/stdio.h", line 3: warning: unknown #pragma comment
- "/usr/include/stdio.h", line 33: warning: unknown #pragma comment
- "/usr/include/limits.h", line 26: warning: unknown #pragma comment
- "/usr/include/errno.h", line 28: warning: unknown #pragma comment
- "/usr/include/sys/errno.h", line 4: warning: unknown #pragma comment
- "/usr/include/time.h", line 26: warning: unknown #pragma comment
- "/usr/include/fcntl.h", line 26: warning: unknown #pragma comment
- "/usr/include/sys/fcntl.h", line 4: warning: unknown #pragma comment
- rcc -Dunix -Di386 -DM_UNIX -DM_I386 -DNULL=0 -DIN_GCC -D__STDC__=0 -g \
- -I. -I. -I./config -c ./cexp.c
- "/usr/include/setjmp.h", line 26: warning: unknown #pragma comment
- "/usr/include/sys/signal.h", line 4: warning: unknown #pragma comment
- "/usr/include/stdio.h", line 3: warning: unknown #pragma comment
- "/usr/include/stdio.h", line 33: warning: unknown #pragma comment
- "/usr/include/limits.h", line 26: warning: unknown #pragma comment
- "/usr/include/errno.h", line 28: warning: unknown #pragma comment
- "/usr/include/sys/errno.h", line 4: warning: unknown #pragma comment
- "/usr/include/stdio.h", line 3: warning: unknown #pragma comment
- "cexp.y", line 149: syntax error
- "cexp.y", line 179: redeclaration of const
- "cexp.y", line 179: syntax error
-
- . . . a bunch of lines of this deleted. . . .
-
- "cexp.y", line 288: redeclaration of const
- "cexp.y", line 288: syntax error
- "/usr/local/lib/bison.simple", line 315: yypact undefined
- "/usr/local/lib/bison.simple", line 315: illegal indirection
- "/usr/local/lib/bison.simple", line 347: yytranslate undefined
- "/usr/local/lib/bison.simple", line 347: illegal indirection
- "/usr/local/lib/bison.simple", line 364: yycheck undefined
- "/usr/local/lib/bison.simple", line 364: illegal indirection
- "/usr/local/lib/bison.simple", line 367: yytable undefined
- "/usr/local/lib/bison.simple", line 367: illegal indirection
- "/usr/local/lib/bison.simple", line 414: yydefact undefined
- "/usr/local/lib/bison.simple", line 414: illegal indirection
- "/usr/local/lib/bison.simple", line 414: compiler error: too many errors
- make: *** [cexp.o] Error 1
-
- Said, Ok, I'll try the Microsloth compiler. Hey! Worked great!
- UNTIL you try and run something else compiled with the resulting
- gcc suite. File I/O appears to be seriously screwed.
-
- Can someone please tell me what they did to get this going? I need to
- get my development group back up again as quickly as possible.
-
-
-
- P.S. I saw a note from RMS about a problem with fixincludes on SCO
- Can someone forward that to me? It's expired as well.
-
- --
- Kent Hamilton |
- MIS Systems Administrator | Internet: kenth@stl.scscom.com
- SCS/Compute, Inc. | UUCP: {....}!wupost!scsgate!kenth
- 12444 Powerscourt Drive, Suite 400 | Ma Bell: (314) 966-2805 ext. 3009
- St. Louis, MO 63131 | Add some _silly_ wisdom here
-