2014.04.06 19:53 "[Tiff] Building libtiff 4.0.3 dll on mingw win32", by Lyndon Hill

2014.04.07 20:07 "Re: [Tiff] Building libtiff 4.0.3 dll on mingw win32", by Lyndon Hill

I can't see any problems from the configure script; I've added the last bit of output to the end.

For mingw, I installed Qt 5.2.1 which includes mingw 4.8, 32 bit. I'm also running msys 1.0.11. 

gcc reports a target of i686-w64-mingw32 and is the one from Qt. Now I'm confused, is this 32 or 64 bit.

From configure:

checking whether the gcc linker (c:/qt/tools/mingw48_32/i686-w64-mingw32/bin/ld.exe) supports shared libraries... yes

Here is the last bit of output from configure:

Libtiff is now configured for i686-pc-mingw32

  Installation directory:             /c/Users/me/Source/tiff-4.0.3/tiff-build   Documentation directory:            ${prefix}/share/doc/tiff-4.0.3

  C compiler:                         gcc -g -O2 -Wall -W
  C++ compiler:                       g++ -g -O2
  Enable runtime linker paths:        no
  Enable linker symbol versioning:    no
  Support Microsoft Document Imaging: yes
  Use win32 IO:                       yes

 Support for internal codecs:
  CCITT Group 3 & 4 algorithms:       yes
  Macintosh PackBits algorithm:       yes
  LZW algorithm:                      yes
  ThunderScan 4-bit RLE algorithm:    yes
  NeXT 2-bit RLE algorithm:           yes
  LogLuv high dynamic range encoding: yes

 Support for external codecs:
  ZLIB support:                       yes
  Pixar log-format algorithm:         yes
  JPEG support:                       yes
  Old JPEG support:                   yes
  JPEG 8/12 bit dual mode:            no
  ISO JBIG support:                   no
  LZMA2 support:                      no

  C++ support:                        yes

  OpenGL support:                     no

On Sunday, 6 April 2014, 22:56, Bob Friesenhahn <bfriesen@simple.dallas.tx.us> wrote:

> Hi Bob, thanks for your suggestions.

> When I extracted libtiff sources I also created a "build" directory and then ./configure

> --prefix=/c/Users/me/tiff/build so that I can see what is built and where it goes after I do make install. There > is no dll in the bin directory or lib/libtiff.dll.a. I think configure is not creating a Makefile that builds it.

Which of the many flavors and versions of MinGW are you using?

I am using a build from the MinGW64 project.

Configure prints this early on while it is configuring the libtool


checking whether the /mingw64/bin/gcc linker
(c:/mingw64/x86_64-w64-mingw32/bin/ld.exe) supports shared
libraries... yes

It is good to check the messages that configure prints, and also any messages printed while linking the libraries.

Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/