docs:eclipse:c_development

C++ Development

To compile with MinGW, without having to include the dll when delivering a binary, add the following flags to project properties –> C/C++ Build –> Settings –> Miscellaneous –> Linker flags

-static-libgcc -static-libstdc++

If you do not do this, the windows user will see an error dialog with “The program can't start because libgcc_s_dw2-1.dll is missing from your computer. Try reinstalling the program to fix this problem.”

  • docs/eclipse/c_development.txt
  • Last modified: 2013/03/12 17:15
  • by billh