enigma-devel
[Top][All Lists]
Advanced

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

Re: [Enigma-devel] crashes on linux gcc exception handling


From: Tacvek
Subject: Re: [Enigma-devel] crashes on linux gcc exception handling
Date: Wed, 4 Oct 2006 12:02:30 -0400


----- Original Message ----- From: "Tacvek" <address@hidden>
To: <address@hidden>
Sent: Wednesday, October 04, 2006 12:24 AM
Subject: Re: [Enigma-devel] crashes on linux gcc exception handling



----- Original Message ----- From: "Ronald Lamprecht" <address@hidden>
To: "Tacvek" <address@hidden>
Cc: <address@hidden>
Sent: Monday, October 02, 2006 4:13 PM
Subject: Re: [Enigma-devel] crashes on linux gcc exception handling

Why is it not possible to use the option "-x c++" as you did for the compilation of Lua itself?

Gcc and G++ handle linking somewhat differently. This is not a probalem for building static libraries becausing static libraries do not involve linking.
(a .a file is merely an archive of .o files).
My original attemps were hitting some snags, due to that.
The work around is simple, add -lstdc++ to LDADD.
Of cource that is gcc specific... but so is '-x c++'.


The new patch should work. Its late right now so i will send it tomorrow.

Ok. It is attached. It appears to work fine.

I've only tested Linux compilation, and mingw32 cross-compilation, so
it may be wise to check OS X compilation, although I don't think the patch
will break that,

Attachment: t3.patch
Description: Binary data


reply via email to

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