[Expat-bugs] [ expat-Bugs-615272 ] Expat 1.95.5 static library name
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 26 Sep 2002 15:51:49 -0700
Bugs item #615272, was opened at 2002-09-26 15:51
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=615272&group_id=10127
Category: None
Group: Feature Request
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Expat 1.95.5 static library name
Initial Comment:
Expat 1.95.5 on Win32 using MSVC.
I think its great that you include a static library now! It
would be more convenient for our build environment
though if you called the static .lib files something
different than the DLL stub .lib files so that they can live
in the same directory. Of course, anyone building expat
could do this, but it would be nice to have it this way out
of the box. You could then move these files into
the "Libs" directory, and delete the "StaticLibs" directory.
For other libraries, I've seen "static" appended to the
name. Another thing that is often done with MSVC
static libraries is to have multiple version based on how
you link with the CRT - /MT (Multithreaded) or /MD
(Multithreaded DLL) - and to append MT or MD to the
name. This way you can use the appropriate static
library depending on your situation. It's also common to
keep everything in one .dsp, and use multiple
configurations. So instead of 4 .dsp files, you'd have
1 .dsp with the configurations:
Win32 Debug DLL
(libexpat.dll and stub libexpat.lib)
Win32 Debug Static MT
(static libexpatMT.lib)
Win32 Debug Static MD
(static libexpatMD.lib)
Win32 Release DLL
(libexpat.dll and stub libexpat.lib)
Win32 Release Static MT
(static libexpatMT.lib)
Win32 Release Static MD
(static libexpatMD.lib)
Win32 Unicode Debug DLL
(libexpatw.dll and stub libexpatw.lib)
Win32 Unicode Debug Static MT
(static libexpatwMT.lib)
Win32 Unicode Debug Static MD
(static libexpatwMD.lib)
Win32 Unicode Release DLL
(libexpatw.dll and stub libexpatw.lib)
Win32 Unicode Release Static MT
(static libexpatwMT.lib)
Win32 Unicode Release Static MD
(static libexpatwMD.lib)
It would also be nice if instead of needing to
define "_STATIC", it was something a little more
specific like "_EXPAT_STATIC" or even "XML_STATIC".
Thanks!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=615272&group_id=10127