Path: utzoo!utgpu!news-server.csri.toronto.edu!smoke.cs.toronto.edu!neat.cs.toronto.edu!moraes Newsgroups: comp.unix.questions From: moraes@cs.toronto.edu (Mark Moraes) Subject: Re: ANSI header files Message-ID: <90Mar29.155305est.2708@smoke.cs.toronto.edu> Organization: Department of Computer Science, University of Toronto References: <2105@kiwi.mpr.ca> <12431@smoke.BRL.MIL> <1990Mar28.144531.12008@druid.uucp> <1990Mar29.145856.14614@nebulus.UUCP> Date: 29 Mar 90 20:54:24 GMT Lines: 13 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.