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] How the program is runing in windowsxp?

2016-04-11 Thread Pavel
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


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

2016-04-11 Thread julien . darthenay
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


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

2016-04-10 Thread kl222
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