From owner-freebsd-questions Sat Oct 5 15:48:22 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29F5337B401 for ; Sat, 5 Oct 2002 15:48:21 -0700 (PDT) Received: from web14704.mail.yahoo.com (web14704.mail.yahoo.com [216.136.224.121]) by mx1.FreeBSD.org (Postfix) with SMTP id D8D9143E42 for ; Sat, 5 Oct 2002 15:48:20 -0700 (PDT) (envelope-from wayneclubin@yahoo.com) Message-ID: <20021005224820.60602.qmail@web14704.mail.yahoo.com> Received: from [64.131.161.101] by web14704.mail.yahoo.com via HTTP; Sat, 05 Oct 2002 15:48:20 PDT Date: Sat, 5 Oct 2002 15:48:20 -0700 (PDT) From: Wayne Lubin Subject: adding a path to gcc to find #include type includes To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I grabbed the prc-tools development environment for the palmos. The problem is the palm has a bunch of its own header files and a lot of code includes them in the #include type of include. But the files live in the palmdev folder, but gcc doesn't look there by default of course. I tried to play with the -I switch like so gcc -c -I /usr/local/palmdev/ -o Main.o Main.c but that doesn't work. The man page says something about using -I- along with -I to get it to do what I want, but I did not understand the man page. Anyone know what I should do? Is there a way to add the path to gcc itself so that I wouldn't even have to do it each time on the command line? Thanks. Wayne __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message