[lazarus] Compiling

Florian Klaempfl Florian.Klaempfl at gmx.de
Tue Mar 28 14:20:33 EST 2000


Kevin Berry schrieb:
> 
> I change to the /opt/fpc/lazarus/components/mweditbeta
> folder and type 'make' and I get the following
> responses
> 
> make -C /opt/fpc/fcl/linux all
> make[1]: Entering directory `/opt/fpc/fcl/linux'
> ppc386 -S2 -Fu/opt/fpc/rtl/linux
> -Fu/opt/fpc/units/linux -Fi../inc -FE. -di386
> classes.pp
> syslinux.pp(34,2) Fatal: Can't open include file
> systemh.inc
> make[1]: Leaving directory `/opt/fpc/fcl/linux'

> 
> I then try and compile a simple hello.pp file that I
> wrote.  I place the file in ~/projects/testing/hello/.
>  I use the command 'ppc386 hello.pp' - also complains
> about systemh.inc missing.  I use the command 'ppc386
> -vt hello.pp' and the output I get is the following:
> 
> Compiler: /opt/fpc/ppc386
> Using executable path: /opt/fpc/
> Using unit path: /opt/fpc/rtl/linux/
> Using unit path: /opt/fpc/
> Using library path: /lib/
> Using library path: /usr/lib/
> Using library path: /usr/X11R6/lib/
> Using library path: /opt/fpc/rtl/linux/
> Using library path: /opt/fpc/
> Using object path: /opt/fpc/rtl/linux/
> Using object path: /opt/fpc/
> Unitsearch: syslinux.ppu
> Unitsearch: syslinux.pp
> Unitsearch: syslinux.pas
> Unitsearch: /opt/fpc/rtl/linux/syslinux.ppu
> Unitsearch: /opt/fpc/rtl/linux/syslinux.pp
> syslinux.pp(34,2) Fatal: Can't open include file
> systemh.inc

Did you also an update of the rtl and compiler? Then you need to
recompile the rtl and compiler as well with make cycle, further
you've to adapt your ppc386.cfg to find these new rtl and compiler.







More information about the Lazarus mailing list