I couldn't get the static linking to work, but I did find the DLLs from the linker errors that popped up when I tried to statically link it :grin: . All the dlls needed are in /usr/lib/gcc/x86_64-w64-mingw32/9.3-win32! I just didn't know where to look and it took to long to fd libstdc++-6.dll / on … Answer from zicklag on users.rust-lang.org
🌐
Rust Programming Language
users.rust-lang.org › help
Where do I Get libstdc++-6.dll? - help - The Rust Programming Language Forum
February 1, 2021 - I've just cross-compiled a Rust game from Linux for Windows and I'm trying to test it, but running it with wine or in a windows development VM runs into the problem that it can't find libstdc++-6.dll, and I have no idea …
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 360000902679-libstdc-6-dll-is-missing
libstdc++-6.dll is missing – IDEs Support (IntelliJ Platform) | JetBrains
I added target_link_libraries(your_target_name -static) to cmakelists.txt and now I no longer get the libstdc++-6.dll is missing error when running the .exe (windows 11 console program) but the console program starts up, prompts the first prompt and then dies - process disappears from Windows task manager.
Discussions

Systeme fault libstdc++-6.dll missing
I want to run a C++ project but I can't open it in the console. not in the Qt editor and not the exe either. I always get the error that libstdc++-6.dll was ... More on forum.qt.io
🌐 forum.qt.io
3
0
April 19, 2024
libstdc++-6.dll
Either your friend has to install gcc 6, or you have to compile with -static-libstdc++ On another note, do consider updating to a compiler from this decade. More on reddit.com
🌐 r/cpp_questions
24
8
October 25, 2022
Some questions about libc, libc++, libstdc++
What the difference between libc++ and libstdc++? libc++ is part of clang project and libstdc++ is part of GCC project. They are compatible for C++17 and older versions, but C++20 implementation is not ready, so they have differences in implemented features, we'll have to wait until they are done. How to determine which versions of these libs support specific standard version? For example which version of c++ standard does libstdc++-4.6 support? In their documentation, for example you can check what version GCC libstdc++ supports here: https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html Copy pasting libs may or may not work, depending on many things. It's best to just install standard library using package manager of your operating system. More on reddit.com
🌐 r/cpp_questions
7
12
September 18, 2020
c++ - What is libc++ and libstdc++ - Stack Overflow
I have a few questions: What is libc++ and libstdc++? What is the difference between them? Are they interchangeable? Is it something a compiler should implement? When should I use one or another? More on stackoverflow.com
🌐 stackoverflow.com
🌐
MIT
web.mit.edu › darwin › src › modules › gcc3 › libstdc++-v3 › docs › html › install.html
libstdc++-v3 Installation Instructions
You will need a recent version of g++ to compile the snapshot of libstdc++, such as one of the GCC 3.x snapshots (insert standard caveat about using snapshots rather than formal releases). You will need the full source distribution to whatever compiler release you are using.
🌐
Fix4Dll
fix4dll.com › libstdc6_dll
libstdc++-6.dll is missing? Download it for Windows 7, 8, 10, Xp, Vista, 32 or 64 bit - Fix4Dll.com
To fix errors related with .DLL file you need to download libstdc++-6.dll and copy it to the installation folder of the application or game, or copy it into the Windows system folder and it should fix the error.
🌐
DLLme
dllme.com › dll › files › libstdc_-6
libstdc++-6.dll : Free .DLL Download
Download and install libstdc++-6.dll to fix missing or corrupted dll errors.
Find elsewhere
🌐
Reddit
reddit.com › r/cpp_questions › libstdc++-6.dll
r/cpp_questions on Reddit: libstdc++-6.dll
October 25, 2022 -

I made a small programm, compiled it and sent it toy friends, who informed me of an error where libstdc++-6.dll was not found. How can i fix that?

