home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / os2 / misc / 29485 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.5 KB

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