GNOME Bugzilla – Bug 577711
cross compile check for g++ broken
Last modified: 2009-11-03 13:09:44 UTC
Please describe the problem: The cross-compile check for c++ is broken. configure is picking up the build system's c++, which leads to a half-broken libtool file. In particular, libtool's search path for system libraries is broken and points to the system lib dirs. The result is that libraries like ws2_32 are not found, and hell breaks loose. I was able to work around it by configuring with CCC=i586-mingw32msvc-g++. Then everything went ok. Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
Created attachment 132903 [details] [review] 0001-Use-AC_CHECK_TOOLS-to-find-CXX-compiler.patch I can confirm this issue. It may have something to do with the libtool version that is used, as this issue was not present in 2.18.2, but is in 2.18.4 and HEAD. Attached patch will fix it by properly searching for a C++ cross compiler.
Looks good, but as such is not specific to Win32, so changing component.
Pushed to master and glib-2-22.