Boost logo

Boost Users :

From: dhruva (dhruvakm_at_[hidden])
Date: 2008-05-15 06:50:45


Hi,

On Thu, May 15, 2008 at 2:29 PM, Nair, Vipin <vnair_at_[hidden]> wrote:
> Now I found that compiler is not using /usr/include in the include path.
> How to set it??
>
> I tried to set C_INCLUDE_PATH and CPLUS_INCLUDE_PATH to point to
> /usr/include , but still it is not taking the files from /usr/include.
>

1. Set the environmental variable INCLUDE=/usr/include:$INCLUDE. GCC
picks it from there by default.
2. Or, use "gcc -I/usr/include". If you are using a makefile and it
has CC=gcc, replace it with CC="gcc -I/usr/include".

-dhruva

-- 
Contents reflect my personal views only!

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net