Friday 3 September 2010

CB Compiler speed up and Total Commander as Horisontal Diff Tool

Today's post is about application of some tools.

First one is patching of Borland C++ Builder 6 with Andreas Hausladen's C++ Compiler Enhancements. Andreas has various patches and fixes for Borland, Codegear and Embarcadero products on his personal page. This particular one speeds up compilation of C++ projects by the direct call of the compiler with appropriate arguments. Original call to the compiler that the IDE makes for some reason takes much longer than the direct call to bcc32 from command line. Patching forces IDE to use the direct call. In addition this patch makes it easier to make use of precompiled headers, which can speed up compilation even further.
So it's definately recomended to install this patch.
Older versions (5 and 6) of BCB are not officially supporthed, though it's still possible to patch these IDEs. As I understand there's just no more guarantee that everything will go fine with BCB 5 and 6.
Btw another option to speed up compilation is to use RAM-disks, as suggests Kudzu. I have not tried it by myself, but hope to put my hands on it and cover results here.

Anoter useful applience is using of Total Commander to compare files in the horisontal split view.
When faced the need to compare two files with long lines, I started to search the web for diff tool that offered horisontal split. In fact I searched for some free tool. To my surprise according to Wiki there were only a few such tools. Namely:
  • ExamDiff Pro (shareware)
  • jEdit (java editor)
  • Ediff (part of emacs)
  • and... Total Commander (not free but an already licensed one)
It took only half a minute to find Comparison command in TC's menu, to select files and to switch to the horisontal view. Yet another appliance of the great file manager.

No comments:

Post a Comment