This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: default gcc include and lib paths


On Fri, 12 Oct 2001, Rajesh Gupta wrote:

>  Could anybody please tell me the the default include and lib paths used by
> gcc for compilation of a program ?
>
 lib Path : /usr/local/lib
 include path : /usr/include 

if you include your dir name in the C_INCLUDE_PATH env variable then
gcc search in the dir for header files

see info gcc for more .

Regards, 
Bharathi S.
DON lab II,
CSE IIT-M,
India 600036.
Ph: 91-44-445 8904


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]