Author Topic: Integration of non-C++ console compiler  (Read 4360 times)

funa

  • Guest
Integration of non-C++ console compiler
« on: August 16, 2008, 10:23:43 pm »
FAQ says "Code::Blocks philosophy is to be able to use any compiler on earth! Well, almost."
I wonder if it would be possible to integrate some non-C++ compiler.

If yes, can anybody please explain how to integrate e.g. Delphi console compiler dcc32.exe.
It needs just a few command line parameters.

In fact I would need brief info on:

-How to add support for Pascal language (syntax highlighting,...)
-How to add a new compiler

btw: can C::B parse compiler output and on compiler error position cursor where the error has occurred?

Many thanks.

Igor

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: Integration of non-C++ console compiler
« Reply #1 on: August 17, 2008, 09:10:15 am »
when you create your custom compiler you specify the toolchain. Compiler/linker/etc...
In the advanced options you crate regular expressions for compiler error/warning, by using those CB can interpret the output from every compiler.