Search code examples
c++eclipserefactoringc++builderborland-c++

How to set compiler in eclipse to use borland C++ Builder 3?


I know this is a pretty strange question, but I have new project that I have to refactor a code that was written long time ago using Borland C++ Builder version 3.0 It is almost impossible to refactor and use that IDE to keep track of refactoring. I am not sure if it possible but I want to see if I can use Eclipse and set the Eclipse to use Borland C++ Builder as the compiler.

Please let me know if there is any IDE that can help me. Also please do not give answers like, why using Borland C++ Builder or rewrite the code.

I will appreciate your help.

Thanks in advance!


Solution

  • C++Builder 3 did not support refactoring. That was added in C++Builder 2006 (but is very limited compared to the refactorings available to Delphi, which uses the same IDE).

    It is possible to configure Eclipse to invoke a custom C++ toolchain. C++Builder 3 has a command-line compiler, bcc32.exe, and a command-line linker, ilink32.exe.