Hi Greg! I can attempt tp answer your question about -fno-keep-inline-dllexport.
On Tue, Dec 9, 2014 at 1:29 AM, Greg Jung <[email protected]> wrote: > Hi John, > If you would indulge my questions, I am intrigued by the advice re: > "-fno-keep-inline-dllexport" flag > because it mentions wxWidgets which I am trying to incorporate into an > already-large program. > Do you know what problem it addresses, is it needed to unclutter a > namespace? I've used -fno-keep-inline-dllexport when building Qt with mingw-w64. The issue was that I would run out of memory when linking QtGui.dll (or maybe QtCore.dll or maybe both). The link process would use in excess of 3 GB. Running the build with -fno-keep-inline-dllexport made in possible for me to build Qt on a 4 GB machine. Linking the dll was still memory intensive, but less. I think when using -fno-keep-inline-dllexport the linking step took 2+ GB of memory. >From John's comment I assume something similar is going on with wxWidgets. Good luck. K. Frank > ... > On Mon, Dec 8, 2014 at 7:41 PM, John E. / TDM <[email protected]> wrote: >> >> Greetings! >> >> === TDM-GCC 4.9.2 is now available! === >> ... >> * Remember to use the "-fno-keep-inline-dllexport" flag to fix memory >> usage problems when linking DLLs with a large number of inline functions >> (such as wxWidgets). >> ... >> Cheers, >> John E. / TDM ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
