tdm-gcc
tdm-gcc copied to clipboard
DLL debug build with too many symbols
Hello @jmeubank,
yesterday I tried to compile ProjectChrono with TDM-GCC 9.2.0 (x86) and succeeded with some minor adaptions (changing VCC-specific code, etc.). However, I experienced crashes in collision-related simulations, therefore I wanted a debug build of this library. Now comes the interesting thing: suddenly the linker fails while complaining about "error: export ordinal too large: 125663".
How is it possible that the created code results in that many symbols? Is there a compiler option to reduce this number? (Probably -Og?) BTW: the archive, which is input to the linker, has about 1.3 GB compared to 41 MB in release mode.