This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: default gcc include and lib paths
- To: Rajesh Gupta <grajesh at miel dot mot dot com>
- Subject: Re: default gcc include and lib paths
- From: Bharathi S <bharathi at lantana dot tenet dot res dot in>
- Date: Sat, 13 Oct 2001 00:23:32 +0530 (IST)
- cc: GNC GCC <gcc-help at gcc dot gnu dot org>
On Fri, 12 Oct 2001, Rajesh Gupta wrote:
> Could anybody please tell me the the default include and lib paths used by
> gcc for compilation of a program ?
>
lib Path : /usr/local/lib
include path : /usr/include
if you include your dir name in the C_INCLUDE_PATH env variable then
gcc search in the dir for header files
see info gcc for more .
Regards,
Bharathi S.
DON lab II,
CSE IIT-M,
India 600036.
Ph: 91-44-445 8904