i dont believe the gcc v0.5.0 has support for c++ yet.
(standard) - i dont use c++, but i did try it before,
with similar errors you got!
the ecgs version (aparently still being developed) will.
cheers.
az.
--
Aaron Ardiri
Lecturer http://www.hig.se/~ardiri/
University-College i G�vle mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN
Tel: +46 26 64 87 38 Fax: +46 26 64 87 88
Mob: +46 70 352 8192 A/H: +46 26 10 16 11
On Sun, 18 Jul 1999 [EMAIL PROTECTED] wrote:
>
> 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
>
>
>
>