I think we need to allow the users to use their own compiler, and not just force them to use Free Pascal Compiler. We can have an option to specify the compiler (i.e. --compiler FOOBAR_COMPILER or --compiler PATH_TO_COMPILER). I think it's edgy to make Free Pascal as default compiler. The reason is, currently in FPConsole, no compiler argument is taken (except for -v0). What if the user wants to compile in Delphi mode or Object Pascal mode? Sure having compiler directive is a way, but we should provide full choices.
We can also have some kind of configuration file (e.g. fpconsole.conf) to configure things like this.
Hey.
I think we need to allow the users to use their own compiler, and not just force them to use Free Pascal Compiler. We can have an option to specify the compiler (i.e.
--compiler FOOBAR_COMPILER
or--compiler PATH_TO_COMPILER
). I think it's edgy to make Free Pascal as default compiler. The reason is, currently in FPConsole, no compiler argument is taken (except for-v0
). What if the user wants to compile in Delphi mode or Object Pascal mode? Sure having compiler directive is a way, but we should provide full choices.We can also have some kind of configuration file (e.g.
fpconsole.conf
) to configure things like this.