ANSI header files
Mark Moraes
moraes at cs.toronto.edu
Fri Mar 30 06:54:24 AEST 1990
By default, gcc will look for headers in $(libdir)/gcc-include before
/usr/include. ($(libdir) is defined in the Makefile) If you want to
put prototyped headers on your system for gcc, gcc-include is probably
a better place to do it.
gcc -traditional won't work with those headers, though, and
-traditional is often useful for compiling non-ANSItized code. (As
more vendors start stuffing prototypes and volatile and const in their
/usr/include, using gcc -traditional becomes harder; soon we'll have
to maintain a separate include directory of traditional non-prototyped
headers:-) Yeah, I know; we should all bite the ANSI bullet...
Mark.
More information about the Comp.unix.questions
mailing list