c++.wxwindows - Release build / dmc speed
- Bill Baxter (12/12) May 29 2007 I just did the bakefile editing and re-gen jig necessary for compiling
- Bill Baxter (10/19) May 29 2007 I timed the release-unicode build. 14 minutes 10 seconds, almost all
- Jan Knepper (19/43) Jun 01 2007 I am pretty sure that compile command line activates the optimizer and
I just did the bakefile editing and re-gen jig necessary for compiling wx 2.8.4 with dmc in release mode. Oh ... my ... goodness. Is it supposed to take *that* long? I killed my compile midstream numerous times because I thought it had gone into an infinite loop (as optlink sometimes does). The aui sample took at least 5 full minutes to compile & link. Is that normal? The default debug config took nowhere near that much time. Maybe a few seconds to link the aui sample. I've got dmc "8.42n" and optlink 8.00.1. on Win XP. --bb
May 29 2007
Bill Baxter wrote:I just did the bakefile editing and re-gen jig necessary for compiling wx 2.8.4 with dmc in release mode. Oh ... my ... goodness. Is it supposed to take *that* long? I killed my compile midstream numerous times because I thought it had gone into an infinite loop (as optlink sometimes does). The aui sample took at least 5 full minutes to compile & link. Is that normal?I timed the release-unicode build. 14 minutes 10 seconds, almost all spent on this compile command: C:\usr\pkg\wxWidgets\wxMSW-2.8.4\samples\aui>make -f makefile.dmc dmc -mn -c -cpp -odmc_mswu\auidemo_auidemo.obj -o -D_WIN32_WINNT=0x0400 -D__WXMSW__ -D_UNICODE -I.\..\..\lib\dmc_lib\mswu -I.\..\..\include -w- -I. -WA -I.\..\..\samples -DNOPCH -Ar -Ae .\auidemo.cpp Once past that the resource compile (rcc) and final link steps happen almost instantly. --bb
May 29 2007
I am pretty sure that compile command line activates the optimizer and yes, when the optimizer is activated things can take rather long and in the end you get rather small and fast code... ;-) Jan Bill Baxter wrote:Bill Baxter wrote:-- ManiaC++ Jan Knepper Smartsoft, LLC 88 Petersburg Road Petersburg, NJ 08270 U.S.A. www.smartsoft.us Phone : 609-628-4260 FAX : 609-628-1267 Y! : janknepper But as for me and my household, we shall use Mozilla... www.mozilla.org Get legal - Get OpenOffice.org www.openoffice.orgI just did the bakefile editing and re-gen jig necessary for compiling wx 2.8.4 with dmc in release mode. Oh ... my ... goodness. Is it supposed to take *that* long? I killed my compile midstream numerous times because I thought it had gone into an infinite loop (as optlink sometimes does). The aui sample took at least 5 full minutes to compile & link. Is that normal?I timed the release-unicode build. 14 minutes 10 seconds, almost all spent on this compile command: C:\usr\pkg\wxWidgets\wxMSW-2.8.4\samples\aui>make -f makefile.dmc dmc -mn -c -cpp -odmc_mswu\auidemo_auidemo.obj -o -D_WIN32_WINNT=0x0400 -D__WXMSW__ -D_UNICODE -I.\..\..\lib\dmc_lib\mswu -I.\..\..\include -w- -I. -WA -I.\..\..\samples -DNOPCH -Ar -Ae .\auidemo.cpp Once past that the resource compile (rcc) and final link steps happen almost instantly. --bb
Jun 01 2007