Re: [Mingw-w64-public] [Bulk] windres option for -march?

2016-04-12 Thread Gisle Vanem
Julien Darthenay wrote: > But I am unable to find the > options to use with "windres" to build the resource object file. Are > there any "windres" option to use to target 64-bit and 32-bit ? What I do in such case is: RCFLAGS = -O COFF ifeq ($(BUILD_64BIT),1) RCFLAGS += --target=pe-x86-64 el

[Mingw-w64-public] Fwd: _mkgmtime missing on win32 gcc-4.9.3

2016-04-12 Thread Jeroen Ooms
I need to build win32 librasqal (e.g. mingw-w64-rasqal) on mingw-w64 with gcc 4.9.3. The library is building fine with gcc 4.6.3 and gcc 5, but on the gcc 4.9.3 toolchain I get a linking error (only on win32): undefined reference to `_mkgmtime' It looks like even though _mkgmtime is declared

Re: [Mingw-w64-public] windres option for -march?

2016-04-12 Thread Martin Mitáš
Yes, if the _whole_ tool-chain is really multi-arch enabled. I already saw some gcc-based toolchain builds targeting Windows where actually only some of the tools were. And, unfortunately, the command line parameters are inconsistent among the tools. I use: * "-m32" or "-m64" for gcc (which is

[Mingw-w64-public] windres option for -march?

2016-04-12 Thread Julien Darthenay
Hello, I try to build either a 64-bit program or a 32-bit with the same compiler. It seems with "gcc" correct options could be, respectively, "-march=x86-64" and "-march=athlon-xp". But I am unable to find the options to use with "windres" to build the resource object file. Are there any "windr

Re: [Mingw-w64-public] How the program is runing in windowsxp?

2016-04-12 Thread Riot
Just to chip in, I build on Win XP (32bit) with no special defines set. The binaries work perfectly fine on XP and all later windows versions. We do link statically, and use --static-libgcc and --static-libstdc++ on Windows, to minimise DLL hell issues. What issue are you having exactly running o

Re: [Mingw-w64-public] undefined reference to `IID_IMultiLanguage'

2016-04-12 Thread Jacek Caban
On 04/12/16 12:08, julien.darthe...@laposte.net wrote: > http://www.qtcentre.org/threads/38060-How-to-fix-this-error-undefined-reference-to-IID_IMultiLanguage > > > You seem to need - lmlang linker option. As far as I can see, it should be added to libuuid.a, not mlang. And yeah, we're missing

Re: [Mingw-w64-public] undefined reference to `IID_IMultiLanguage'

2016-04-12 Thread Erik van Pienbroek
julien.darthe...@laposte.net schreef op di 12-04-2016 om 12:08 [+0200]: > http://www.qtcentre.org/threads/38060-How-to-fix-this-error-undefined > -reference-to-IID_IMultiLanguage  > > You seem to need - lmlang linker option.  Unfortunately there's no mlang import library in mingw-w64 so that won'

Re: [Mingw-w64-public] undefined reference to `IID_IMultiLanguage'

2016-04-12 Thread julien . darthenay
http://www.qtcentre.org/threads/38060-How-to-fix-this-error-undefined-reference-to-IID_IMultiLanguage You seem to need - lmlang linker option. - Mail original - De: "Erik van Pienbroek" À: mingw-w64-public@lists.sourceforge.net Envoyé: Mardi 12 Avril 2016 11:23:49 Objet: [Mingw-w6

[Mingw-w64-public] undefined reference to `IID_IMultiLanguage'

2016-04-12 Thread Erik van Pienbroek
Hey, I'm currently trying to get the latest qtwebkit (5.6.0) built against mingw-w64 v5.0rc2, but I'm getting the following linker error:   TextCodecWin.cpp:85: undefined reference to `IID_IMultiLanguage' I'm wondering whether I'm running into a mingw-w64 bug here or whether something needs to be