GNU gettext - Bugs: bug #33379, Patches needed for windows...
You are not allowed to post comments on this tracker with your current authentication level.
bug #33379: Patches needed for windows cross-compilation using mingw
Submitter: | Maarten Bosmans <mkbosmans> | ||
Submitted: | Mon 23 May 2011 11:34:56 AM UTC | ||
Category: | Build | Severity: | 3 - Normal |
Item Group: | None | Status: | Works For Me |
Privacy: | Public | Assigned to: | haible |
Open/Closed: | Closed |
Fri 05 Oct 2018 09:27:42 PM UTC, comment #1: |
Bruno Haible <haible> |
Mon 23 May 2011 11:34:56 AM UTC, original submission:
Here are three patches that are needed for cross-compiling with mingw64.
|
Maarten Bosmans <mkbosmans> |
Attached Files
file #26723: win32-pthreads.patch added by jralls (400B - application/octet-stream - Here's another one, required because pthread_t is a struct in some flavors of Win32.)
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 8 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2018-10-05 | haible | Status | None | Works For Me | |
Assigned to | None | haible | |||
Open/Closed | Open | Closed | |||
2016-11-27 | haible | Category | None | Build | |
2012-10-08 | jralls | Attached File | - | Added win32-pthreads.patch, #26723 | |
2011-05-23 | mkbosmans | Attached File | - | Added gettext-0.18.1-win32.patch, #23439 | |
Attached File | - | Added gettext-0.18.1-win64.patch, #23440 | |||
Attached File | - | Added gettext-0.18.1-printf.patch, #23441 |
Powered by Savane 3.13-f8d8.
Corresponding source code
Thanks for the patches.
1) gettext-0.18.1-win32.patch
For tempname.c: Fixed in gnulib through https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=55201fa44fb9cd1d9b4697144a6bb7da60196f57
For write-java.c and write-csharp.c: Fixed through
https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=518c5e284df28ed4eab4847f7eb103e6e97e6ea2
2) gettext-0.18.1-win64.patch
The change regarding uintptr_t is apparently not needed any more.
The change in gettext-tools/woe32dll/export.h was added (in equivalent form) in 2013.
3) gettext-0.18.1-printf.patch
This change is apparently not needed.
4) win32-pthreads.patch
The INSTALL.windows (earlier README.windows) file specifies a build configuration that does NOT use the mingw pthread package. In other words, use of the mingw pthread package is UNSUPPORTED for gettext. Instead, gettext uses gnulib's abstraction for threads, based on native Windows threads.