Re: [fpc-pascal] fpc.cfg - how to set it so it uses arm embedded as the default target

2014-05-20 Thread Justin Smyth
:30 PM To: 'FPC-Pascal users discussions' Subject: Re: [fpc-pascal] fpc.cfg - how to set it so it uses arm embedded as the default target I get [0.003] Macro defined: WIN32 [0.003] Macro defined: MSWINDOWS [0.003] Macro defined: WINDOWS [0.003] Macro defined: FPC_WINLIKEWIDESTR

Re: [fpc-pascal] fpc.cfg - how to set it so it uses arm embedded as the default target

2014-05-20 Thread Justin Smyth
: C:\LazarusExtras\fpc\2.6.4\Source\rtl\units\arm-embedded\ [0.022] Using unit path: .\ [0.022] Using library path: C:\LazarusExtras\fpc\2.6.4\compiler\arm\ [0.022] Using library path: C:\LazarusExtras\fpc\2.6.4\Source\rtl\units\arm-embedded\ [0.022] Using library path: .\ [0.022] Using object path: C:

Re: [fpc-pascal] fpc.cfg - how to set it so it uses arm embedded as the default target

2014-05-20 Thread Jonas Maebe
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, whic

Re: [fpc-pascal] fpc.cfg - how to set it so it uses arm embedded as the default target

2014-05-20 Thread Jonas Maebe
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 ou

[fpc-pascal] fpc.cfg - how to set it so it uses arm embedded as the default target

2014-05-20 Thread Justin Smyth
I've created this no change , when I run fpc I comes up trying to use ppc386.exe This is my path on my vm PATH=c:\users\sslvpn;C:\lazarusExtras\FPC\2.6.4\bin\arm-embedded;C:\LazarusE xtras\fpc\2.6.4\Source\rtl\units\arm-embedded;C:\LazarusExtras\fpc\2.6.4\Sou rce\rtl\embedded;C:\LazarusExtras\fp

Re: [fpc-pascal] fpc.cfg - how to set it so it uses arm embedded as the default target

2014-05-20 Thread Jonas Maebe
On 20 May 2014, at 14:32, Justin Smyth wrote: I’ve got fpc to compile in a dos box for Arm Embedded using this script fpc -Parm -Tembedded -WpLPC1343FBD48 -Cparmv7m myprogram.pp how do it get the above commands into fpc.cfg ? so I can just type fpc myprogram.pp On Windows, create a file

[fpc-pascal] fpc.cfg - how to set it so it uses arm embedded as the default target

2014-05-20 Thread Justin Smyth
Hi Folks I've got fpc to compile in a dos box for Arm Embedded using this script fpc -Parm -Tembedded -WpLPC1343FBD48 -Cparmv7m myprogram.pp how do it get the above commands into fpc.cfg ? so I can just type fpc myprogram.pp Kind Regards Justin