Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why does wxDev-C++ take a long time to compile, and the binaries produced so large?

0
Posted

Why does wxDev-C++ take a long time to compile, and the binaries produced so large?

0

We use the MingW compiler that comes with Dev-C++. As MingW tries to emit code that will work on many platforms, it tends to be slow at compiling programs. Large binaries are produced because of static linkage with libstdc++ (which is said to be bulky) and wxWidgets, as well as emitting code for multiple platforms. Dynamic linkage to wxWidgets can be done if desired (see the tutorial on building your own wxWidgets library), and switching to STLport is advised if you need to reduce the binary size. Tony is working on letting users dynamically switch between MingW and Microsoft VC++ compiler (and possibly other compilers) which may help with both issues. Have a look at their alpha.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.