From owner-freebsd-questions Thu Sep 7 6:52:55 2000 Delivered-To: freebsd-questions@freebsd.org Received: from tdnet.com.br (lince.tdnet.com.br [200.236.148.6]) by hub.freebsd.org (Postfix) with ESMTP id 896C837B422 for ; Thu, 7 Sep 2000 06:52:50 -0700 (PDT) Received: from tdnet.com.br [200.236.148.141] by tdnet.com.br with ESMTP (SMTPD32-5.04) id ADA4BC2E0124; Thu, 07 Sep 2000 10:52:36 -0300 Message-ID: <39B773F2.BE2B2AEB@tdnet.com.br> Date: Thu, 07 Sep 2000 10:54:42 +0000 From: Gustavo Vieira Goncalves Coelho Rios X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 4.1-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: gnu.gcc.help To: freebsd-questions@freebsd.org Subject: configuring default include files Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dear gentleman, i am a novice gcc user and currently i am having problem to include not default path to my C files. Mysql include files lie under /usr/local/include/mysql/*.h and in my c sources i am including . The problem is that /usr/local/include is not in my default gcc include path, so when i try to compile the source i have to use the flags -I/usr/local/include. How can i configure gcc to include /usr/local/include in its search path set, cause i really does not enjoy using -I/usr/local/include PS: my uname -a output is: etosha# uname -a FreeBSD etosha 4.1-STABLE FreeBSD 4.1-STABLE #0: Tue Sep 5 18:23:37 GMT 2000 root@etosha:/usr/obj/usr/src/sys/ETOSHA i386 My GCC version is: grios@etosha:/usr/home/grios$ gcc -v Using builtin specs. gcc version 2.95.2 19991024 (release) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message