Question

I succeeded to build gettext 32bit dll on Windows.

I installed these. gettext-0.18.11 mingw (include msys)

./configure --prefix=/mingw --enable-threads=win32 --enable-relocatable
cd gettext-runtime
make

But I don't know how to build 64bit dll.

Someone said I should use mingw64. Then I installed mingw64 and msys.

But I don't know how to do setting mingw64 and msys to build 64bit dll. And I don't know gettext configure option to build 64bit dll.

Thanks.

Was it helpful?

Solution

  1. Download latest MinGW-w64 targeting 64-bit (there are also targeting 32-bit, so be careful) here.

    NOTE: As you added --enable-threads=win32, then probably you would be interested in the distribution with Win32 threading support, rather than POSIX, so be cautious when you choose which one to download.

  2. Configure in almost the same way, but with addition of one option:

    ./configure --build=x86_64-w64-mingw32 --prefix=/mingw --enable-threads=win32 --enable-relocatable
    
  3. Lean back. :)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top