[Lazarus] How to crosscompile from linux to wince?
FreeMan
freeman35 at delphiturkiye.com
Thu Aug 28 12:31:09 CEST 2014
Thank you for important hint add last char "-"
> Isn't there a precompiled package available for Ubuntu?
I'm using Kubuntu(kde)
I found in repository "gcc-arm-none-eabi" GCC cross compiler for ARM
Cortex-A/R/M processors
"binutils-arm-none-eabi"
I installed this packets, under /user folder created "arm-linux-gnueabi"
and "arm-linux-gnueabihf". "as" & "ld" application under
"/user/arm-xxxxxx/bin/" folder. each one.
execute this command
make clean all install INSTALL_PREFIX=/opt/freepascal/2.7.1
OS_TARGET=wince CPU_TARGET=arm BINUTILSPREFIX=arm-linux-gnueabihf-
error is:
/bin/mkdir -p arm/units/arm-wince
/opt/freepascal/2.7.1/compiler/ppcrossarm -Twince -Parm
-XParm-linux-gnueabihf- -Xr -Ur -Xs -O2 -n -Fuarm -Fusystems
-Fu/opt/freepascal/2.7.1/rtl/units/arm-wince -Fiarm -FE.
-FUarm/units/arm-wince -dRELEASE -darm -dGDB -dBROWSERLOG -Sew -darm
-dGDB -dBROWSERLOG -Sew pp.pas
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/pp.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
/opt/freepascal/2.7.1/rtl/units/arm-wince/system.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
/opt/freepascal/2.7.1/rtl/units/arm-wince/fpintres.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
/opt/freepascal/2.7.1/rtl/units/arm-wince/objpas.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/globals.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/compiler.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
/opt/freepascal/2.7.1/rtl/units/arm-wince/windows.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
/opt/freepascal/2.7.1/rtl/units/arm-wince/sysutils.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/cutils.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/cclasses.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/cfileutl.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/cpuinfo.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/globtype.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/version.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/systems.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
/opt/freepascal/2.7.1/rtl/units/arm-wince/dos.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
/opt/freepascal/2.7.1/rtl/units/arm-wince/sysconst.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/constexp.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/cstreams.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/comphook.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/finput.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
/opt/freepascal/2.7.1/rtl/units/arm-wince/math.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/verbose.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/options.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/fmodule.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/parser.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/symtable.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/assemble.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/link.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/dbgbase.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/import.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/export.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/tokens.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/pass_1.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/wpobase.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/wpo.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/cpupara.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/cpupi.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/cgcpu.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/cmsgs.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/switches.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/ogbase.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/symbase.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/symconst.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/symsym.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/symcpu.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/aasmbase.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/aasmtai.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/aasmdata.o
pp.pas(238,36) Error: Illegal COFF Magic while reading
arm/units/arm-wince/owbase.o
pp.pas(238,36) Fatal: There were 50 errors compiling module, stopping
Fatal: Compilation aborted
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20140828/b9c0d18b/attachment-0003.html>
More information about the Lazarus
mailing list