|Re: HPGCC questions|
Message #2 Posted by David Hayden on 29 Sept 2011, 9:53 p.m.,
in response to message #1 by Steve Fennell
I believe that HPGCC3 creates stand-alone programs, which is an improvement over HPGCC 2.0 which requires a library on the 50g. The lib can convert the program to stand-alone, or it can launch the program itself.
I think I also heard that HPGCC3 has a more extensive library.
On the plus side for HPGCC 2.0, it's been around longer so it may be more stable. Also, to make a shameless plug, my HPObjects library currently only works with HPGCC 1.1 and 2.0. The library lets you easily access and convert HP calculator objects (numbers, integers, lists, strings etc) into C equivalents, and back again. The library that comes with HPGCC 2.0 comes with some of this functionality, but the interfaces are inconsistent and only a few objects are supported.
Here are some handy links:
Egan Ford's excellent HPGCC 2 tutorial.
My HPObjects library
Good luck! I think you'll find it quite rewarding. HPGCC programs typically run 100 times faster than User RPL programs. On the other hand, they are typically about 100 times larger. On the third hand, you can always copy the actual program to an SD card, and replace it on the calculator with a small stub program that recalls it from the card and runs it. This saves you the space in HOME, but it still takes a large amount of RAM to run.
Feel free to contact me for help with HPGCC 2 programming.