Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: funa on August 16, 2008, 10:23:43 pm

Title: Integration of non-C++ console compiler
Post by: funa 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
Title: Re: Integration of non-C++ console compiler
Post by: killerbot 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.