Top answer
1 of 6
18
Honestly, if you're beginner: drop VS Code and the MinGW compiler. You'll end up spending hours and 10 of questions here on reddit trying to set it up. Just get Visual Studio Community If you want to use VSCode + MinGW you need to know: Linux (becuase MinGW GCC is a Linux program that was ported to Windows and it relies on a lot of things done the "Linux way", so you need to understand the "Linux way". The Linux way also means reading loads of technical documentation such as the official man pages of GCC. You need to understand how a compiler and linker works and how what command line arguments to use and how to pass them You need to know how a terminal/command prompt/console works - because that is how VSCode calls the compiler under the hood You need to understand how to configure VSCode + plugins which involves modifying several .json settings files and you need to know what settings you need to set and to what You need to know about static and dynamic libraries, how they are loaded at runtime and where they should be located and why they are needed. All if this is a lot of work in "unknown territtory" for a complete beginner. Most of this is comfortably bypassed by using Visual Studio. You can in most cases just press F5 and send the generated .exe file to your friends. If you want to use MinGW and VSCode I suggest that you start by writing your first programs in Notepad and compiling them using the Command Prompt to get an idea of what is involved in building a C++ program to an .exe file. Understanding this process will greatly help you solve all kinds of problems that beginners typically run into.
2 of 6
11
Either your friend has to install gcc 6, or you have to compile with -static-libstdc++ On another note, do consider updating to a compiler from this decade.
🌐
Reddit
reddit.com › r/cpp_questions › some questions about libc, libc++, libstdc++
r/cpp_questions on Reddit: Some questions about libc, libc++, libstdc++
September 18, 2020 -

Can someone elaborate on what are libc, libc++, libstdc++

  1. What the difference between libc++ and libstdc++? Why can't we just use one of them for all times?

  2. How to determine which versions of these libs support specific standard version? For example which version of c++ standard does libstdc++-4.6 support?

  3. Can i just "copy-paste" these libs into target OS to run my project if that OS lacks newer versions of these ones available in repositories?

    1. Can i just "copy-paste" all dependent `.so` files into target OS? What should i consider when "copy-pasting" libraries from my development workstation to user's one?

Top answer
1 of 2
4
What the difference between libc++ and libstdc++? libc++ is part of clang project and libstdc++ is part of GCC project. They are compatible for C++17 and older versions, but C++20 implementation is not ready, so they have differences in implemented features, we'll have to wait until they are done. How to determine which versions of these libs support specific standard version? For example which version of c++ standard does libstdc++-4.6 support? In their documentation, for example you can check what version GCC libstdc++ supports here: https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html Copy pasting libs may or may not work, depending on many things. It's best to just install standard library using package manager of your operating system.
2 of 2
1
(mine) 0. What are libc++ and libstdc++ They are compiler-specific implementations of the C++ standard library. libc++ is bundled with Clang and libstdc++ with GCC. On many unix platforms Clang works with libstdc++ by default for better ABI compatibility. 1. What the difference between libc++ and libstdc++? Why can't we just use one of them for all times? They are different implementations of the same library. Your code should not really care which one it is using, unless you also want to use compiler-specific extensions. 2. How to determine which versions of these libs support specific standard version? Not sure. Look into GCC and Clang documentation. 3. Can i just "copy-paste" these libs into target OS to run my project if that OS lacks newer versions of these ones available in repositories? Can i just "copy-paste" all dependent .so files into target OS? What should i consider when "copy-pasting" libraries from my development workstation to user's one? Generally, yes but you need to take care of few things: Your executable must be able to locate the library object. This might require to edit LD_LIBRARY_PATH or inject rpath information into the executable. Licensing concerns (???) - IIRC even majority of commercial uses are fine though It's possible to use static version of the standard library - then it's inside the executable. Whatever linking you are using, the target OS must support all dependencies of the standard library implementation. This will usually be dependent on supported syscalls which are the border between user-space and kerner-space.
🌐
DLL-files.com
dll-files.com › libstdc++-6.dll.html
libstdc++-6.dll free download | DLL‑files.com
Download libstdc++-6.dll free! Fix DLL missing error. Solve it yourself or get help using DLL‑files.com Client to fix DLL error automatically.
🌐
GNU
gcc.gnu.org › onlinedocs › libstdc++
The GNU C++ Library
This is the top level of the libstdc++ documentation set.
🌐
Windows Report
windowsreport.com › windows 11 › repair › libstdc++-6.dll not found: how to fix or download it again
Libstdc++-6.dll Not Found: How to Fix or Download It Again
April 1, 2024 - Software dependency issues: If a program or its dependencies are not correctly installed or configured, it can prevent other programs from finding the Libstdc++-6.dll file, as it is often a shared dependency.
🌐
DLL Factory
dllfactory.com › home › dll files › libstdc++-6.dll – free download & quick windows fixes
libstdc++-6.dll – Free Download & Quick Windows Fixes
March 15, 2025 - The presence of this DLL file supports various programming languages and frameworks, ensuring a broader range of software can operate seamlessly on Windows systems. Errors associated with libstdc++-6.dll can arise from various sources, such as system corruption or missing files.
🌐
IBM
ibm.com › docs › en › tip › 2.2.0
Setting the libstdc++ level for Linux systems - IBM Documentation
March 8, 2021 - The Deployment Engine component does not support libstdc++.so.6 or higher on Linux systems.
🌐
GitHub
github.com › wailsapp › wails › issues › 3532
Windows: libstdc++-6.dll was not found · Issue #3532 · wailsapp/wails
June 10, 2024 - "The code execution cannot proceed because libstdc++-6.dll was not found.
Author   wailsapp
🌐
Reddit
reddit.com › r/cpp_questions › libstdc++-6.dll was not found on windows 11
r/cpp_questions on Reddit: libstdc++-6.dll was not found on windows 11
October 9, 2024 - This is because you are using GCC (from MinGW-W64). Your program uses the C++ standard library from the MinGW-W64 project which is stored in a file libstdc++-6.dll.
🌐
OpenXcom
openxcom.org › forum › index.php
libstdc++6.dll
January 7, 2018 - libstdc++6.dll · Started by BenKirbyTennyson, January 07, 2018, 12:30:08 PM Previous topic - Next topic · Print · Go Down Pages1 · User actions · Print · Go Up Pages1 · User actions · OpenXcom Forum · OpenXcom · Troubleshooting · libstdc++6.dll · User actions ·