This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: how gcc determine the location of lib
- From: Ian Lance Taylor <ian at wasabisystems dot com>
- To: "Zhendong Zhou \(Kyle\)" <zhouzhendong at hotmail dot com>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: 11 Nov 2003 12:35:58 -0500
- Subject: Re: how gcc determine the location of lib
- References: <LAW10-OE53mEOBYJQX50000d3b9@hotmail.com>
"Zhendong Zhou \(Kyle\)" <zhouzhendong@hotmail.com> writes:
> Just wonder how gcc determine where libraries are located?
> I know there are some system directories which is determined at configure stage when installing gcc. How can I know what is the system directories for an existing system.
gcc -print-search-dirs
Documented here:
http://gcc.gnu.org/onlinedocs/gcc-3.3.2/gcc/Debugging-Options.html
Ian