[fpc-pascal] fpc.cfg - how to set it so it uses arm embedded as the default target
Jonas Maebe
jonas.maebe at elis.ugent.be
Tue May 20 15:29:37 CEST 2014
On 20 May 2014, at 15:19, Jonas Maebe wrote:
> On 20 May 2014, at 15:15, Justin Smyth wrote:
>
>> I've created this no change , when I run fpc I comes up trying to use
>> ppc386.exe
>
> try running fpc with the -va parameter, then it will tell you where it looks for configuration files, which one it uses and the options it parses. Best pipe the output through "more" or to a file, as it will be a lot of text.
Nevermind: it's the ppc*.exe that parses the configuration file, not fpc.exe. There is no configuration file specifically for fpc.exe. One alternative is to call ppcrossarm instead of fpc. Another is to create e.g. a .bat file that calls fpc -Parm. The rest of the options you can put in a configuration file (although in that case, you obviously can put them just as well in the .bat file).
Jonas
More information about the fpc-pascal
mailing list