문제

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.

도움이 되었습니까?

해결책

  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. :)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top