Re: editing the search path for '#include' preprocessor

2007-06-28 Thread Yuri Pankov
On Fri, Jun 29, 2007 at 12:03:11PM +0530, sameer gupta wrote: > thanks, > however i would like to add more details of my problem: > > > > cd /usr/home/sameer/ > gcc -o prog1 prog1.c -lelf -I /usr/local/include/libelf > In file included from prog1.c:3: > /usr/local/include/libelf/libelf.h:31:28: lib

Re: editing the search path for '#include' preprocessor

2007-06-28 Thread sameer gupta
thanks, however i would like to add more details of my problem: cd /usr/home/sameer/ gcc -o prog1 prog1.c -lelf -I /usr/local/include/libelf In file included from prog1.c:3: /usr/local/include/libelf/libelf.h:31:28: libelf/sys_elf.h: No such file or directory In file included from prog1.c:3: /u

Re: editing the search path for '#include' preprocessor

2007-06-27 Thread Roland Smith
On Wed, Jun 27, 2007 at 03:35:46PM +0530, sameer gupta wrote: > hello, > i want to add new search path's for including more directories for header > files, for that i need to edit the makefile that my gcc compiler uses, > however i cant figure out where to find that file, kindly help..i'm a ne

Re: editing the search path for '#include' preprocessor

2007-06-27 Thread Reid Linnemann
Written by sameer gupta on 06/27/07 05:05>> hello, i want to add new search path's for including more directories for header files, for that i need to edit the makefile that my gcc compiler uses, however i cant figure out where to find that file, kindly help..i'm a newbie who has just started

editing the search path for '#include' preprocessor

2007-06-27 Thread sameer gupta
hello, i want to add new search path's for including more directories for header files, for that i need to edit the makefile that my gcc compiler uses, however i cant figure out where to find that file, kindly help..i'm a newbie who has just started out regards, sameer ___