gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] Wee oddity on option order


From: Gaius Mulley
Subject: Re: [Gm2] Wee oddity on option order
Date: Thu, 18 Dec 2008 17:30:57 +0000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

John O Goyo <address@hidden> writes:

> Witness the following (on Ubuntu 10.3/intel):
>
> address@hidden:~/opt/GNU-Modula-2/tst$ gm2 -c -g what.mod
> address@hidden:~/opt/GNU-Modula-2/tst$ gm2 -g -o what  what.mod
> /tmp/ccfroYb3.a(ccEHYj2Ostart.o): In function `init':
> /tmp/cc1GcgbF.cpp:86: undefined reference to `__cxa_begin_catch'
> [...about 20 lines deleted...]
> /tmp/ccfroYb3.a(StdIO.o):(.eh_frame+0x11): more undefined references
> to `__gxx_personality_v0' follow
> collect2: ld returned 1 exit status
> address@hidden:~/opt/GNU-Modula-2/tst$ gm2  -o what -g  what.mod
>
> john

Hi,

many thanks John, that is very interesting!  Incidentally if you get
"undefined reference to `__cxa_begin_catch'" and want a quick work
around you can add:

  -lstdc++

to the command line - but it is a bug and needs to be fixed..

regards,
Gaius




reply via email to

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