Eric G. Miller wrote:
On Sun, 14 Oct 2001 18:44:16 -0400, Akintayo Holder <[EMAIL PROTECTED]> wrote:
[snip]
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
$ gcc -c hello.c -I/usr/m68k-palmos/coff/include/PalmOS/Core/System \
-I/usr/m68k-palmos/coff/include/PalmOS/Core/Hardware
Is /usr/m68k-palmos/coff/include as symlink to /usr/include/PalmOS ? It
doesn't matter, just curious (it's a shorter path).
No there is no /usr/include/PalmOS but the PalmOS directory is actually a simlink
to PalmOS3 - if that is relevant
thanks!.
the -I switch works, but is there a way to do it without specifying each
directory.
This is ugly - even if it is in a make file
gcc -c hello.c -I/usr/m68k-palmos-coff/include/PalmOS/Core/System \
-I/usr/m68k-palmos-coff/include/PalmOS/Core/Hardware \
-I/usr/m68k-palmos-coff/include/PalmOS \
-I/usr/m68k-palmos-coff/include/PalmOS/Core/UI \
-I/usr/m68k-palmos-coff/include/PalmOS/Core \
-I/usr/m68k-palmos-coff/include/PalmOS/Dynamic \
-I/usr/m68k-palmos-coff/include/PalmOS/Libraries
--
Never in the world does hatred cease by hatred; hatred ceases by love.
-- Buddha