gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] linking : `__gxx_personality_v0' question


From: john o goyo
Subject: Re: [Gm2] linking : `__gxx_personality_v0' question
Date: Tue, 19 Apr 2011 16:35:45 -0400

On 19-Apr-11, at 3:52 PM, Chris Lilley wrote:

On Tuesday, April 19, 2011, 9:07:55 PM, john wrote:


jog> I just tried -flibs=min with the following result.

jog> johng: 524 [tst-gm2]=> gm2 -Os -fno-exceptions -O2 -flibs-min single.mod
jog> cc1gm2: error: unrecognized command line option "-flibs-min"

That's an equals sign between flibs and min, not a hyphen

Oops -- but it still does not work.

johng: 507 [tst-gm2]=> gm2  -fno-exceptions -flibs=min  single.mod
failed to find definition module InOut.def

And if I leave that out, the "-fno-exceptions" does not work either.

johng: 506 [tst-gm2]=> gm2  -fno-exceptions  single.mod
Undefined                       first referenced
 symbol                             in file
typeinfo for int /opt/gm2-4.1.2/lib/gcc/sparc64- sun-solaris2.10/4.1.2/gm2/pim/libgm2.a(RTExceptions.o) __cxa_allocate_exception /opt/gm2-4.1.2/lib/gcc/sparc64- sun-solaris2.10/4.1.2/gm2/pim/libgm2.a(RTExceptions.o) __cxa_throw /opt/gm2-4.1.2/lib/gcc/sparc64- sun-solaris2.10/4.1.2/gm2/pim/libgm2.a(RTExceptions.o)
__gxx_personality_v0                /var/tmp//ccOcmrIO.a(cc1ysxe8prog.o)
ld: fatal: Symbol referencing errors. No output written to a.out
collect2: ld returned 1 exit status

john




reply via email to

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