Lazarus
Installation => Windows (32/64) => Topic started by: Sann-X! on August 22, 2018, 11:41:08 am
-
Hi,
I want develope and build arm-based (orange pi) project on Windows. I used fpcup by this tutorial (http://wiki.lazarus.freepascal.org/fpcup#Linux_ARM_cross_compiler). But no luck. Last strings in log:
fpclazup: info: FPCCrossInstaller (BuildModule: FPC): Building module FPC...
fpclazup: info: FPCCrossInstaller (BuildModule: FPC): We have a FPC source (@ C:\development\fpctrunk) with version: 3.3.1
fpclazup: ERROR: TAny_linux-arm: searched but did not find any binary utilities !!
fpclazup: ERROR: Failed to get crossbinutils
fpclazup: info: TAny_linux-arm: found correct library in directory C:\development\cross\lib\arm-linux
Fpclazup failed.
Please check log for details. Possible troubleshooting steps:
First action :
Run fpcup again with --verbose and check for make, lazbuild errors etc.
Run fpcup again also in case of incomple download due to SVN errors.
If that does not work ... last resort action :
Remove all files from install-directory, and try again
fpclazup: info: 22.08.2018 8:47:36: fpcup finished.
How to fix it?
-
If you can, please use fpcupdeluxe ! Its the GUI-version of fpcup. And it gets more often updated !
However, I will update fpcup one of these days.
https://github.com/newpascal/fpcupdeluxe/releases/latest
http://forum.lazarus.freepascal.org/index.php/topic,34645.0.html
-
Thanks. I did this:
1) setup stable FPC and Lazarus with fpcupdelux on my Windows 7 machine
2) install cross-compiler cpu=arm and os=linux
All steps was success.
But now how I can build arm-project in Lazarus?
-
Set linux and arm as project targets !
See included screenshot.
-
I seted os and cpu but after click OK in Project options I get error (http://prntscr.com/klljaf)
-
I'm wrong. I started Lazarus created by fpcup. But if I start Lazarus created by fpcupdeluxe all is OK.
-
Good !
In the meantime, I have updated fpc[laz]up.
https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/releases/latest
Have fun.