[lazarus] Developer howto-0.91 up to date?

Marc Weustink Marc.Weustink at cuperus.nl
Fri Mar 31 03:57:46 EST 2000


+ From: Jarto Tarpio [mailto:jarto at starsoft.fi]

+ > At 20:31 30-03-2000 +0200, Florian Klaempfl wrote:
+ > Make sure your /opt/fpc/units (or if you copied them to
+ > /opt/fpc/units/  linux) is in your units path
+
+ The Howto doesn't mention a units path. It only mentions putting
+ /opt/fpc in $path and setting FPCDIR. Could you tell me what other
+ paths or settings are needed or where they are documented?

The following is something that works for me, I guess you can get something
workable out of that.

Marc

---- /etc/ppc386.cfg -----------------
-Xs
-Sgci
-vwni
-P
-Op1
-Fu/usr/src/fpc/units
-Fu/usr/src/fpc/fcl/linux
-Fu/usr/src/fpc/packages/gtk
-Fu/usr/src/fpc/lazarus/lcl
-Fu/usr/src/fpc/lazarus/lcl/interfaces/gtk
-Fu/usr/src/fpc/lazarus/components/mwedit

--------------------------------------
---- ./build_compiler ----------------
#!/bin/sh
DATE_EXT=`/bin/date '+.%Y.%m.%d'`

mv ./makefile.fpc ./makefile.fpc.ok
cp ./base/makefile.fpc .
mv ./Makefile ./Makefile.ok
cp ./base/Makefile .

#rm -f ./units/linux/*

pushd ./compiler

if { make cycle } then
    mv ppc386 ../ppc386$DATE_EXT
    rm ppc[123]
    cd ../rtl/linux
#    cp *.o *.ppu ../../units/linux
    popd
    rm ppc386
    ln -s ppc386$DATE_EXT ppc386
else
    popd
fi
--------------------------------------
---- ./build_lazarus -----------------
#!/bin/sh

echo '--> rtl <------------'
pushd ./rtl
make clean
make
popd
rm ./units/*.o ./units/*.ppu
cp ./rtl/linux/*.o ./units
cp ./rtl/linux/*.ppu ./units
echo '--> fcl <------------'
pushd ./fcl
make clean
make
popd
echo '--> gtk <------------'
pushd ./packages/gtk
make clean
make
popd
echo '--> lazarus <------------'
pushd ./lazarus
make clean
make
popd
--------------------------------------








More information about the Lazarus mailing list