Koenraad Lelong писал(а):I hope the picture will get through, but I made a small testapplication with
mseide, for arm-linux.
What I did :
-I downloaded fpcbuild 2.2.0 and unpacked it.
-hacked the Makefile in fpcsrc/packages/base to get libc compiled for
arm-linux
-crosscompiled fcp : make clean OS_TARGET=linux CPU_TARGET=arm NODOCS=1
singlezipinstall
-unpacked the arm-linux units in /usr/lib/fpc/2.2.0/units
-copied ppcrossarm from fpcsrc/compiler to /usr/lib/fpc/2.2.0 (why is this
not in the archive ?)
-symlinked ppcrossarm to /usr/bin/ppcrossarm
-copied the pascal files from msegui/lib/common/kernel/i386-linux to
msegui/lib/kernel/arm-linux
-made a script to compile my testapp, because some libraries of i386-linux
were found before the arm-linux ones.
-uploaded the app to the arm-board and started it, see the picture.