| NEWS | | |  | | FORUMS | | |  | | FREEWARE | | |  | | ABOUT US | | |  | |
08-19-2008, 02:53 PM
|
#1 | | Still truckin'!
Join Date: May 2007 Location: Michigan
Posts: 380
| C Programming - I'm confused! Okay, I would like to develop some palm apps in C, but am a little confused. From what I understand, my best bet would be GCC, what I'm confused as to where I get it from, and where I'm actually supposed to download it. The Palm headers and SDK and all that jazz can wait as I would like to learn the basics of the language before I start learning the Palm APIs all over again (I have done some PP programming already for Palm).
I have a Windows unit, so I would need GCC for Windows. Do I even want GCC, or do I want G++ instead? Where do I download the compiler from? Do I need anything else if I want to create a simple "HelloWorld" app? How about the Windows APIs, where do I get those?
Please help a confused soul!
ST |
| |
08-19-2008, 02:55 PM
|
#2 | | Software engineer/hacker
Join Date: Jan 2004 Location: Silicon Valley, CA
Posts: 5,061
| your best bet is codewarrior. gcc is your worst bet, and PODS is marginally better.
__________________ Annoying me is NOT an approved way of encouraging me to produce software My software:PowerSDHC, PowerDrive, nuRom, UDMH, warpSpeed, PowerDiGi, brightnessFix, etc... Get it all here:http://www.PalmPowerups.com |
| |
08-19-2008, 02:57 PM
|
#3 | | Still truckin'!
Join Date: May 2007 Location: Michigan
Posts: 380
| Unfortunatly, I don't believe Codewarrior is in my budget... Don't know anything about PODS, will have to look it up... |
| |
08-20-2008, 09:37 PM
|
#4 | | Registered User
Join Date: Jul 2004
Posts: 238
| And CW is no longer for sale anywhere. |
| |
08-21-2008, 02:52 AM
|
#5 | | Bernhard Strobl
Join Date: Dec 2007 Location: Immenstadt, Germany
Posts: 149
| You are a confused soul  . Anyways, CodeWarrior for Palm OS has been discontinued, however the GCC toolchain is still available. You can also get the onboard C++ tools for coding on your Palm. As for the API, you will need one for Palm OS. To make things easier though, especially for user interfaces, you can get the resource editor Bird. http://www.ppcompiler.org/?lng=en |
| |
08-21-2008, 05:22 AM
|
#6 | | Registered User
Join Date: May 2004 Location: Canada
Posts: 352
| |
| |
08-21-2008, 12:03 PM
|
#7 | | Software engineer/hacker
Join Date: Jan 2004 Location: Silicon Valley, CA
Posts: 5,061
| Codewarrior can still be obtained if one searches hard enough
__________________ Annoying me is NOT an approved way of encouraging me to produce software My software:PowerSDHC, PowerDrive, nuRom, UDMH, warpSpeed, PowerDiGi, brightnessFix, etc... Get it all here:http://www.PalmPowerups.com |
| |
08-21-2008, 01:05 PM
|
#8 | | Registered User
Join Date: Jul 2004
Posts: 238
| URL, please. I've searched very hard in the past for a legitimate, purchaseable package and couldn't find anything. |
| |
08-21-2008, 01:18 PM
|
#9 | | Software engineer/hacker
Join Date: Jan 2004 Location: Silicon Valley, CA
Posts: 5,061
| Purchaseable is harder. It's easier for me since I have purchased it before, so when I lost my copy, i just googled "codewarrior palmos 9.3 rapidshare" and found it. Luckily i was not asked for registration proof of any kind so it worked out.
__________________ Annoying me is NOT an approved way of encouraging me to produce software My software:PowerSDHC, PowerDrive, nuRom, UDMH, warpSpeed, PowerDiGi, brightnessFix, etc... Get it all here:http://www.PalmPowerups.com |
| |
08-21-2008, 04:46 PM
|
#10 | | Registered User
Join Date: Jul 2003
Posts: 3,188
| Alas, the gcc toolchain is the only real viable way in Linux
It's significantly more work than CodeWarrior 'tho, esp. things like Form resource design. |
| |
08-21-2008, 04:49 PM
|
#11 | | Software engineer/hacker
Join Date: Jan 2004 Location: Silicon Valley, CA
Posts: 5,061
| AND it will not make multisegmenting work for you, or support exceptions in arm, or support code resources over 64k, etc....
__________________ Annoying me is NOT an approved way of encouraging me to produce software My software:PowerSDHC, PowerDrive, nuRom, UDMH, warpSpeed, PowerDiGi, brightnessFix, etc... Get it all here:http://www.PalmPowerups.com |
| |
08-22-2008, 12:32 PM
|
#12 | | Aspiring Developer
Join Date: Sep 2007 Location: In a cow?
Posts: 469
| Aren't you not supposed to have code resources over 64k for HotSync resions?
I use GODS (PODS) and it works fine for 68k apps.
__________________ Quote: |
I installed a program called Jackflash to watch flash movies
| |
| |
08-22-2008, 12:33 PM
|
#13 | | Software engineer/hacker
Join Date: Jan 2004 Location: Silicon Valley, CA
Posts: 5,061
| 1. nobody uses hotsync
2. you can split and rejoin on device
3. it is allowed in rom
4. gcc without annoying hacks will fail on 32kb or bigger coed if a func at start calls a func at end, unlike CW, which synthesizes long jumps.
__________________ Annoying me is NOT an approved way of encouraging me to produce software My software:PowerSDHC, PowerDrive, nuRom, UDMH, warpSpeed, PowerDiGi, brightnessFix, etc... Get it all here:http://www.PalmPowerups.com |
| |
08-22-2008, 01:08 PM
|
#14 | | Still truckin'!
Join Date: May 2007 Location: Michigan
Posts: 380
| Quote:
AND it will not make multisegmenting work for you, or support exceptions in arm, or support code resources over 64k, etc.... |
Oooo glad I know that! One of the main reasons I'd like to develop in C is that I'd like to rewrite DBLP, and be able to break it up/multisegment! I had in Pascal, but the multisegmenting in PP kept falling apart. Quote: |
I use GODS (PODS) and it works fine for 68k apps.
|
CW does allow you to generate true ARM code resources doesn't it? I'd like to prepare myself for the next Palm OS which it sounds like will use a very limited 68k software emulator.
Oh, btw, I do use hotsync to keep my checkbook balanced, (pocket quicken), of course, I've disabled all the other conduits except for the PIM stuff
ST |
| |
08-22-2008, 03:57 PM
|
#15 | | Registered User
Join Date: May 2004 Location: Canada
Posts: 352
| Quote: | Originally Posted by Supertrucker CW does allow you to generate true ARM code resources doesn't it? I'd like to prepare myself for the next Palm OS which it sounds like will use a very limited 68k software emulator. |
GODS (aka PODS) does support ARM code, I believe, though I think Codewarrior is overall better. |
| | | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 10:05 AM. | |