home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!yoyo.aarnet.edu.au!sirius.ucs.adelaide.edu.au!sirius!dsmith
- From: dsmith@algona.stats.adelaide.edu.au (Dave M. Smith)
- Newsgroups: gnu.gcc.help
- Subject: Include search path
- Message-ID: <DSMITH.92Jul27165722@algona.stats.adelaide.edu.au>
- Date: 27 Jul 92 07:27:22 GMT
- Sender: news@ucs.adelaide.edu.au
- Organization: Department of Statistics, University of Adelaide
- Lines: 22
- Nntp-Posting-Host: algona.stats.adelaide.edu.au
-
- Architecture: sparc
- O/S: SunOs 4.1
-
- I had no (well, fewer than usual) problems installing gcc and the
- resulting compiler seems to work fine except for one minor annoyance.
- Installation was to be in a user directory, which was achieved by
- redefining "prefix" in the makefile. Fixincludes was also run, and the
- fixed header files appeared in the right place. The only problem is
- that gcc still looks in /usr/include first for the header files. This
- can of course be circumvented by setting C_INCLUDE_PATH to the
- directory of the fixed header files, but I'd like GCC to look there
- first by default.
-
- Any idea what I've done wrong?
-
- Thanks in advance,
- Dave Smith.
-
- -------------------------------------------------------------------
- |Dave M. Smith <dsmith@stats.adelaide.edu.au>|
- |Department of Statistics, University of Adelaide, South Australia|
- -------------------------------------------------------------------
-