After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 454392 - mingw build (cross compilation)
mingw build (cross compilation)
Status: RESOLVED NOTGNOME
Product: libxslt
Classification: Platform
Component: general
1.1.20
Other other
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2007-07-06 20:59 UTC by Roumen Petrov
Modified: 2009-08-23 17:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (1.96 KB, patch)
2007-07-06 21:00 UTC, Roumen Petrov
none Details | Review

Description Roumen Petrov 2007-07-06 20:59:33 UTC
The proposed patch improve mingw build.

Without changes in makefiles mingw build don't create shared libraries(dlls).
Changes in ./configure.in remove unused winsoc too.
May be AC_LIBTOOL_WIN32_DLL is not necessary but I add it.
Modification in extensions.c is to suppress warning.
Comment 1 Roumen Petrov 2007-07-06 21:00:39 UTC
Created attachment 91321 [details] [review]
proposed patch
Comment 2 Daniel Veillard 2007-08-23 10:10:36 UTC
This part of the patch looks controversial to me, it may affect the build of 
others on Windows. Again since I have no Windows expertise, I will ask to 
send your patch and explain it on the mailing list where others with such
expertise and ability to build on Windows can discuss it, I can't process 
this on my own.

@@ -511,9 +512,7 @@
 WIN32_EXTRA_LDFLAGS=
 case "$host" in
  *-*-mingw*)
- WIN32_EXTRA_LIBADD="-lwsock32"
- WIN32_EXTRA_LDFLAGS="-no-undefined"
- AC_DEFINE([_WINSOCKAPI_],1,[Using the Win32 Socket implementation])
+ WIN32_EXTRA_LDFLAGS="-no-undefined -avoid-version"
  AC_DEFINE([snprintf],[_snprintf],[Win32 Std C name mangling work-around])
  AC_DEFINE([vsnprintf],[_vsnprintf],[Win32 Std C name mangling work-around])
  ;;

   thanks in advance,

Daniel
Comment 3 Roumen Petrov 2007-08-23 20:48:13 UTC
Interesting status (RESOLVED) and resolution (NOTGNOME) !!!!
Comment 4 Daniel Veillard 2009-08-23 17:03:42 UTC
It's NOTGNOME, not WONTFIX ! See 454388 for explanations,

Daniel