Split DWARF is not used by TwineCompile

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

Split DWARF is not used by TwineCompile

Post by TKrauss » Wed Aug 11, 2021 6:05 am

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: 2077
Joined: Wed Oct 08, 2008 12:23 am

Re: Split DWARF is not used by TwineCompile

Post by jomitech » Thu Aug 12, 2021 9:53 am

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