Zitat von Juha Manninen <[email protected]>:

I am experimenting more...
How to set Lazarus to use the svn devel version of FPC compiler?

I copied FPC from svn and built it with "make all".
Programmer's guide doesn't really tell to run "make all" but that created
compilers ppc1, ppc2, ppc3 and ppc386  anyway.

"fpc/" is the dir where I downloaded the svn version. I tried to set in
Lazarus:
Compiler path: fpc/compiler/ppc386
FPC source directory: fpc/

It gives an error:

The project uses target OS=linux and CPU=i386.
The system.ppu for this target was not found in the FPC binary directories.
Make sure fpc is installed correctly for this target and the fpc.cfg contains
the right directories.


Is it documented somewhere how to configure this?

You have to install fpc.
There are many ways to install fpc.

Normally it is easier to build a debian or rpm package and install that. this way all files are installed at the normal places, so everyone can help you and you can uninstall/upgrade easily. There are scripts to create debian/ubuntu/fedora/redhat packages for this in lazarus/tools/install.

If you feel venturous you can install fpc manually:

Building:
make clean all
Installing:
sudo make install INSTALL_PREFIX=/usr

This will put all files into the right directories. Maybe you have to use samplecfg to create a /etc/fpc.cfg. Beware: if you are doing something wrong, you might install files at the wrong places and you will get strange errors.


Mattias



--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to