[gps-users] Where is the correct place for -I and -L

Leon Pollak leonp@plris.com
Mon, 29 Sep 2003 10:17:39 +0300


On Monday 29 September 2003 09:51, Emmanuel Briot wrote:
> On Sat, 2003-09-27 at 23:29, Leon Pollak wrote:
> > 	Where is the correct place to add directories of include files (switch
> > -I), libraries and linker scripts.
>
> The correct place is the tab called "Source directories" and "Object
> directories". This will automatically set the correct command line
> switches for gcc with -I and -L, as well as allow GPS to find the files
> itself.
Hello, Emmanuel.
	Thanks for the reply.
	The "Source directories" tab may be a good decision, but what to do, if the 
vendor's "include" directory also contains *.c or *.cpp files? Don't say me 
that this is a bad practice - I agree, but they do not...:-))). But in fact 
this is minor problem - one can restructure it.
	About the "Object directories" tab - the GPS version I try to run is 1.2.2 
and I do not see in project properties "Objects" tab a possibility to add 
libraries (neither by names, nor by directories) there. What do I miss?

Again thanks for reply.
-- 
Dr.Leon M.Pollak
leonp at plris dot com

P.S. The problem of mine I reported in "An MMI bug?" mail is much worse for me 
- I do not know how to proceed. If you can help me with it somehow, it will 
be really great...:-))
Thanks again.