Hi folks, I received many emails of people asking how I got everything up and running. After answering a few people I decided to post my 'howto' to this ng. Please forgive any mis-spellings and grammatical mistakes as english isn't my own language. I may be half-english but I am also Austrian. Thanks to all who contributed to this guide by posting their knowlede to this ng. Here goes. ---Installation--- First, I used drive G: so I will write the paths this way. You'll have to use your drive-letter, of course ;) Main installdirectory is G:\PalmTools There I installed: CygWin32b20 ---> g:\PalmTools\cygwin PRC-Tools 2.0 ---> g:\PalmTools\PRC-Tools PalmOS SDK 3.5 ---> g:\PalmTools\PalmDev The 1.0 - 3.1 SDKs ---> g:\PalmTools\PalmDev (I had to install them, the palmos3.5 didn't work) PilRC also goes ---> g:\PalmTools\pilrc You should also install the Palm-emulator there. ---Path Adjustments--- Next thing, adjust the PATH. It depends if you are using the bash-shell from cygwin or a normal windows command prompt. I edited the files cygnus.bat and the autoexec.bat (well, not really because I use Windows2000). This is what I put there: PATH=g:\PalmTools\cygnus\cygwin-b20\ H-i586-cygwin32\bin;g:\PalmTools\PRC-Tools\ H-i586-cygwin32\bin;g:\PalmTools\PilRCw32;%PATH% The whole string HAS to be in one line. You need to reboot for the changes to take effect. Next, you need to adjust the mount-points for cygwin. Open cygwin and you have the bash-shell. type 'mount'. This is what it should look like after the adjustments: g:\tmp /tmp g:\palmtools\prc-tools /prc-tools g:\palmtools\pilrcw32 /pilrc g:\palmtools\cygnus\cygnus-b20\H-i586-cygwin32\bin /bin g:\palmtools\palmdev /PalmDev g: / Last on every line is something like 'native text!=binary'. Those are made by the mount command. Let's say, you want to remount the /prc-tools dir. Type 'umount /prc-tools' then 'mount g:\\palmtools\\prc-tools /prc-tools' Note the double backslashes. Thats UNIX. Don't worry, if you get a Message like 'directory not found'. After you have entered the other mounts, type 'mount' again and it should resemble my settings (with your drive letter) ---Setting up SDK--- Finally, you need to chose, which SDK to use. For maximum compatibility, use the 'sdk-2'. Under bash, go to the '/palmdev' directory and do a 'ln -s sdk-2 sdk'. This will create a symbolic link to the appropriate directory. You can also specify the sdk to use in your makefiles. Take a look at one of the sample projects. If you're compiling with the Windows command prompt, you have to make a copy of the 'sdk-?' directory instead of making the symbolic link. e.g. make a copy of 'sdk-2' and rename that copy to 'sdk'. This way, the 'm68k-palmos-gcc compiler' knows, which sdk headers to use. You can also tell the compiler which sdk to use with 'm68k-palmos-gcc hello.c -palmos?.?'. where ?.? is the version number. 1.0, 2.0, 3.1 or 3.5 (didn't work for me). Someone mailed me some additions. ---snip--- You can include following --------------------------------- #include <PalmOS.h> #include <PalmCompatibility.h> --------------------------------- to replace following --------------------------------- #include <Common.h> #include <System/SystemPublic.h> #include <UI/UIPublic.h> ---------------------------------- There is a html file in Linux version sdk3.5 stated change in include files. I don't know why Palm not include the file in window version ---snap--- That's it. I hope I could help anyone. cu, christian --- PGP-Key on request