Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!cit-vax!ucla-cs!zen!ucbvax!ulysses!hector!ekrell From: ekrell@hector..UUCP (Eduardo Krell) Newsgroups: comp.unix.wizards Subject: Re: Symbolic Links Message-ID: <2886@ulysses.homer.nj.att.com> Date: Thu, 27-Aug-87 15:13:01 EDT Article-I.D.: ulysses.2886 Posted: Thu Aug 27 15:13:01 1987 Date-Received: Sat, 29-Aug-87 10:29:01 EDT References: <8731@brl-adm.ARPA> <2789@ulysses.homer.nj.att.com> <1781@munnari.oz> <2877@ulysses.homer.nj.att.com> <8195@mimsy.UUCP> Sender: daemon@ulysses.homer.nj.att.com Reply-To: ekrell@hector (Eduardo Krell) Organization: AT&T Bell Labs, Murray Hill Lines: 24 In article <8195@mimsy.UUCP> chris@mimsy.UUCP writes: >Look more closely: These files read > > #ifdef KERNEL > #include "../machine/pte.h" > #else > #include > #endif > >which is as it should be---one should be able to build experimental >kernels without reference to /usr/include. The right way of doing this is by issuing the right -I options to cpp. That's how we do it all the time. In this case, you have one directory called, say, "myinclude", with all the subdirectories and header files you need. Then you just need to say cc -Imyinclude and those files will be searched for before the ones in /usr/include. Eduardo Krell AT&T Bell Laboratories, Murray Hill {ihnp4,seismo,ucbvax}!ulysses!ekrell