Re: [Mingw-w64-public] Install MinGW w64

2013-02-12 Thread JonY
On 2/6/2013 04:31, Jorge F. Hernandez wrote:
 By the way,
 
 I tried using the MinGW 64-bit that comes with Cygwin, but when I tried to 
 run 
 configure and it tries to check if gcc will compile what I'm trying to, it 
 says 
 it cannot create executables, what can I do?
 
 I'm trying to compile libiconv in 64-bit so I can add it as a dependency for 
 a 
 PHP I'm building in 64-bit, but libiconv doesn't support VC anymore and it 
 asks 
 to use MinGW, but MinGW won't work for me.
 

Please post your config.log file.





signature.asc
Description: OpenPGP digital signature
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] Mingw-w64 GCC 4.7 (rubenvb) crashes.

2013-02-12 Thread JonY
On 2/10/2013 17:14, Václav Šmilauer wrote:
 Let me run it in debugger for you, okay? (gcc 4.7.2 under Linux):
 
 #0  0x77538425 in raise () from /lib/x86_64-linux-gnu/libc.so.6
 #1  0x7753bb8b in abort () from /lib/x86_64-linux-gnu/libc.so.6
 #2  0x77b37e2d in __gnu_cxx::__verbose_terminate_handler() () 
 from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
 #3  0x77b35f26 in ?? () from 
 /usr/lib/x86_64-linux-gnu/libstdc++.so.6
 #4  0x77b35f53 in std::terminate() () from 
 /usr/lib/x86_64-linux-gnu/libstdc++.so.6
 #5  0x77b3617e in __cxa_throw () from 
 /usr/lib/x86_64-linux-gnu/libstdc++.so.6
 #6  0x77b890cc in std::__throw_system_error(int) () from 
 /usr/lib/x86_64-linux-gnu/libstdc++.so.6
 #7  0x0040141e in 
 std::call_onceBase::instance()::{lambda()#1}(std::once_flag, 
 Base::instance()::{lambda()#1})
  (__once=..., __f=...) at /usr/include/c++/4.7/mutex:827
 #8  0x00400edc in Base::instance () at a.cc:61
 #9  0x00400ccb in main () at a.cc:220
 

It crashes in Linux too?





signature.asc
Description: OpenPGP digital signature
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] Install MinGW w64

2013-02-12 Thread K. Frank
Hello Jorge!

On Tue, Feb 5, 2013 at 3:31 PM, Jorge F. Hernandez
jor...@fsbcomputers.com wrote:

 By the way,
 ...
 I'm trying to compile libiconv in 64-bit so I can add it as a dependency
 for a PHP I'm building in 64-bit, but libiconv doesn't support VC anymore
 and it asks to use MinGW, but MinGW won't work for me.

 Any ideas?

This doesn't answer your specific question, but you might be able to
use a mingw-w64 pre-compiled 64-bit verions of libiconv.

I faced a similar issue with needing a mingw-w64 version libxml2, and
I didn't want to muck with autotools.  Brian, in an earlier thread on this
list, kindly directed me to:

   http://www.stats.ox.ac.uk/pub/Rtools/R215x.html

You can download:

   http://www.stats.ox.ac.uk/pub/Rtools/goodies/multilib/local215.zip

which contains, among other things, libiconv.

I am successfully using that version of libxml2, and I believe libxml2
depends on libiconv, so I suppose I'm using libiconv, as well.

(These are c, rather than c++ libraries, so my concerns about abi
incompatibilities between various version of mingw-w64 were unlikely
to cause problems, and seem not to have.,)

 Thanks,

 Jorge Hernandez


Good luck.


K. Frank

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] Mingw-w64 GCC 4.7 (rubenvb) crashes.

