stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Farid Zaripov" <Farid_Zari...@epam.com>
Subject RE: [PATCH] RE: Cygwin cannot find -lstd12d
Date Tue, 06 Mar 2007 18:25:58 GMT
> -----Original Message-----
> From: Martin Sebor [mailto:sebor@roguewave.com] 
> Sent: Tuesday, March 06, 2007 7:55 PM
> To: stdcxx-dev@incubator.apache.org
> Subject: Re: [PATCH] RE: Cygwin cannot find -lstd12d
> 
> >   But in this case using both variables have the same 
> effect because 
> > the linker used only when shared library built.
> 
> Okay, so --out-implib is only needed/allowed when creating 
> the library. http://www.mingw.org/docs.shtml has an example 
> of how to create a shared library on MinGW. It uses the .dll 
> suffix rather than .so for the name of the library. We have 
> .so. Should the name of our library be changed to .dll or 
> does it matter?

  It doesn't' matter. Dll is just an extension of the file.

> (I'm sure it would matter if the user wanted 
> to link the shared library in a program using MSVC.)

  In my opinion it is bad thing to link a program with library built on
Cygwin
using MSVC. The config.h files are different. And also the library,
build on
cygwin, depends on cygwin1.dll and that library (size 1.8Mb) should be
distributed with the program.

Farid.

Mime
View raw message