Static libraries

TwineCompile - Cut C++Builder compile times by up to 50x!
TKrauss
Posts: 97
Joined: Thu Jul 21, 2011 8:22 am

Static libraries

Post by TKrauss »

Since XE2 there is an extra compilation of all units for static libraries.

This compilation doesn't use TwineCompile bcc32 is executed there. Is there any possibility to compile the "static compilation" with TwineCompile?

We use the version 3.3.1 under XP!
jomitech
Site Admin
Posts: 2153
Joined: Wed Oct 08, 2008 12:23 am

Re: Static libraries

Post by jomitech »

Is this extra compilation part of the normal Make or Build, or is it a separate command?
Jon
TKrauss
Posts: 97
Joined: Thu Jul 21, 2011 8:22 am

Re: Static libraries

Post by TKrauss »

This happens if I activate the option: "Generate static package library" under "C++ Linker"!
jomitech
Site Admin
Posts: 2153
Joined: Wed Oct 08, 2008 12:23 am

Re: Static libraries

Post by jomitech »

Thanks, I'll investigate this and see why TC isn't handling this step.
Jon
TKrauss
Posts: 97
Joined: Thu Jul 21, 2011 8:22 am

Re: Static libraries

Post by TKrauss »

Are there any news to tell?
jomitech
Site Admin
Posts: 2153
Joined: Wed Oct 08, 2008 12:23 am

Re: Static libraries

Post by jomitech »

Can you build the package and provide the entire contents of the TwineCompile Console Output? In my tests the static library was correctly handled via TwineCompile.
Jon
TKrauss
Posts: 97
Joined: Thu Jul 21, 2011 8:22 am

Re: Static libraries

Post by TKrauss »

Sorry for the late response.

As you can see in the log-attachment not mtbcc32 is startet for compilation in static execution.

There is bcc32 used for compilation which is very slow!
Attachments
TwineCompile_StaticLog.zip
(940 Bytes) Downloaded 1985 times
jomitech
Site Admin
Posts: 2153
Joined: Wed Oct 08, 2008 12:23 am

Re: Static libraries

Post by jomitech »

Was that the entire contents of the Console Log or just the tail?
Jon
TKrauss
Posts: 97
Joined: Thu Jul 21, 2011 8:22 am

Re: Static libraries

Post by TKrauss »

That was just the tail.

At first compilation (the one which creates the "dynamic" objects use mtbcc32) only the second (the static objects) is not using mtbcc32.exe it uses bcc32.exe instead.
jomitech
Site Admin
Posts: 2153
Joined: Wed Oct 08, 2008 12:23 am

Re: Static libraries

Post by jomitech »

Can you provide the entire log? You can send it to support at jomitech dot com.
Jon
Post Reply