Hello

Andrej Balkonski <andrej.balkon...@gmail.com> schrieb am 17:44 Montag, 3.August 
2015:
> Hello everybody,
> I have a problem with linking-in binary data into a 32 bit Windows executable 
> using mingw-w64.
> I'm doing this on Linux (Kubuntu 14.04.2 LTS) but the same thing also 
> manifests itself on Windows machine(s).
> 
> Not to repeat myself, I'll just post a link to already posted explanation: 
> http://ubuntuforums.org/showthread.php?t=2288915
> 
> If anybody could shed some light on all this, I'd be most grateful.

It seems the 32bit variant doesn't include the leading underscore in the 
exported names.

If you add the following to the start of your source file it should work:
#ifndef _WIN64
#define _binary_foo_bar_start binary_foo_bar_start
#define _binary_foo_bar_end binary_foo_bar_end
#endif


Regards
Domani Hannes

------------------------------------------------------------------------------
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to