Article View: gnu.gcc.help
Article #37ANSI header files for gcc?
From: J.D. Baldwin
Date: Wed, 04 Nov 1992 13:26
Date: Wed, 04 Nov 1992 13:26
30 lines
1970 bytes
1970 bytes
A quote from the INSTALL file for gcc 2.3.1:
[Step] 13. Correct errors in the header files on your machine.
Various system header files often contain constructs which are
erroneous, incompatible with ANSI C or otherwise unsuitable, and
they will not work when you compile programs with GNU CC.
[. . .]
It is not the purpose of `install-fixincludes' to add prototypes to
the system header files. We support headers with ANSI C
prototypes in the GNU C Library, and we have no time to support
adding them to other systems' header files.
What does this last paragraph mean? "We support"? I want ANSI header
files and I don't want to write them all myself from scratch. If GNU
supports these things, then where can I get them? I haven't been able
to find them on the usual sites. And, once I find them, where do I
put them? In /usr/local/lib/gcc-include? In /usr/local/include? This
hasn't caused me any problems (besides having to explain to my classes
that "it's just that way for now," which I hate), but I'd sure like
to be completely ANSI-fied. After all, that's why I started with gcc
in the first place.
--
From the catapult of: |+| "If anyone disagrees with anything I
_,_ J. D. Baldwin, Comp Sci Dept|+| say, I am quite prepared not only to
_|70|___:::)=}- U.S. Naval Academy|+| retract it, but also to deny under
\ / baldwin@usna.navy.mil |+| oath that I ever said it." --T. Lehrer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Technical Details
Message-ID:
<BALDWIN.92Nov4092601@csservera.scs.usna.navy.mil>Path:
arc1-ca.pugleaf.net!sparky!uunet!usna!faculty!baldwinShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!usna!faculty!baldwin From: baldwin@csservera.scs.usna.navy.mil (J.D. Baldwin) Newsgroups: gnu.gcc.help Subject: ANSI header files for gcc? Message-ID: <BALDWIN.92Nov4092601@csservera.scs.usna.navy.mil> Date: 4 Nov 92 13:26:01 GMT Sender: news@usna.NAVY.MIL Organization: Comp. Sci. Dep't., U.S. Naval Academy, Annapolis, MD Lines: 30