Lazarus

Installation => Linux => Topic started by: zogtrog on March 25, 2019, 01:20:51 am

Title: Lazarus 2 Raspbian
Post by: zogtrog on March 25, 2019, 01:20:51 am
Hi,
    I'm trying to install fpc 3.0.4 and lazarus 2.0.0 on on raspbian Stretch, on a raspberry pi 3B from source, but both installations are falling over.

fpc 3.0.4 is complaining that a file

libgdb.a is missing - has this file been remove in Stretch ?

Has anyone managed to do this yet ?

The latest version of lazarus compiles mostly okay, but then falls over when it tries to build the ide.

Thanks for any help in advance - Jack
Title: Re: Lazarus 2 Raspbian
Post by: Thausand on March 25, 2019, 02:11:30 am
fpc 3.0.4 is complaining that a file libgdb.a is missing - has this file been remove in Stretch ?
replace gdbmi

Quote
Has anyone managed to do this yet ?
yes  :)

Code: [Select]
pi@raspberrypi:/ $ fpc
Free Pascal Compiler version 3.0.4-r37149 [2019/03/13] for arm
Copyright (c) 1993-2017 by Florian Klaempfl and others

write help here: http://wiki.lazarus.freepascal.org/FPC_New_Features_Trunk#GDB.2FMI_support

no build make and NOGDBMI=1

i fpcdeluxe:  https://github.com/LongDirtyAnimAlf/fpcupdeluxe and download https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/download/1.6.2q/fpcupdeluxe-armv6hf-linux use X11
Title: Re: Lazarus 2 Raspbian
Post by: zogtrog on March 25, 2019, 06:58:48 pm
Thanks at least i know it possible now. I haven't managed to install fpc 3.0.4 yet on the pi3 b+.
May be if i can cross compile from a windows machine I can get it build Lazarus 2 on the pi.
Title: Re: Lazarus 2 Raspbian
Post by: af0815 on March 25, 2019, 09:20:47 pm
I build direct on RasPi 3B+with fpc 3.2 and Laz 2.0 and can crossbuild on Win10 to RasPi with the same Version. No Problem.

Both Versions are build with fpcupdeluxe.