From owner-freebsd-questions Sat Oct 5 15:56:28 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 E904D37B401 for ; Sat, 5 Oct 2002 15:56:26 -0700 (PDT) Received: from vectors.cx (manifold.vectors.cx [64.163.147.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 914E943E65 for ; Sat, 5 Oct 2002 15:56:26 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: from vectors.cx (a62e8e4ad5eb75d4f95f1401a8244d9c@localhost [127.0.0.1]) by vectors.cx (8.12.6/8.12.4) with ESMTP id g95MvPho040485; Sat, 5 Oct 2002 15:57:25 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: (from monkey@localhost) by vectors.cx (8.12.6/8.12.6/Submit) id g95MvP8h040484; Sat, 5 Oct 2002 15:57:25 -0700 (PDT) (envelope-from monkey) Date: Sat, 5 Oct 2002 15:57:24 -0700 From: Adam Weinberger To: Wayne Lubin Cc: freebsd-questions@FreeBSD.ORG Subject: Re: adding a path to gcc to find #include type includes Message-ID: <20021005225724.GF45363@vectors.cx> References: <20021005224820.60602.qmail@web14704.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021005224820.60602.qmail@web14704.mail.yahoo.com> X-Editor: Vim 6.1 http://www.vim.org X-Mailer: Mutt 1.5 http://www.mutt.org X-URL: http://www.vectors.cx http://www.crackula.com User-Agent: Mutt/1.5.1i 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 did you install the prc-tools port, or the prc-tools-gcc port? or did you not install from the ports tree? what error message are you getting? can you give an example of the #include directive? do the header files even exist within /usr/local/palmdev? some more info would be a big help. -Adam >> (10.05.2002 @ 1548 PST): Wayne Lubin said, in 0.9K: << > 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 > >> end of "adding a path to gcc to find #include type includes" from Wayne Lubin << -- "Oh good, my dog found the chainsaw." -Lilo, "Lilo & Stitch" Adam Weinberger adam@vectors.cx http://vectors.cx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message