#4 libstdc++.dll required?

closed
Danny Smith
None
5
2001-06-16
2001-05-19
Wirawan Purwanto
No

I just downloaded the newest GCC (MinGW) version
2.95.2-3 (2001-03-29). And in the change log
(http://sourceforge.net/project/shownotes.php?
release_id=29064) I found the following sentences
which bother me:

"Shared libstdc++ provided. This means that C++ apps
will be linked against it by default and depend on
bin/libstdc++.dll"

I have been looking around the MinGW website all day
and could not find any more hint than this (found in
SourceForge). It seems to me that the new EXE files
(compiled with the new compiler under new
configurations) will depend on this file
(libstdc++.dll) by default.

Although I have not yet checked the licensing of this
file, this "feature" seems to be a "problem" to me. I
want my EXE to be independent of any .DLL (except the
MS runtime DLLs, which we can't avoid unless we want
to make the EXE giant). Isn't this the "spirit" of the
MinGW from the beginning (at least so in my
understanding)?

Could you explain why this new "feature" is made
default? Also, how to remove the dependency of
libstdc++.dll for the produced EXE's?

Thanks,
Wirawan

Discussion

  • Earnie Boyd
    Earnie Boyd
    2001-06-16

    • assigned_to: nobody --> dannysmith
    • status: open --> closed
     
  • Earnie Boyd
    Earnie Boyd
    2001-06-16

    Logged In: YES
    user_id=15438

    The MinGW-1.0 snapshot release has removed the dll shared libraries. All of the GCC runtime support
    beyond what is already supplied on your computer is now not required.