|
-
July 17th, 2005, 11:27 PM
#1
about g++ and some defined struct
what is the search path of g++ in searching paths?
for example /usr/include/c++/3.2/
what is all the all teh folders it search ?and how to know them?
is there a variable having all of it?
also in codei see some defined struct somewhere..but i want to see the defination of these struct, where is teh header conating it ?
off_t
mode_t
size_t
uintmax_t
-
July 18th, 2005, 12:43 AM
#2
Re: about g++ and some defined struct
To know that which file it is using, you can use "which" command.
e.g. fire "which g++" and it will let you know the path of g++ binary.
It will display nothing, if it fails to find g++ binary.
-
July 18th, 2005, 03:30 AM
#3
Re: about g++ and some defined struct
i don't want to know the binary teh program use...i want to know teh header files it search..
-
July 18th, 2005, 10:03 AM
#4
Re: about g++ and some defined struct
i don't want to know the binary teh program use...i want to know teh header files it search..
In general you can use grep:
man grep
http://www.gnu.org/software/grep/grep.html
Most standard types (with _t) are appropriatly in sys/types.h.
Latem
Being a pessimist is wonderful; you are either proven right, or pleasantly surprised.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|