[fpc-pascal] crosscompiling problem (.a file)

ulrich romrum at cbox.cz
Tue Mar 15 09:44:18 CET 2016


Hello,

I have installed Lazarus 1.6 (64-bit version) in the windows directory 
c:\lazarus16. I downloaded the source compiler in c:\lazarus16\FPC - 
missing subdirectories. In c:\lazarus16\fpc\3.0.0\bin\arm-linux I have 
compiled ARM-Linux binutils (downloaded from ftp).

In Ming32 I ran the following command:
$ pwd
/c/lazarus16/fpc/3.0.0

$ make crossinstall CPU_TARGET=arm OS_TARGET=linux 
CROSSBINDIR=/c/lazarus16/FPC/3.0.0/bin OPT=-dFPC_ARMEL 
INSTALL_PREFIX=/c/lazarus16/FPC FPC=/c/lazarus16/FPC/3.0.0/bin/X86_ 
64-win64/FPC.

The result is:
system.pp (620) Error: Can not create archive file: 
\c\lazarus16\fpc\3.0.0\RTL\units\x86_64-win64\libimpsystem.a

What am I doing wrong ?

Thank you for answer

Rumíšek




More information about the fpc-pascal mailing list