Re: [fpc-pascal] crosscompiling problem (.a file)
On 20/03/16 09:05, ulrich wrote: Dne 18.3.2016 v 9:37 Jonas Maebe napsal(a): 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. Don't add the mingw directory to the PATH. The problem is that the "make" program prefers any mingw/cygwin shell in the PATH over cmd.exe, and the FPC makefiles only work with cmd.exe as a shell under Windows. Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] crosscompiling problem (.a file)
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@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] crosscompiling problem (.a file)
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. Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] crosscompiling problem (.a file)
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 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] crosscompiling problem (.a file)
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. Rumisek Don't do this in a Cygwin shell, and remove any Cygwin shells/utilities from your path before using the FPC/Lazarus makefiles. Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
[fpc-pascal] crosscompiling problem (.a file)
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 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal