RoutineOp / delphi-code-coverage

Automatically exported from code.google.com/p/delphi-code-coverage
0 stars 1 forks source link

Support for XE6 and 64-bit #54

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Could someone please build a version for XE6 (latest Delphi), 
including a 64-bit capable version?

The latter is important because a lot of cross-platform 32/64-bit code uses 
conditional defines to separate 32- and 64-bit specific branches. It's 
important to see that it all gets covered (currently cannot trace 
Win64-specific code paths).

Original issue reported on code.google.com by kristo...@xs4all.nl on 18 Jun 2014 at 1:25

GoogleCodeExporter commented 9 years ago
This should be categorized as "feature request" but I can't see how to change 
it.

Original comment by kristo...@xs4all.nl on 18 Jun 2014 at 1:27

GoogleCodeExporter commented 9 years ago

Original comment by e.kotlya...@gmail.com on 11 Jul 2014 at 6:39

GoogleCodeExporter commented 9 years ago
You can try latest source from magicmonty branch, it now compiles with XE6 and 
for 64 bit

Original comment by e.kotlya...@gmail.com on 11 Jul 2014 at 6:40

GoogleCodeExporter commented 9 years ago
Hi, thanks for the tip.
I checked out the magicmonty branch, adated SetupEnvironment.bat to target XE6:
....
IF EXIST "%DPF%\Embarcadero\Studio\14.0\bin\rsvars.bat" (
  ECHO Found Delphi XE6
  CALL "%DPF%\Embarcadero\Studio\14.0\bin\rsvars.bat"
) ELSE ....

This works, but when I then call build.bat, I end up with:
  CodeCoverage.dpr(45): error F1026: File not found: 'D:\Export\dcc\dcc_XE6x64_branch\CodeCoverage\FastMM4.dcu'  (see attached console dump).

Do I need to include a specific version of FastMM on the global Delphi search 
path? if so, which one? 

Also, I see a lot of 'override' notifications, would it be better to generate a 
new project for XE6 (new XE-specific .dpr/.dproj file)?

best regards,

Kristofer

Original comment by kristo...@xs4all.nl on 11 Jul 2014 at 8:03

Attachments:

GoogleCodeExporter commented 9 years ago
I've added new batch files for x64 compilation, also it should not now complain 
about FastMM. 
I'll try to check different Delphi version to see if it's not too hard to keep 
compatible with them.

Original comment by e.kotlya...@gmail.com on 12 Jul 2014 at 10:08

GoogleCodeExporter commented 9 years ago
This is done in v1.0 RC9

Original comment by e.kotlya...@gmail.com on 2 Sep 2014 at 3:59