Hi,
I have recently started to develop a little application for my palm V.
Unfortunately I have never developed with
the GNU compiler gcc nor anything for a palm device.
I have some trouble to compile c++ code with the gcc windows distribution
which I got with a Palm Development book. I was able to
compile a C program with gcc and it runs on the palm but I would like to
change it into c++ code. But here the problems start; :-(
I have a very simple program, only containing the PilotMain and a very
small object for compile tests.
The class only has a default constructor, a destructor and a static method
GetInstance() and a static pointer to the singleton
class instance. I know that this should compile under visual C++ (of
course with a standard main).
However, first I got a problem with the first compile run (gcc -o1 -c
main.cc -o main.o ) in the header file Common.h with the line
enum {false, true}; - I have commented it out, just to get one step
further!
This got me one step further to the command
gcc -o1 -c main.o -o main --- here I have a problem with the libgcc in
the default_new_handler.
Maybe this seems all stupid to experienced developers, but could someone
explain to me what I am doing wrong.
Thanks
Thomas