Now 2.4.0 was introduced to sid, does someone have time to try bootstrapping
again?
ok lets have a go, one complication is that it seems the debian fpc
package regenerates the makefiles so we need an up to date version of
fpcmake. We get this by building a plain upstream freepascal 2.4.0 first
(unfortunately the most recent arm linux binary distributed by upstream
is 2.2.2) before starting on the debian package.
(note: as before the instructions below should be equivilent to what I
did but blind alleys and other screwups have been cleaned up)
wget
ftp://ftp.freepascal.org/pub/fpc/dist/arm-linux-2.2.2/fpc-2.2.2.arm-linux.tar
tar -xf fpc-2.2.2.arm-linux.tar binary.arm-linux.tar
tar -xf binary.arm-linux.tar base.arm-linux.tar.gz
tar -zxf base.arm-linux.tar.gz lib/fpc/2.2.2/ppcarm
mv lib/fpc/2.2.2/ppcarm .
tar -zxf base.arm-linux.tar.gz bin/fpc
mv bin/fpc .
apt-get source -b fpc
<install all missing build-depends except those with a fp- prefix>
export PATH=$PATH:$PWD
tar -xf binary.arm-linux.tar utils.arm-linux.tar.gz
tar -zxf utils.arm-linux.tar.gz bin/fpcmake
mv bin/fpcmake .
mkdir upstream
cd upstream/
wget ftp://ftp.freepascal.org/pub/fpc/dist/2.4.0/source/fpc-2.4.0.source.tar.gz
tar -zxf fpc-2.4.0.source.tar.gz
cd fpc-2.4.0
make all 'OPT=-dFPC_ARMEL -CfSOFT'
cd ../..
cp upstream/fpc-2.4.0/compiler/ppcarm .
cp upstream/fpc-2.4.0/utils/fpcm/fpcmake .
cd fpc-2.4.0
<apply attached patch (note: as before this patch is only suitable for armel, a
generalised version will be made once I have a succesfull build)>
dpkg-buildpackage -B -d
AND IT BUILT SUCCESSFULLY!
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]