Hi. I'd like to use C::B as the IDE to Pascal... yes, I want compile my programs with FPC. I hope it is possible to configure codeblocks to make it easier.
I added pascal syntax to Editor with no problems. My problem appears when I want to compile an example program - the FPC syntax is a bit different than GCC and very simplier, something like that - I've got my program in 'hello.pas' file, now type in console just "fpc hello" or "fpc hello.pas" and if no errors, I'm able to launch 'hello.exe'. When typing "fpc hello.pas -o hello.exe", the '-o' is an incorrect option.
Ok, my questions are:
1. How to cause Code::Blocks to compile .pas files with FPC (and to compile it ever; now, although all paths are set correctly, when pressed F9 I see only "nothing to be done"; but if extension of the file is e.g. *.cpp, fpc is ran) ?
2. How to modify the compiler's command line in IDE? When compilinkg, I want "fpc hello.pas" against "fpc hello.pas -o hello.pas".
Thanks in advice for help.