[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Library search
From: |
Hageseter, Trond E. |
Subject: |
RE: Library search |
Date: |
Wed, 10 Oct 2001 18:18:18 +0200 |
Hi!
My problem is that the code is split in to trees. We have a source tree
/projects with all libraries common for all. In addition we have a
development tree located under /home/<name>/<projects>.
The reason for wanting at least the -s option, is because else I can not
find defines, constants etc, that indeed are relevant even if it is a
library.
Another issue is that I can not simply run gtags under the /projects
root. The reason for this is that we have for each branch under
/projects an include catalogue that all sub-branches copies files to
when the library is tested and "ready to production". If run from root,
we would include duplicates of all header files.
ie
/projects/common/src/lib1
/projects/common/src/lib2
/projects/common/src/lib3
.
.
.
copy their .h files to
/projects/common/include
regards
trondeh
-----Original Message-----
From: Shigio Yamaguchi [mailto:address@hidden
Sent: 10. oktober 2001 18:07
To: Hageseter, Trond E.
Cc: address@hidden
Subject: Re: Library search
Hello,
> Because we have organized our source code in two separate trees, I
have
> found a "problem".
> If the GTAGSLIBPATH is set, the -s and -r options does not search the
> paths named in GTAGSLIBPATH. I changed that in the code myself, and
for
> the -s option at least it worked great.=20
>
> What is the reason that this is not enabled in the current version?
It is because the GTAGSLIBPATH's is for library search.
In general, library function doesn't call functions which belongs to
your application program. So, the -r option is not needed.
In the same way, we are not interested in symbols in library. So, the -s
option is not needed, I think.
If you feel the GTAGSLIBPATH is insufficient, you had better make
a single GTAGS like this:
project/
part1/GTAGS
part2/GTAGS
|
v
project/GTAGS
part1/
part2/
What do you think?
--
Shigio Yamaguchi - Tama Communications Corporation
Mail: address@hidden, (Spare mail: address@hidden)
- Library search, Hageseter, Trond E., 2001/10/10
- RE: Library search,
Hageseter, Trond E. <=
- RE: Library search, Hageseter, Trond E., 2001/10/11
- RE: Library search, Hageseter, Trond E., 2001/10/11
- RE: Library search, Hageseter, Trond E., 2001/10/11
- RE: Library search, Hageseter, Trond E., 2001/10/11
- RE: Library search, Hageseter, Trond E., 2001/10/11