HEADER_DIR = "/usr/src/linux-2.4.1/include/linux"
WRONG_DIR = "/usr/include/linux"


dear all,

i would like to include files ONLY from $HEADER_DIR.  the trouble is that
header files in this $HEADER_DIR include other header files which look like

        #include<linux/elf.h>

but gcc is looking for these other files in $WRONG_DIR.  i'm dead in the
water until i can get gcc to interpret "linux/elf.h" as

        $HEADER_DIR/elf.h

and not

        $WRONG_DIR/elf.h

was that sufficiently confusing?   can someone help me out?

pete

-- 
"...and here is fortress ovum being stormed by               [EMAIL PROTECTED]
    millions of tiny warriors..."                            www.dirac.org/p
           -- Robert "Schweitzer" Picardo

PGP signature

Reply via email to