Page 1 of 2

Static libraries

Posted: Tue Jul 03, 2012 1:58 am
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!

Re: Static libraries

Posted: Tue Jul 03, 2012 8:43 am
by jomitech
Is this extra compilation part of the normal Make or Build, or is it a separate command?

Re: Static libraries

Posted: Thu Jul 05, 2012 5:23 am
by TKrauss
This happens if I activate the option: "Generate static package library" under "C++ Linker"!

Re: Static libraries

Posted: Wed Jul 11, 2012 7:45 am
by jomitech
Thanks, I'll investigate this and see why TC isn't handling this step.

Re: Static libraries

Posted: Thu Jul 19, 2012 11:36 am
by TKrauss
Are there any news to tell?

Re: Static libraries

Posted: Thu Jul 26, 2012 11:37 pm
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.

Re: Static libraries

Posted: Sun Aug 05, 2012 3:47 pm
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!

Re: Static libraries

Posted: Tue Aug 07, 2012 8:31 am
by jomitech
Was that the entire contents of the Console Log or just the tail?

Re: Static libraries

Posted: Tue Aug 07, 2012 1:56 pm
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.

Re: Static libraries

Posted: Tue Aug 07, 2012 2:14 pm
by jomitech
Can you provide the entire log? You can send it to support at jomitech dot com.