Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2000-03

Developer howto-0.91 up to date?

5 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marc Weustink
to Jarto Tarpio
Florian Klaempfl wrote 10 lines
Jarto Tarpio schrieb: > > I tried compiling Lazarus to see if I could contribute > but can't get it compiled. I followed the developer howto > for Linux. > > First of all, the compiler cycled nicely when I first > realised that I had to copy the lib/blabal/units-dir also from > the released compiler to /opt/fpc/units. >

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
> > sysutils.o and sysutils.ppu are in opt/fpc/units/linux and they are up to date. 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

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

Reply by email

Florian Klaempfl
to Jarto Tarpio: A non-text attachment was scrubbed... Name: not available Type: text Size: 887 bytes…
Show quoted text 21 lines
I tried compiling Lazarus to see if I could contribute but can't get it compiled. I followed the developer howto for Linux. First of all, the compiler cycled nicely when I first realised that I had to copy the lib/blabal/units-dir also from the released compiler to /opt/fpc/units. Now, I have /opt/fpc in my path and FPCDIR set. But when I go to fcl and run make, I get: make -C linux all make[1]: Entering directory `/opt/fpc/fcl/linux' ppc386 -S2 -Fu/opt/fpc/rtl/linux -Fu/opt/fpc/packages/zlib -Fu/opt/fpc/packages/inet -Fu/opt/fpc/units/linux -Fi../inc -FE. -di386 classes.pp sysutils.pp(27,11) Fatal: Can't find unit SYSUTILS make[1]: *** [classes.ppu] Error 1 make[1]: Leaving directory `/opt/fpc/fcl/linux' make: *** [linux_all] Error 2 sysutils.o and sysutils.ppu are in opt/fpc/units/linux and they are up to date.

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

Reply by email

Jarto Tarpio
to Florian Klaempfl
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

Reply by email

Marc Weustink
to Jarto Tarpio

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

Reply by email