[Lazarus] Can't build fpc trunk x64 win32/64

leyba bronstain leobronstain at gmail.com
Mon Apr 20 22:56:48 CEST 2020


Hi guys. I need your help.

I try build trunk compiler x64 for windows. I was extract stable release 
fpc_x64 form lazarus-2.0.8-fpc-3.0.4-win64.exe installer and put it to 
separate folder fpc_stable_x64. Also I put into fpc_stable_x64 folder 
bingw64 folder and fixed the file fpc.cfg as follows:

--- code --
     # searchpath for tools
-FDD:\Archive\development\fpc_stable_x64/bin/$FPCTARGET

     # it's doesn't work!
     -FDD:\Archive\development\fpc_stable_x64/binw64/
--- code ---

Then I run the bat-file as follows:

--- code ---
     set FPC_source={<fpc trunk root directory path>}
     set FPC_binutils={<fpc trunk root directory path>}\bin\x86_64-win64
     set FPC_stable_binutils={fpc_stable_x64 root directory 
path}\bin\x86_64-win64

     :: so it works!
     set binw64_path={fpc_stable_x64 root directory path}/binw64
     set path=<bla-bla-bla>;%path%

     ...
     cd /d %FPC_source%
     make clean all install INSTALL_PREFIX=%FPC_source% 
PP=%FPC_stable_binutils%\ppcx64.exe DATA2INC=%FPC_source%\utils\data2inc.exe
     ...
--- code ---

During compilation I get an error:

--- code ---
     ...
d:/Archive/development/fpc_stable_x64/bin/x86_64-win64/mv.exe -f 
x86_64/bin/x86_64-win64/pp.exe ppcx64.exe
     make[5]: Leaving directory 
`d:/Archive/development/fpc_331_r44725_x64/compiler'
     make echotime
     make[5]: Entering directory 
`d:/Archive/development/fpc_331_r44725_x64/compiler'
     process_begin: CreateProcess((null), echo Start now 19:52:42, ...) 
failed.
     make (e=2): Не удается найти указанный файл. <english translation: 
The system cannot find the file specified>
     make[5]: *** [echotime] Error 2
     make[5]: Leaving directory 
`d:/Archive/development/fpc_331_r44725_x64/compiler'
     make[4]: *** [next] Error 2
     make[4]: Leaving directory 
`d:/Archive/development/fpc_331_r44725_x64/compiler'
     make[3]: *** [ppc1.exe] Error 2
     make[3]: Leaving directory 
`d:/Archive/development/fpc_331_r44725_x64/compiler'
     make[2]: *** [cycle] Error 2
     make[2]: Leaving directory 
`d:/Archive/development/fpc_331_r44725_x64/compiler'
     make[1]: *** [compiler_cycle] Error 2
     make[1]: Leaving directory `d:/Archive/development/fpc_331_r44725_x64'
     make: *** [build-stamp.x86_64-win64] Error 2
     ...
--- code ---


What am I doing wrong?  Can someone tell me a link to a detailed manual?

-- 

with best regards, Zoltanleo aka Док



More information about the lazarus mailing list