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

Jonas Maebe jonas.maebe at elis.ugent.be
Wed Mar 16 15:23:55 CET 2016


ulrich wrote:
> 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

Don't do this in a Cygwin shell, and remove any Cygwin shells/utilities 
from your path before using the FPC/Lazarus makefiles.


Jonas



More information about the fpc-pascal mailing list