home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!yoyo.aarnet.edu.au!frodo.cc.flinders.edu.au!hobson.cc.flinders.edu.au!mmtl
- From: mmtl@hobson.cc.flinders.edu.au (T.Lampre)
- Newsgroups: comp.os.os2.misc
- Subject: Re: GCC stdio.h
- Message-ID: <1992Sep07.010117.38523@frodo.cc.flinders.edu.au>
- Date: 7 Sep 92 01:01:17 GMT
- References: <1992Sep04.230412.3018362@locus.com>
- Sender: @frodo.cc.flinders.edu.au
- Organization: Flinders University
- Lines: 28
-
- In article <1992Sep04.230412.3018362@locus.com> gvoon@locus.com (George Voon) writes:
- >I'm having trouble compiling with the GNU C compiler from comp.binaries.os2.
- >When I included stdio.h, it gave me errors saying that sys/cdefs.h and
- >machine/ansi.h were missing. When I commented those out, I got a lot of
- >parse errors. What am I doing wrong? Thanks ahead of time for any advice.
- >BTW, this is compiling the sample1.c from the package.
- >
-
- You are not doing anything wrong. The original fault was mine when I
- messed up zoo'ing the sys/* (and other) subdirectories in the header
- files. The moderator of c.b.os2 also missed the error when he tested
- it.
-
- If you have the headers from gcc/2 2.1 use those. If you have ftp
- access you can get them from:
-
- ftp-os2.nmsu.edu:/pub/os2/2.0/programming/gcc2-2.2.2/gcchdr.zoo
-
- If you don't have ftp then you will need to use an ftp-mail server (I
- don't know how, I think the FAQ lists some).
-
- A repost probably isn't necessary unless many people have problems and
- can't get them any other way.
-
-
- Trevor Lampre
- <mmtl@cc.flinders.edu.au>
- Flinders University of South Australia
-