2013-02-12 Thread Václav Šmilauer
 Let me run it in debugger for you, okay? (gcc 4.7.2 under Linux):

 #0  0x77538425 in raise () from /lib/x86_64-linux-gnu/libc.so.6
 #1  0x7753bb8b in abort () from /lib/x86_64-linux-gnu/libc.so.6
 #2  0x77b37e2d in __gnu_cxx::__verbose_terminate_handler() ()
 from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
 #3  0x77b35f26 in ?? () from
 /usr/lib/x86_64-linux-gnu/libstdc++.so.6
 #4  0x77b35f53 in std::terminate() () from
 /usr/lib/x86_64-linux-gnu/libstdc++.so.6
 #5  0x77b3617e in __cxa_throw () from
 /usr/lib/x86_64-linux-gnu/libstdc++.so.6
 #6  0x77b890cc in std::__throw_system_error(int) () from
 /usr/lib/x86_64-linux-gnu/libstdc++.so.6
 #7  0x0040141e in
 std::call_onceBase::instance()::{lambda()#1}(std::once_flag,
 Base::instance()::{lambda()#1})
   (__once=..., __f=...) at /usr/include/c++/4.7/mutex:827
 #8  0x00400edc in Base::instance () at a.cc:61
 #9  0x00400ccb in main () at a.cc:220

 It crashes in Linux too?
Yep.

I would therefore guess it is not mingw-specific, though I can't 
investigate more for now. (Clang does not compile that code at all, so I 
can't try that one.)

Cheers, Vaclav


--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] Patch for widl Makefile rule bug when builddir!=srcdir

2013-02-12 Thread Ray Donnelly
Hi Jacek,

I hope this is ok now?

Best regards,

Ray.

On Mon, Feb 11, 2013 at 12:27 PM, Ray Donnelly mingw.andr...@gmail.com wrote:
 I think I took it as an opportunity to learn a tiny bit of automake
 having avoided it so far!

 Ho hum... an update is in progress.

 On Mon, Feb 11, 2013 at 10:58 AM, Jacek Caban ja...@codeweavers.com wrote:
 Hi Ray,

 Sorry for my response time too... Why don't you put the warning in
 configure.ac instead of Makefile? Also the warning could say something like
 --with-widl used in out of the tree compilation. Existing generated files
 won't be modified.

 Cheers,
 Jacek


 On 02/03/13 19:44, Ray Donnelly wrote:

 Hi Jacek,

 Sorry for the long response time.

 Please find attached a new version of the patch that adds the warning
 you mentioned.

 I also named it as .a txt file and removed all auto generated files.

 Best regards,

 Ray.

 On Mon, Jan 14, 2013 at 12:40 PM, Jacek Caban ja...@codeweavers.com wrote:

 Hi Ray,

 .idl.h: crt/_mingw.h
 -   $(WIDL) -DBOOL=WINBOOL -I$(srcdir)/include
 -I$(srcdir)/direct-x/include -Icrt -I$(srcdir)/crt -h -o $(srcdir)/$@ $
 +   $(WIDL) -DBOOL=WINBOOL -I$(srcdir)/include
 -I$(srcdir)/direct-x/include -Icrt -I$(srcdir)/crt -h -o $@ $


 The current code is indeed a hack, but it's intentional. Compiling with
 --with-widl is a maintainer-like mode and is supposed to change files in
 source directories.

 That said, --with-widl works best if ran in config where
 srcdir=builddir, because widl-generated comments look better then. We
 could change the way it works like you propose (so that if someone
 really wants widl-maintainer more, he is expected to build from srcdir),
 but for that I think we'd need a warning in configure when someone uses
 --with-widl and srcdir!=builddir.

 Thanks,
 Jacek

 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. SALE $99.99 this month only -- learn more at:
 http://p.sf.net/sfu/learnmore_122412
 ___
 Mingw-w64-public mailing list
 Mingw-w64-public@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/mingw-w64-public



 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_jan



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



 --
 Free Next-Gen Firewall Hardware Offer
 Buy your Sophos next-gen firewall before the end March 2013
 and get the hardware for free! Learn more.
 http://p.sf.net/sfu/sophos-d2d-feb
 ___
 Mingw-w64-public mailing list
 Mingw-w64-public@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Index: mingw-w64-headers/configure.ac
===
--- mingw-w64-headers/configure.ac  (revision 5586)
+++ mingw-w64-headers/configure.ac  (working copy)
@@ -34,6 +34,10 @@
 
 AM_CONDITIONAL([HAVE_WIDL],[AS_VAR_TEST_SET([WIDL])])
 
+if test ! $with_widl = no -a ! $srcdir = .; then
+AC_MSG_WARN([--with-widl used in out of the tree compilation. Existing 
generated files won't be modified.])
+fi
+
 # Checks for libraries.
 
 # Checks for header files.
Index: mingw-w64-headers/Makefile.am
===
--- mingw-w64-headers/Makefile.am   (revision 5586)
+++ mingw-w64-headers/Makefile.am   (working copy)
@@ -118,7 +118,7 @@
 BUILT_SOURCES = $(IDL_SRCS:.idl=.h)
 
 .idl.h: crt/_mingw.h
-   $(WIDL) -DBOOL=WINBOOL -I$(srcdir)/include -I$(srcdir)/direct-x/include 
-Icrt -I$(srcdir)/crt -h -o $(srcdir)/$@ $
+   $(WIDL) -DBOOL=WINBOOL -I$(srcdir)/include -I$(srcdir)/direct-x/include 
-Icrt -I$(srcdir)/crt -h -o $@ $
 
 endif
 
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public