Start with Code Warrior 7. It's worth it.

-----Original Message-----
From: Dr. Walter Willmertinger [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 29, 2001 7:28 AM
To: Palm Developer Forum
Subject: Beginners question: How to start with gcc and Windows -
Problems with 3.5 and include files


I downloaded and installed all stuff as described under 
http://www.palmos.com/dev/tech/tools/gcc
in a Windows NT 4.0 machine.
I can call the compiler, but it always seems to miss the include files
In directory D:\PalmDev\Palm OS 3.5 SDK Examples\Puzzle\Src>
I call:
         make

brings

m68k-palmos-gcc -O2 -Wall   -c PuzzleApp.c -o PuzzleApp.o
PuzzleApp.c:16: PalmOS.h: No such file or directory
make: *** [PuzzleApp.o] Error 1

where do I have to define the include path for the gcc?
the searched file is in D:\PalmDev\sdk\include\
so I included this directory in the make command:

make CFLAGS="-O2 -Wall -Id:\PalmDev\Sdk\Include"

this gives:

m68k-palmos-gcc -O2 -Wall -Id:\PalmDev\Sdk\Include   -c PuzzleApp.c -o 
PuzzleApp
.o
In file included from d:/PalmDev/Sdk/Include/PalmOS.h:24,
                  from PuzzleApp.c:16:
d:/PalmDev/Sdk/Include/PalmTypes.h:153: M68KHwr.h: No such file or directory
In file included from PuzzleApp.c:16:
d:/PalmDev/Sdk/Include/PalmOS.h:25: SystemPublic.h: No such file or
directory
d:/PalmDev/Sdk/Include/PalmOS.h:26: UIPublic.h: No such file or directory
make: *** [PuzzleApp.o] Error 1



Mit freundlichen Grüßen,

Dr. Walter Willmertinger

CONSYS Gesellschaft für Softwaretechnologie und Systementwicklung mbH
Dr. Walter Willmertinger
Landsberger Strasse 402   EMail: [EMAIL PROTECTED]
81241 Muenchen            Phone: +49 89 589 789 0
Germany                     Fax: +49 89 589 789 99
WWW-Homepage: http://www.consys.de


-- 
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to