Split DWARF is not used by TwineCompile

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

Split DWARF is not used by TwineCompile

Post by TKrauss »

Hi,

I installed Version 5.2.3.319 out of GetIt inside C++Builder 10.4.2.

But the setting Split DWARF isn't executed by TC, so there is no DWO-file generated.
With msbuild all works fine.

I looked at my Targets-file and there are the lines of objcopy and SplitDWARF. So why are the files not generated by TC?

Best regards
Thorsten
jomitech
Site Admin
Posts: 2153
Joined: Wed Oct 08, 2008 12:23 am

Re: Split DWARF is not used by TwineCompile

Post by jomitech »

I'm assuming that you're using the 64-bit compiler, correct? Split DWARF is only available there.

Can you open the TCTargets104.targets file, locate the <OBJCOPY command, and put the following line just above it (below the existing <Message>):

Code: Select all

<Message Text="OBJCOPY Condition $(USING_CLANG) And '$(BCC_UseSplitDWARF)'=='true' And '@(BCC_ObjFiles)'!='' And '$(TC_HasFiles)'=='True' And '$(TCCompiledFileCount)'!='0'" />
Then run a build and see what that message emits into the Console Output.
Jon
Post Reply