Forum > Spanish

Compilacion Cruzada a RaspBerry Pi

(1/2) > >>

seliman:
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

turrican:
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.

Thaddy:
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.

turrican:

--- Quote from: Thaddy on December 15, 2017, 12:24:58 pm ---NewPascal is not supported on THIS forum

--- End quote ---

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.

Thaddy:
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.

Navigation

[0] Message Index

[#] Next page

Go to full version