From: Andrew Inggs <Andrew.I<nggs@te...> - 2001-04-19 11:11:04
Thanks for your answers so far.
Paul Sokolovsky wrote:
> AI> In general, I agree that it would be better to use DLLs.
> AI> Now, my problem with having libstdc++ be a DLL is that
> AI> it has not been given a version number! This means if
> AI> it changes in some incompatible way, and some installer
> AI> installs a version of libstdc++ over an older/newer
> AI> version and all of a sudden half your Mingw-compiled
> AI> programs fail in unpredictable ways.
> libstdc++.dll coming with current gcc-2.95.2 package was built in
> adhoc way from its static counterpart (and not from source). I wasn't
> sure about its exact version, so I just used following heuristics:
> very first release may come without version stamp, later release
> (supposing API changes) should have it. Ideally, all libraries should
> be built using libtool, which takes care of version-stamping the
> shared libs/dlls (and by the way, that stamp is not merely version
> number, yet another reason I didn't want to cope with that).
That makes sense. I'm not familiar with libtool or its version-
stamping capability though. Would that set what you see when you
right-click on a DLL, choose Properties and then the Version tab?
> On win32, implibs play role of these symlinks (try to
> think about it and you'll find the correspondence astonishing).
I'll have to think about this one ... and do some research on how
implibs work. But I assume you will still need to change the
name of the DLL file if it changes in incompatible ways -- this
isn't a disadvantage, the same counts for the symlink approach,
I'm just checking.
> AI> I do feel this issue could have had a little discussion on
> AI> this list before it was implemented.
> Well, I'm not sure whether I mentioned this question on this list,
> but I of course asked what other maintainer think before putting it
On the closed mingw-dvlpr list?
From: Chris Hansen <popeofpop@so...> - 2001-04-19 12:30:36
[mailto:mingw-users-admin@...]På vegne af Andrew Inggs
Sendt: 19. april 2001 13:16
Emne: [Mingw-users] Versioning DLLs (was: Can I statically link to
> That makes sense. I'm not familiar with libtool or its version-
> stamping capability though. Would that set what you see when you
> right-click on a DLL, choose Properties and then the Version tab?
No, the version stamp (and version tab in the file properties) is a Windows
I believe there is some way to add a resource to an already compiled Windows
binary. I just don't know how. But this way you might want to add your own
version stamp to the DLL. If you set the version to 0.0.0.0 it shouldn't
conflict with the real version stamp, when Paul adds this to the next