Re: [Mingw-w64-public] use tdm-gcc to compile wx2.9.4, get i386:x86-64 architecture of input file incompatible error

2013-05-31 Thread John E. / TDM
Quoting zhangxinghai: > I try to build 32-bit wx2.9.4 with tdm-gcc. *snip* > I get the error > ld.exe: i386:x86-64 architecture of input file > `basedll_version_rc.o' is incompatible > with i386 output > Where is wrong? This indicates that windres generated a 64-bit .o file from version.rc,

Re: [Mingw-w64-public] Exporting clock_* symbols in the mingw crt instead of winpthreads?

2013-05-31 Thread Ruben Van Boxem
2013/5/31 Erik van Pienbroek > Hi, > > While trying to compile all Fedora packages against winpthreads [1] we > found out that gstreamer fails to build with this linker error: > > CCLD libgstreamer-0.10.la > .libs/libgstreamer_0.10_la-gstsystemclock.o: In function > `gst_system_clock_get_reso

[Mingw-w64-public] Exporting clock_* symbols in the mingw crt instead of winpthreads?

2013-05-31 Thread Erik van Pienbroek
Hi, While trying to compile all Fedora packages against winpthreads [1] we found out that gstreamer fails to build with this linker error: CCLD libgstreamer-0.10.la .libs/libgstreamer_0.10_la-gstsystemclock.o: In function `gst_system_clock_get_resolution': /builddir/build/BUILD/gstreamer-0.1

[Mingw-w64-public] Windows XP and strerror_s

2013-05-31 Thread Ruben Van Boxem
Hi, I have been contacted by someone on Stackoverflow.com who is experiencing problems with my Clang builds. LLVM/Clang uses strerror_s if available, which it is for MinGW-w64 if the secure API is enabled. Problem is, this function is absent on XP msvcrt. http://stackoverflow.com/q/16258037/256138

Re: [Mingw-w64-public] use tdm-gcc to compile wx2.9.4, get i386:x86-64 architecture of input file incompatible error

2013-05-31 Thread Ruben Van Boxem
2013/5/31 zhangxinghai > Hi,Ruben > I think I must use --build and --host.If not,first I will get cannot > guess build type error. > The tdm-gcc is built with --build=x86_64-w64-mingw32,So I set build type > to that. > I want to build the wx dlls which are used under 32bit windows xp os. > So

Re: [Mingw-w64-public] Mingw-w64-public Digest, Vol 68, Issue 29

2013-05-31 Thread Ruben Van Boxem
2013/5/31 Ruben Van Boxem > 2013/5/31 Matheus Viana > >> Dear Ruben, >> >> you can overcome the problem with time.h doing this: >> >> After ./configure >> Open the file "Makefile", search for libf2c_la_CFLAGS = >> Put -DUSE_CLOCK after libf2c_la_CFLAGS = >> Now it looks like libf2c_la_CFLAGS = -

Re: [Mingw-w64-public] use tdm-gcc to compile wx2.9.4, get i386:x86-64 architecture of input file incompatible error

2013-05-31 Thread zhangxinghai
Hi,Ruben I think I must use --build and --host.If not,first I will get cannot guess build type error. The tdm-gcc is built with --build=x86_64-w64-mingw32,So I set build type to that. I want to build the wx dlls which are used under 32bit windows xp os. So I set host type to i686-w64-mingw32 I

Re: [Mingw-w64-public] Mingw-w64-public Digest, Vol 68, Issue 29

2013-05-31 Thread Ruben Van Boxem
2013/5/31 Matheus Viana > Dear Ruben, > > you can overcome the problem with time.h doing this: > > After ./configure > Open the file "Makefile", search for libf2c_la_CFLAGS = > Put -DUSE_CLOCK after libf2c_la_CFLAGS = > Now it looks like libf2c_la_CFLAGS = -DUSE_CLOCK -DSkip_f2c_Undefs > Ope