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

  1. Newsgroups: gnu.gcc.help
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!wupost!tulane!ukma!netnews.louisville.edu!starbase.spd.louisville.edu!wsaker01
  3. From: wsaker01@starbase.spd.louisville.edu (Willard S. Akers)
  4. Subject: Compiling GCC on SYSVr3.2 (att i386)
  5. Sender: news@netnews.louisville.edu (Netnews)
  6. Message-ID: <wsaker01.725609944@starbase.spd.louisville.edu>
  7. Date: Tue, 29 Dec 1992 06:19:04 GMT
  8. Nntp-Posting-Host: starbase.spd.louisville.edu
  9. Organization: University of Louisville
  10. Keywords: stdio.h
  11. Lines: 25
  12.  
  13. I'm having problems making GCC on our AT&T SYSV machine.  I ran configure with
  14. this system arguement: i386-att-sysvr3
  15.  
  16. Then I got the first stage compiled using cc.  Then when I tried to use xgcc to
  17. compile itself, it gave me some symbol referencing errors in the link stage.
  18. It could not find the symbols putc() and fseek().  It had the same problem when
  19. it try to compile the enquire.c program.  I solved that problem by using CC to
  20. compile enquire instead of GCC.  Unfortunately I can't get by with that at
  21. this point.
  22.  
  23. When xgcc compiled itself, it does appear to link in the C library (I'm using
  24. the ld linker), so I *THINK* there error is in the stdio.h files declarations.
  25. I think the GCC must be defining some symbols that CC does not and therefore
  26. missing the declarations of fseek() and putc().  I just can't figure out what
  27. symbols these are!  It could be __STDC__ or it might be __POSIX__ but I thought
  28. maybe someone else might have had this problem.  I'm not sure what version of
  29. CC we have installed.
  30.  
  31. If anyone could help me, I would greatly appreciate it.  I got the dern compiler
  32. to compile things like tinymud which require an ANSI compliant compiler (as CC
  33. is not compliant). Now I am stuck trying to get GCC to compile when what I 
  34. really want to compile can't be until I'm successful with GCC.
  35.  
  36. Steve
  37.  
  38.