Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!ncar!hao.hao.ucar.edu!murphy
From: murphy@hao.hao.ucar.edu (Murphy)
Newsgroups: comp.unix.aux
Subject: include search path & /usr/include/mac files
Summary: /usr/include/mac are <> not
Message-ID: <11310@ncar.ucar.edu>
Date: 6 May 91 22:32:12 GMT
Sender: news@ncar.ucar.edu
Distribution: na
Organization: High Altitude Observatory/NCAR, Boulder CO
Lines: 23
Apart from one file, all the include files in the directory
/usr/include/mac refer to, for example, instead
of . For example, packages.h has:
#include
#include
#include
The upshot of this is that with the default setting of the
#include search path, NONE of these files are found by the
cc compiler's cpp.
I could either add a -I/usr/include/mac to the cc command, or
hack each of the files directly. Have I overlooked a switch,
or is there a neater way of solving this?
Graham Murphy
High Altitude Observatory
National Center for Atmospheric Research
P.O. Box 3000, Boulder CO 80307-3000. Ph:(303)497-1565; Fax:(303)497-1137.
INTERNET: murphy@hao.UCAR.EDU; Solar PO: GMurphy@SOLAR