adding a path to gcc to find #include something.h type includes

2002-10-05 Thread Wayne Lubin
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 #includethefile.h type of include. But the files live in the palmdev folder, but gcc doesn't look there by default of course. I

Re: adding a path to gcc to find #include something.h type includes

2002-10-05 Thread Adam Weinberger
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.

Re: adding a path to gcc to find #include something.h type includes

2002-10-05 Thread Wayne Lubin
I installed prc-tools from the ports. I am using freebsd 4.6. so I made a little work directory and downloaded some palm code and tried to compile Main.c as shown below. Main.c has the following includes #include BuildDefines.h #include PalmOS.h I get the error mesagaes Main.c:13:

Re: adding a path to gcc to find #include something.h type includes

2002-10-05 Thread Wayne Lubin
But PalmOS.h includes header files who as well are not in standard locations. Wayne --- Giorgos Keramidas [EMAIL PROTECTED] wrote: On 2002-10-05 16:09, Wayne Lubin [EMAIL PROTECTED] wrote: #include BuildDefines.h #include PalmOS.h I get the error mesagaes Main.c:13:

Re: adding a path to gcc to find #include something.h type includes

2002-10-05 Thread Giorgos Keramidas
On 2002-10-05 17:58, Wayne Lubin [EMAIL PROTECTED] wrote: --- Giorgos Keramidas [EMAIL PROTECTED] wrote: On 2002-10-05 16:09, Wayne Lubin [EMAIL PROTECTED] wrote: In other words it is not finding the files. But these files are in /usr/local/palmdev/sdk-3.5/include Use