From: "Michael Van Canneyt" <[EMAIL PROTECTED]>
> > Normally, the 'fpc' binary can choose the correct compiler name based > > on
> > target OS and CPU setting. That is what it is for in the first place.
>
> I do not see in fpc source that it can run crosscompiler. It only run > native
> compiler.

Then it must be corrected;
The function of 'fpc' is to call the correct compiler based on the CPU/OS
target settings.

Yes.

Let discuss other things.

In Windows installation fpc.exe is located in pp\bin\i386-win32
I suppose ppcrossarm.exe and cross binutils need to be located here too.
Cross binutils will be prefixed (e.g. arm-wince-as.exe)
Lazarus should setup crossbinutils prefix using -XP compiler option (it will look like -XParm-wince- for arm-wince target).

Also there should be an option to setup a debugger for each target. There is gdb which allows to remotely debug wince applications from win32 host.

Yury Sidorov.

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to