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

Pavan Balaji balaji at mcs.anl.gov
Fri May 10 19:26:26 CDT 2013


On 05/08/2013 07:06 PM US Central Time, Brad Aagaard wrote:
> 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.

This is strange.

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

You could look through the config.log files to see what's going on.

 -- Pavan

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji



More information about the discuss mailing list