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

ulrich romrum at cbox.cz
Sun Mar 20 09:05:06 CET 2016


Dne 18.3.2016 v 9:37 Jonas Maebe napsal(a):
> ulrich wrote:
>> Dne 16.3.2016 v 15:23 Jonas Maebe napsal(a):
>>> 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
>>>
>> I have not installed the cygwin. Running a compilation from mingw
>> terminal.
>
> Try from a plain cmd.exe prompt instead then.

Thanks for your answers.

But when I added mingw directory to the PATH, I got the following result.

C:\lazarus16\fpc\3.0.0>make all OS_TARGET=linux CPU_TARGET=x86_64 
FPC=C:\lazarus16\fpc\3.0.0\bin\x86_64-win64\fpc.exe
/c/lazarus16/fpc/3.0.0/"c:/mingw/msys/1.0/bin/make.EXE" compiler_cycle 
RELEASE=1
/bin/sh: /c/lazarus16/fpc/3.0.0/c:/mingw/msys/1.0/bin/make.EXE: No such 
file or directory
make.EXE": *** [build-stamp.x86_64-linux] Error 127

Rumisek
>
>
> Jonas
> _______________________________________________
> fpc-pascal maillist  -
> fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>





More information about the fpc-pascal mailing list