LongDirtyAnimAlf / Reiniero-fpcup

fpcup (and fpclazup) are installers for FPC (and Lazarus).
52 stars 10 forks source link

Instructions for installing cross-compilers #43

Closed MFernstrom closed 3 years ago

MFernstrom commented 3 years ago

I'm using this to install FPC/Laz on a non-gui Linux server (Jenkins build node) but would also like to install cross-compilers for Windows and macOS.

With the GUI installer it's as simple as specifying the target and installing, what are the commandline versions?

LongDirtyAnimAlf commented 3 years ago

Have a look here: https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/tree/master/scripts/windows

Its as simple as: fpcup.exe --ostarget="android" --cputarget="arm" --only="FPCCleanOnly,FPCBuildOnly"