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