Thomas Mittag wrote:
> The class only has a default constructor, a destructor and a static method
> GetInstance() and a static pointer to the singleton class instance.

And that singleton is perhaps global or static?  As with many embryonic
C++ implementations, there is much pain in ensuring that ctors/dtors
get executed for global objects (it's a runtime support issue, not a
core compiler issue).  This issue has been covered in detail over on
pilot.programmer.gcc.  The short answer is:  Sorry.  Don't do that for
now.  It's fixed in the next version.

> gcc -o1 -c main.o -o main     --- here I have a problem with the libgcc in
> the default_new_handler.

I trust you mean m68k-palmos-coff-gcc here?  Interesting, I'm not sure
that I've heard that symptom before.  Details?

    John

Reply via email to