[lazarus] Compiling

Marc Weustink Marc.Weustink at cuperus.nl
Tue Mar 28 03:21:44 EST 2000


+ From: Kevin Berry [mailto:kevinbe71 at yahoo.com]

+ I change to the /opt/fpc/lazarus/components/mweditbeta
+ folder and type 'make' and I get the following
+ responses

Most of the times when the compiler wants to rebuild the lib, I rebuild the
libs first like:

---- 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

----------------------------

make sure that the units dir is in your unitpath before the others. After
you've done this an the problem remains do a touch ./units/*.o ./units/*.ppu
(I haven't seen this for a while)

Marc






More information about the Lazarus mailing list