Lazarus

Other Languages => Spanish => Topic started by: seliman on October 28, 2017, 03:55:50 pm

Title: Compilacion Cruzada a RaspBerry Pi
Post by: seliman on October 28, 2017, 03:55:50 pm
Hola amigos , hace ya un tiempo que quiero hacer compilacion cruzada a rpi y no encuentro un tuto bien explicado ...y que funcione , alguno de uds tiene experiencia en esto ??

Mil Gracias
Title: Re: Compilacion Cruzada a RaspBerry Pi
Post by: turrican on December 15, 2017, 12:06:33 pm
Es muuuy senzillo.

Yo lo que haría para facilitarte la vida es descargar lo siguiente :

https://github.com/newpascal/fpcupdeluxe/releases/tag/v1.6.0l

Este gestor de plataformas FPC + Lazarus te instalará todo lo necesario para compilar para el objetivo ARM + Linux.

Y sin ningún dolor de cabeza.
Title: Re: Compilacion Cruzada a RaspBerry Pi
Post by: Thaddy on December 15, 2017, 12:24:58 pm
It is not that easy. NewPascal is not supported on THIS forum. Although the core team reads this forum.

But the solution is easy: install the official release on your raspberry pi and compile natively. The Raspberry Pi is perfectly capable as a native platform.
See: https://www.freepascal.org/down/arm/linux-netherlands.var

Note there are two different files. If you have a RPi3 or second generation RPi2, choose the first one. (armv7a eabihf)
If you have a Raspberry Pi zero, a Raspberry Pi 1 or a first generation RP1 2 choose the second one.(armv6 eabihf)

BTW: The second one works on all Raspberry pies.
Title: Re: Compilacion Cruzada a RaspBerry Pi
Post by: turrican on December 15, 2017, 01:21:36 pm
NewPascal is not supported on THIS forum

Not at all... it is not NewPascal what I'm saying to download. Is fpcupdeluxe (It's a ToolSet manager.) You will download Lazarus and FPC TRUNK.
Title: Re: Compilacion Cruzada a RaspBerry Pi
Post by: Thaddy on December 15, 2017, 01:33:14 pm
Still, unless you need trunk, use the official distribution for the Raspberry Pi.
fpcdeluxe is very good and getting better all the time, but it still has some quirks. (Just to say I am NOT bashing fpcdeluxe) But there is an official, working and easy to install release version for FPC 3.0.4 Raspberry Pi.
Title: Re: Compilacion Cruzada a RaspBerry Pi
Post by: turrican on December 15, 2017, 01:34:10 pm
Still, unless you need trunk, use the official distribution for the Raspberry Pi.
fpcdeluxe is very good and getting better all the time, but it still has some quirks. (Just to say I am NOT bashing fpcdeluxe) But there is an official working and easy to install release for Raspberry Pi.

Thanks Thaddy your advices always are very useful.
TinyPortal © 2005-2018