home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / gnu / gcc / help / 2804 < prev    next >
Encoding:
Text File  |  1992-12-22  |  4.4 KB  |  90 lines

  1. Newsgroups: gnu.gcc.help
  2. Path: sparky!uunet!usc!sdd.hp.com!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!stl.scscom.COM!kenth
  3. From: kenth@stl.scscom.COM (S. Kent Hamilton)
  4. Subject: Building GCC 2.3.2 on SCO Unix 3.2v4
  5. Message-ID: <9212222105.aa04041@scsmis.stl.scscom.COM>
  6. Sender: daemon@cis.ohio-state.edu
  7. Reply-To: kenth@stl.scscom.com
  8. Organization: GNUs Not Usenet
  9. Distribution: gnu
  10. Date: Tue, 22 Dec 1992 15:05:42 GMT
  11. Lines: 77
  12.  
  13. I noticed a couple of notes a bit back that talked about compiling 
  14. gcc 2.3.2 on SCO Unix 3.2v4.  They have expired here and I'm having
  15. a problem getting this to work.  I did 2.0 and 2.2.2 using the rcc
  16. compiler on SCO 3.2v2 without a problem.  We upgraded to 3.2v4 and
  17. I decided to try the new version of Gcc since I was going to have
  18. to re-compile anyway but rcc doesn't appear to work at all, I get the
  19. following...
  20.  
  21. rcc -Dunix -Di386 -DM_UNIX -DM_I386 -DNULL=0  -DIN_GCC -D__STDC__=0  -g \
  22.  -I. -I. -I./config \
  23.  -DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/i486-sco3.2v4/\
  24.      `sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < ./version.c`/include\" \
  25.  -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/g++-include\" \
  26.  -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
  27.  -DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/i486-sco3.2v4/\
  28.  `sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < ./version.c`/sys-include\" \
  29.  -DTOOLDIR=\"/usr/local/i486-sco3.2v4/\" -c `echo ./cccp.c | sed 's,^\./,,'`
  30. "/usr/include/sys/types.h", line 4: warning: unknown #pragma comment
  31. "/usr/include/sys/stat.h", line 4: warning: unknown #pragma comment
  32. "/usr/include/ctype.h", line 26: warning: unknown #pragma comment
  33. "/usr/include/stdio.h", line 3: warning: unknown #pragma comment
  34. "/usr/include/stdio.h", line 33: warning: unknown #pragma comment
  35. "/usr/include/limits.h", line 26: warning: unknown #pragma comment
  36. "/usr/include/errno.h", line 28: warning: unknown #pragma comment
  37. "/usr/include/sys/errno.h", line 4: warning: unknown #pragma comment
  38. "/usr/include/time.h", line 26: warning: unknown #pragma comment
  39. "/usr/include/fcntl.h", line 26: warning: unknown #pragma comment
  40. "/usr/include/sys/fcntl.h", line 4: warning: unknown #pragma comment
  41. rcc -Dunix -Di386 -DM_UNIX -DM_I386 -DNULL=0  -DIN_GCC -D__STDC__=0  -g \
  42.  -I. -I. -I./config -c ./cexp.c
  43. "/usr/include/setjmp.h", line 26: warning: unknown #pragma comment
  44. "/usr/include/sys/signal.h", line 4: warning: unknown #pragma comment
  45. "/usr/include/stdio.h", line 3: warning: unknown #pragma comment
  46. "/usr/include/stdio.h", line 33: warning: unknown #pragma comment
  47. "/usr/include/limits.h", line 26: warning: unknown #pragma comment
  48. "/usr/include/errno.h", line 28: warning: unknown #pragma comment
  49. "/usr/include/sys/errno.h", line 4: warning: unknown #pragma comment
  50. "/usr/include/stdio.h", line 3: warning: unknown #pragma comment
  51. "cexp.y", line 149: syntax error
  52. "cexp.y", line 179: redeclaration of const
  53. "cexp.y", line 179: syntax error
  54.  
  55.     . . . a bunch of lines of this deleted.  . . .
  56.  
  57. "cexp.y", line 288: redeclaration of const
  58. "cexp.y", line 288: syntax error
  59. "/usr/local/lib/bison.simple", line 315: yypact undefined
  60. "/usr/local/lib/bison.simple", line 315: illegal indirection
  61. "/usr/local/lib/bison.simple", line 347: yytranslate undefined
  62. "/usr/local/lib/bison.simple", line 347: illegal indirection
  63. "/usr/local/lib/bison.simple", line 364: yycheck undefined
  64. "/usr/local/lib/bison.simple", line 364: illegal indirection
  65. "/usr/local/lib/bison.simple", line 367: yytable undefined
  66. "/usr/local/lib/bison.simple", line 367: illegal indirection
  67. "/usr/local/lib/bison.simple", line 414: yydefact undefined
  68. "/usr/local/lib/bison.simple", line 414: illegal indirection
  69. "/usr/local/lib/bison.simple", line 414: compiler error: too many errors
  70. make: *** [cexp.o] Error 1
  71.  
  72. Said, Ok, I'll try the Microsloth compiler.  Hey! Worked great!
  73. UNTIL you try and run something else compiled with the resulting
  74. gcc suite.  File I/O appears to be seriously screwed.
  75.  
  76. Can someone please tell me what they did to get this going?  I need to
  77. get my development group back up again as quickly as possible.
  78.  
  79.  
  80.  
  81. P.S.  I saw a note from RMS about a problem with fixincludes on SCO
  82.       Can someone forward that to me?  It's expired as well.
  83.  
  84. -- 
  85. Kent Hamilton                      |  
  86. MIS Systems Administrator          |   Internet:  kenth@stl.scscom.com
  87. SCS/Compute, Inc.                  |       UUCP:  {....}!wupost!scsgate!kenth
  88. 12444 Powerscourt Drive, Suite 400 |    Ma Bell:  (314) 966-2805 ext. 3009
  89. St. Louis, MO 63131                |      Add some _silly_ wisdom here
  90.