Re: LexerEuphoria.dll

new topic     » goto parent     » topic index » view thread      » older message » newer message
petelomax said...

Not that it bothers me but I've now lost the ability to build 32-bit dlls... Guess I can uninstall TDM the next time I need to.

Check out the TDM-GCC: Quirks page. You can build 32-bit DLLs with TDM-GCC-64 by simply using the "-m32" flag.

petelomax said...

The vanilla mingw 32 bit dll weighed in at 122K, whereas the 64-bit TDM one is 2.5M - I guess I'll live but a 20-fold increase seems a bit excessive.

That's a known issue with GCC and 64-bit builds. Here's a thread about it: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43601

Here are a few things you can try to get the size down:

  • Add the -Os "Optimize for size" option to CXXFLAGS option in Makefile
  • Use strip to remove unnecessary symbols
  • Use upx to compress the executable data

-Greg

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu