Hi, I am sorry but I have read the install page and my PalmOS sdk is installed in /opt/palmdev/sdk-4. This is the content of this directory. [EMAIL PROTECTED] sdk-4]$ ls -ltr total 40 -rw-r--r-- 1 root root 18200 avr 17 2001 Palm OS 4.0 SDK ReadMe.txt -rw-r--r-- 1 root root 10892 avr 17 2001 Palm License.txt drwxr-xr-x 3 root root 4096 jui 13 10:53 lib drwxr-xr-x 6 root root 4096 jui 13 10:53 include
So when I set palmos compiler option to palmos4 the compiler failed with the error unrecognized option `-palmos4'. If I don`t set this option errors are: [EMAIL PROTECTED] tmp]$ make m68k-palmos-gcc -Wall -g -c -o hello.o hello.c In file included from hello.c:11: /usr/share/prc-tools/include/PalmOS.h:12: #error No genuine PalmOS.h found /usr/share/prc-tools/include/PalmOS.h:15: warning: #warning use Pilot.h if you really mean to use the 3.1 SDK or earlier; you may need to run palmdev-prep or use a suitable -palmosN option -- see "http://prc-tools.sourceforge.net/cgi-bin/info/palmdev-prep" for details make: *** [hello.o] Erreur 1 About palmdev-prep, the output is: [EMAIL PROTECTED] root]# palmdev-prep Checking SDKs in /opt/palmdev sdk-4 headers in 'include', libraries in 'lib' and material in /opt/palmdev used regardless of SDK choice (common) headers in 'include', no libraries When GCC is given no -palmos options, SDK '4' will be used by default Writing SDK details to configuration files... ...done Where is the problem? This is the first time I use PRC-tools. Usually, I use CodeWarrior. Thanks for your help, Cheers Yann -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Marshall Sent: Monday, July 19, 2004 4:56 PM To: Palm Developer Forum Subject: Re: How to use prc-tools On Mon, Jul 19, 2004 at 02:36:53PM +0200, Yann Garcia wrote: > /usr/share/prc-tools/include/PalmOS.h:15: warning: #warning use Pilot.h > if you really mean to use the 3.1 SDK or earlier; you may need to run > palmdev-prep or use a suitable -palmosN option -- see > "http://prc-tools.sourceforge.net/cgi-bin/info/palmdev-prep" for details > > Anyone can help me to understand what happen? Was this warning difficult to understand? Was it difficult to understand the details at the URL in the warning? Did you have trouble following the "Post-installation setup" part of the installation instructions at http://prc-tools.sourceforge.net/install/rpm.html ? Please tell us what the difficulty was so that we can try to improve the documentation. Where is the SDK installed? What was the output when you ran palmdev-prep? It is palmdev-prep that generates a configuration file that tells GCC what -palmosN options mean, as noted in the documentation. John -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
