Building 32-bit libraries on 64-bit Windows and cygwin64

I have never gotten the 32-bit gcc cygwin compilers to work under cygwin64. Therefore, if you need 32-bit libraries compiled with the cygwin compilers under Windows, I recommend installing cygwin32.

With some hand intervention, it is possible to build 32-bit ATLAS libraries under cygwin64 using the 32-bit MinGW compilers, however. To do this, do your configure as normal, but before starting the build, hand-edit the created Make.inc. Look for the make definition for XCCFLAGS, and you should see that it includes a -m32. Change this to -m64. You should now be able to invoke make as normal.



R. Clint Whaley 2016-07-28