gnu.gcc.help
[Top] [All Lists]

Re: the compiler search apth

Subject: Re: the compiler search apth
From: Gary Wessle
Date: 23 Jul 2006 03:11:23 +1000
Newsgroups: gnu.gcc.help
Paul Pluzhnikov <ppluzhnikov-nsp@xxxxxxxxxxx> writes:

> Gary Wessle <phddas@xxxxxxxxx> writes:
> 
> > debian/testing 2.6.15
> > how can I find out if a given directory is in the standard search path
> > of my g++ compiler?  
> 
> Search path for what?

I have a library (the gsl library) I am using in my project, its
instruction says

"
If the directory is not installed on the standard search path of your
compiler you will also need to provide its location to the
preprocessor as a command line flag. The default location of the gsl
directory is /usr/local/include/gsl. 
"

> 
> Output from 'g++ --print-search-dirs' and 'g++ -v foo.cpp' may
> provide clues.
> 
> > is it the same as the search path of the linker?
> 
> No.
>

how can I find out if a given directory is in the standard search path
of my linker?

thank you 
 

<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy