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



----- Original Message ----- From: "Ronald Lamprecht" <[EMAIL PROTECTED]>
To: "Tacvek" <[EMAIL PROTECTED]>
Cc: <enigma-devel@nongnu.org>
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

_______________________________________________
Enigma-devel mailing list
Enigma-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/enigma-devel

Reply via email to