I am building a lot of auto-generated code, including one particularly large file (~15K lines), using a mingw32 cross compiler on linux. Most files are extremely quick, but thi
What slows g++ down in general are templates. For example Boost loves to use them. This means nice code, great performances but poor compiling speed.
On the other hand, 15min seems extremely long. After a quick googling, it seems that it is a common problem with mingw