A non-text attachment was scrubbed...
Name: not available
Type: text
Size: 887 bytes
Desc: not available
Url : http://localhost/pipermail/lazarus/attachments/20000330/9c4ffe69/attachment.ksh
Mailing lists / lazarus / 2000-03
Developer howto-0.91 up to date?
5 messages · 3 people ·
- JJarto Tarpio 2
- MMarc Weustink 2
- FFlorian Klaempfl 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Florian Klaempfl wrote 10 lines
Make sure your /opt/fpc/units (or if you copied them to /opt/fpc/units/ linux) is in your units path
> Now, I have /opt/fpc in my path and FPCDIR set. But when I go > to fcl and run make, I get: >
[SNIP}
Show quoted text 8 lines
To copy them to the units dir makes lazarus development a bit easier. That way you don't have to cycle the compiler if if you do a cvs update on all (ocf course you can do an update of lazarus alone)
Marc
A non-text attachment was scrubbed... Name: not available Type: text Size: 887 bytes…
Show quoted text 21 lines
I think they should be in /opt/fpc/rtl/linux, i.e. just checkout the compiler, i.e. the units generated from make cycle should be in in that directory, so the easiest way is to checkout to /opt/fpc/rtl and /opt/fpc/compiler
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?
/jarto
+ From: Jarto Tarpio
+ > 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
--------------------------------------
