[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

GCC and Palm SDK configuration problem



Hi,
I am trying to install the PalmOS 3.5 SDK on debian. And I am running into a problem I cannot figure out from the gcc docs.

The headers files in the palm SDK are arranged in a hierarchy e.g PalmOS.h, Core/System/SystemPublic.h etc. But the files reference each other as though there are all in the same directory, or rather in gcc's search path.

To recap
Directory structure
PalmOS.h
Core/System/SystemPublic.h

In PalmOS.h
#include <SystemPublic.h>

When I try to compile gcc complains that SystemPublic.h does not exist. I have not been able to find a way to have gcc treat all the subdirectories as part of its include path, or a way to include a specific directory in the path.

In the latter case I tried
m68k-palmos-coff-gcc -Wall -g -IDIR '/usr/m68k-palmos-coff/include/PalmOS/Core/System/' -IDIR '/usr/m68k-palmos-coff/include/PalmOS/Core/Hardware/' -c -o hello.o hello.c

but it failed.

As always any help would be appreciated

--
Never in the world does hatred cease by hatred; hatred ceases by love.
-- Buddha



Reply to: