[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] linking : `__gxx_personality_v0' question

From: Arnauld Michelizza
Subject: Re: [Gm2] linking : `__gxx_personality_v0' question
Date: Tue, 19 Apr 2011 11:55:57 +0200

Hi Gaius,

thank you very much for your quick reply.

> you could try:
> gm2 -c -m32 -fno-exceptions Kernel.mod

I already tried this, but curiously, that __gxx_personality_v0 symbol remains :

$ gm2 -c -m32 -fno-exceptions Kernel.mod
$ nm Kernel.o
00000000 b MyScreen
0000008a t PutCharOnXY
00000085 T _M2_Kernel_finish
00000000 T _M2_Kernel_init
         U __gxx_personality_v0
$ gm2 --version
GNU Modula-2  1.0.1  (20110223)
  grafted onto GCC 4.1.2

> and then the link.  C++ (libstdc++) is used to handle Modula-2
> exceptions (which you probably don't want in your kernel).  Some
> embedded ports cannot use libstdc++ either so this option disables this
> library.

Ok, it's very clear.

Option -fno-exceptions doesn't seem to work. Maybe a gm2 or gcc
version problem ?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]