[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 in the headers it is
not available in the 32bit runtime?

I did find this open bug report:
https://sourceforge.net/p/mingw-w64/bugs/473/ . It suggests rebuilding
mingw-w64 but that is not an option for me, our toolchain is frozen.

Is there any way or workaround that I can use to link this library
with gcc-4.9.3 ?

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


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 likely just a shortcut for some 
-march=XXX),
 * "--target=pe-x86-64" or "--target=pe-i386" for windres
 *  "-m;i386:x86-64;-f;--64" or "-m;i386;-f;--32" for dlltool

Hope this helps,
Martin



Dne 12. 4. 2016 v 20:58 Julien Darthenay napsal(a):
> 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 "windres" option to use to target 64-bit and 32-bit ?
> 
> Regards,
> 
> Julien Darthenay
> 
> --
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Mingw-w64-public mailing list
> Mingw-w64-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
> 

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


[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 "windres" option to use to target 64-bit and 32-bit ?

Regards,

Julien Darthenay

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


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 on XP, what error occurs?  Are
there any particular libraries you're using that might be causing the
problem?

-Riot

On 11 April 2016 at 20:43, Pavel  wrote:

> Hello,
>
> I think this is not sufficient. -D__USE_MINGW_ANSI_STDIO should help,
> however, my experience is that it somehow cripples swprintf with %s
> placeholder on post-XP systems. So you always need to create separate
> build for XP, if you want to support that system :-(
>
> Pavel
>
>
> On Mon, 2016-04-11 at 14:21 +0200, julien.darthe...@laposte.net wrote:
> > Hello,
> >
> > Can you try to build your program with the g++ flag
> "-D_WIN32_WINNT=0x0501" or maybe "-D_WIN32_WINNT=0x0502"?
> >
> > - Mail original -
> >
> > De: "kl222" 
> > À: "mingw android" 
> > Cc: mingw-w64-public@lists.sourceforge.net
> > Envoyé: Lundi 11 Avril 2016 03:42:18
> > Objet: [Mingw-w64-public] How the program is runing in windowsxp?
> >
> > Hi all:
> >
> > I use mingw g++ to build a programe. It is running in windows 7 and
> > laster. But it don't run in windowsxp.
> >
> > Use msvc 2013 tools chains build a programe with parameter
> > /SUBSYSTEM:WINDOWS",5.01" . It is running in windowsxp.
> >
> > How do use mingw g++?
> >
> >
> >
> > Thinks!
> >
> >
> --
> > Find and fix application performance issues faster with Applications
> Manager
> > Applications Manager provides deep performance insights into multiple
> tiers of
> > your business applications. It resolves application problems quickly and
> > reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
> > gampad/clk?id=1444514301=/ca-pub-7940484522588532
> > ___
> > Mingw-w64-public mailing list
> > Mingw-w64-public@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
> >
> >
> --
> > Find and fix application performance issues faster with Applications
> Manager
> > Applications Manager provides deep performance insights into multiple
> tiers of
> > your business applications. It resolves application problems quickly and
> > reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
> > gampad/clk?id=1444514301=/ca-pub-7940484522588532
> > ___
> > Mingw-w64-public mailing list
> > Mingw-w64-public@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
>
>
>
> --
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Mingw-w64-public mailing list
> Mingw-w64-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


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't work..

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


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-w64-public] undefined reference to `IID_IMultiLanguage' 

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 
fixed in qtwebkit. A grep on the mingw-w64 headers shows that this 
symbol is declared in mlang.h 
I can confirm that the qtwebkit code in question is also including this 
header. 

MSDN ( https://msdn.microsoft.com/en-us/library/aa741022%28v=vs.85%29.a 
spx ) doesn't tell 
whether additional linker flags are needed for this interface, but 
adding -luuid doesn't resolve the issue 

Regards, 

Erik van Pienbroek 
##SELECTION_END## 
-- 
Find and fix application performance issues faster with Applications Manager 
Applications Manager provides deep performance insights into multiple tiers of 
your business applications. It resolves application problems quickly and 
reduces your MTTR. Get your free trial! 
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z 
___ 
Mingw-w64-public mailing list 
Mingw-w64-public@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public 

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


[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
fixed in qtwebkit. A grep on the mingw-w64 headers shows that this
symbol is declared in mlang.h
I can confirm that the qtwebkit code in question is also including this
header.

MSDN ( https://msdn.microsoft.com/en-us/library/aa741022%28v=vs.85%29.a
spx ) doesn't tell
whether additional linker flags are needed for this interface, but
adding -luuid doesn't resolve the issue

Regards,

Erik van Pienbroek
##SELECTION_END##
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public