|
From: | Ronan Trépos |
Subject: | Re: [Mingw-cross-env-list] Using MXE for plugin based applications |
Date: | Fri, 08 Feb 2013 17:47:09 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 |
Hello,For your information, I have investigated the possibility of using mxe for building our software relying on shared libgcc. I have forked mxe in order to apply very few changes : git://github.com/rtrepos/mxe.git It worked, not completely yet and only for our software, but exceptions sent by plugins are now caught by the main application.
Nevertheless I had to use the latest repositories of mingw during Mingw installation on windows. The version of gcc (4.6) provided by the default installation is not compatible with the one used by mxe on ubuntu 12.10 (4.7.0) (?)
If you have any comments on this (e.g. is it a bad idea to use mxe for this purpose) don't hesitate. It seems that MXE provides exactly what we need, and even much more, so thank you for that.
Best regards Ronan Trépos Le 29/01/2013 19:04, Ronan Trépos a écrit :
Dear MXE community,We try to cross compile on linux an application, base on a plugin system, for windows users. We have difficulties for managing exceptions.I'm not sure actually if we can do this.On users' windows, mingw32 is installed and is used to build plugins (dll). These plugin could raise exceptions. What we have seen is that we should rely on the option -shared-libgcc when building the main application of gcc in order to manage exceptions(see e.g. some post about dll boundaries on the net)If I'm right, this option has no meaning with mxe since all is built statically.Is that right ? If yes, is there any other way to do this ?If you need more informations to answer this question, please let me know .Thanks in advance for any answer, Best regards Ronan Trépos
-- Trépos Ronan INRA unité BIA, équipe MAD, Toulouse http://carlit.toulouse.inra.fr/wikiz/index.php/Ronan_TREPOS tel : 05 61 28 51 89
[Prev in Thread] | Current Thread | [Next in Thread] |