Recent

Author Topic: Lazarus 2 Raspbian  (Read 2398 times)

zogtrog

  • New Member
  • *
  • Posts: 20
Lazarus 2 Raspbian
« 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

Thausand

  • Sr. Member
  • ****
  • Posts: 292
Re: Lazarus 2 Raspbian
« Reply #1 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

zogtrog

  • New Member
  • *
  • Posts: 20
Re: Lazarus 2 Raspbian
« Reply #2 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.

af0815

  • Hero Member
  • *****
  • Posts: 1288
Re: Lazarus 2 Raspbian
« Reply #3 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.
regards
Andreas

 

TinyPortal © 2005-2018