Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to configure a FPC-Ide?

56 views
Skip to first unread message

F. W.

unread,
Mar 17, 2022, 2:24:24 AM3/17/22
to
Excuse me, I am wrong here. But in other groups and with Google, I do
not find any answer since weeks.

I use FreePascal, namely Lazarus. This offers a Textmode IDE. But that
do not work on Raspi OS. I can start it, but I can not compile ("Unit
System not found"). A unit is a module like those #included in C.

I tried on a fresh Raspi OS installation:

=> sudo apt-get install fpc

On my Ubuntu it works without an configuration. On my Pis not. I can not
explain the differences.

What should I look for? Thanx!

FW

Theo

unread,
Mar 17, 2022, 6:07:37 AM3/17/22
to
There are various fp-units-* packages. Try installing them (all)?
fp-units-base and fp-units-rtl look like prime suspects.

(I'm looking from Ubuntu, but expect RaspiOS packages share the same names)

Theo

Vincent Coen

unread,
Mar 17, 2022, 12:20:16 PM3/17/22
to
Hello F!
You need to install all components from FPC such as src, doc and build along
with the Pi version fpc-3.2.2.arm-linux-raspberry-2.tar.

For Lazarus it look best to grab from the GIT code repo having installed GIT
onto your system first.

Lazarus is the frontend IDE Rapid applications development tool and libraries
for FPC available from :
https://sourceforge.net/p/lazarus/laz.git/ci/main/tree

You may well need to install other required components such as dev libraries
so
read the docs for both for installing.

Personally I would not recommend installing all this on a SD - it will be
painfully slow - heck its bad enough using a SSD or HDD.

Vincent

F. W.

unread,
Mar 21, 2022, 8:10:27 AM3/21/22
to
Am 17.03.2022 um 07:24 schrieb F. W.:

>
> What should I look for? Thanx!
>

In the IDE I went to Options/Directories/Unit Directory

and put

/usr/lib/arm-linux-gnueabihf/fpc/3.2.0/units/arm-linux/rtl/

in.

Then the program compiled and ran.

FW
0 new messages