Re: MSYS2 "noacl"

Teemu Nätkinniemi <stinkf42-/[email protected]> Fri, 22 Mar 2013 16:57:41 +0200
Newsgroups gmane.comp.gnu.mingw.devel
Message-ID <[email protected]>
On 22.3.2013 16:31, Keith Marshall wrote:
> On 22 March 2013 14:16, Teemu Nätkinniemi wrote:
>
>     Ok, the problem lies with GCC, at least that's what I suspect. The same
>     export compiled with Cygwin looks like this:
>
>     [ 26](sec  1)(fl 0x00)(ty  20)(scl   2) (nx 0) 0x0000000000000580
>     boot_Win32CORE
>
>     And MSYS2 version looks like this:
>
>     [ 26](sec  1)(fl 0x00)(ty  20)(scl   2) (nx 0) 0x0000000000000580
>     _Z14boot_Win32COREP11interpreterP2cv
>
>
> That looks like the effect of C++ name mangling.
>
>     So no wonder linking against this is not going to work. How to fix this?
>     I have no idea at the moment.
>
>
> An extern "C" missing somewhere, perhaps?  Or, make sure it's being
> compiled as C, rather than as C++?

That does fix the issue but it isn't necessary on Cygwin so the problem 
lies elsewhere.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar