[mpich-discuss] mpich-3.0.4: building shared libraries w/cygwin

Brad Aagaard baagaard at usgs.gov
Wed May 8 19:06:48 CDT 2013


On 05/06/2013 05:45 PM, Pavan Balaji wrote:
>
> On 05/02/2013 04:36 PM US Central Time, Brad Aagaard wrote:
>> What configure/make arguments should I use to build shared libraries on
>> cygwin?
>
> Just use --enable-shared without any additional --enable-sharedlibs
> argument.  You might also want to give --disable-static if you don't
> want static libraries.
>

Dropping --enable-sharedlibs from configure gives me the same result as 
when I use --enable-sharedlibs=libtool or 
--enable-sharedlibs=gcc-cygwin. I end up with static libraries and no 
shared libraries even though I also use --enable-shared --disable-static.

Is there a way to check the Makefile or libtool to see why it doesn't 
want to build shared libraries?

Thanks,
Brad




More information about the discuss mailing list