[Lazarus] How to crosscompile from linux to wince?

Sven Barth pascaldragon at googlemail.com
Thu Aug 28 11:26:52 CEST 2014


Am 28.08.2014 11:20 schrieb "FreeMan" <freeman35 at delphiturkiye.com>:
>
> Thank you for your answer, I think you said this
>
> http://cegcc.sourceforge.net/about.html
> http://cegcc.sourceforge.net/
>
> I download binutils-2.24.tar.gz, make & install.

Isn't there a precompiled package available for Ubuntu?

> this is my command line for fpc:
> make clean all install INSTALL_PREFIX=/opt/freepascal/2.7.1
OS_TARGET=wince CPU_TARGET=arm BINUTILSPREFIX=arm-cegcc
>
> I get this eror:
> system.pp(1778) Error: Assembler arm-cegccas not found, switching to
external assembling
> system.pp(1778) Fatal: There were 1 errors compiling module, stopping
> Fatal: Compilation aborted

You must not forget the "-" at the end of "arm-cegcc-". It's a prefix
afterall and the compiler does not automatically add a "-" for you.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20140828/e556230c/attachment-0003.html>


More information about the Lazarus mailing list