Forum > Windows (32/64)

Cross compile for arm on Windows 7 64 bits

(1/2) > >>

Sann-X!:
Hi,

I want develope and build arm-based (orange pi) project on Windows. I used fpcup by this tutorial. But no luck. Last strings in log:

--- Quote ---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.
--- End quote ---
How to fix it?

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

Sann-X!:
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?

DonAlfredo:
Set linux and arm as project targets !
See included screenshot.

Sann-X!:
I seted os and cpu but after click OK in Project options I get error

Navigation

[0] Message Index

[#] Next page

Go to full version