Recent

Author Topic: Issue of building fpc_trunk and lazarus_trunk x64 for Windows  (Read 2640 times)

zoltanleo

  • Sr. Member
  • ****
  • Posts: 283
Hi guys. I need your help.

I apologize in advance if a similar topic has already been discussed. Then I will just be grateful for the useful links.
Also I want to ask in advance not to offer me to use fpcupdeluxe, because I want to understand the essence of the problem.

I compile and build successfully trunk fpc_x86_x64 and lazarus_x86_x64 on Linux amd64.
Also I successfully build both trunk fpc_x32 and lazarus_x32 for Windows7_x64 via batch-file with the following contents:

Code: DOS  [Select][+][-]
  1. @echo on
  2. ::compile & build fpc_trunk x32
  3. @echo '------------- '
  4. make clean all install INSTALL_PREFIX=%<fpc_trunk_root_dir path>% PP=%<fpc_stable_304_x32 binutils path>\ppc386.exe DATA2INC=%<fpc_trunk_root_dir path>%\utils\data2inc.exe
  5.  
  6. cd /d %<fpc_trunk_root_dir path>%\bin\i386-win32
  7.  
  8. :: create fpc.cfg
  9. fpcmkcfg -d basepath=%<fpc_trunk_root_dir path>% -o .\fpc.cfg
  10.  
  11. :: compile & build lazarus_trunk
  12. @echo '------------- '
  13. cd /d %<lazarus_trunk_root_dir path>%
  14. make clean all
  15. make bigide

I have fpc_stable_304_x64 with binutils directory (i.g. here \<fpc_stable_304_x64 root dir>\bin\x86_64-win64) and sources directory(i.g. here \<fpc_stable_304_x64 root dir>\source).

How should I change the keys for compiler assembly to get fpc_trunk_x64 and lazarus_trunk_x64?
« Last Edit: April 16, 2020, 11:14:52 pm by zoltanleo »
Win10 LTSC x64/Deb 10 amd64/Darwin Cocoa:
Lazarus x32/x64 2.1(r.64129); FPC 3.3.1 (r.47400), FireBird 3.0.7

Sorry for my bad English, I'm using translator ;)

ASerge

  • Hero Member
  • *****
  • Posts: 1694
Re: Issue of building fpc_trunk and lazarus_trunk x64 for Windows
« Reply #1 on: April 16, 2020, 11:10:04 pm »
How should I change the keys for compiler assembly to get fpc_trunk_x64 and lazarus_trunk_x64?
This my bat file, it's work:
Code: DOS  [Select][+][-]
  1. @echo off
  2. set TrunkRoot={...}\lazarus64.trunc
  3. set path=%path%;{...}Apache-Subversion\bin
  4. set oldfpc={...}\fpc\3.0.4\bin\x86_64-win64
  5. rd %TrunkRoot% /s /q
  6. mkdir %TrunkRoot%
  7. mkdir %TrunkRoot%\fpc
  8. mkdir %TrunkRoot%\lazarus
  9. svn checkout https://svn.freepascal.org/svn/fpc/trunk %TrunkRoot%\fpc
  10. svn checkout https://svn.freepascal.org/svn/lazarus/trunk %TrunkRoot%\lazarus
  11. mkdir %TrunkRoot%\fpc\bin\x86_64-win64
  12. svn checkout http://svn.freepascal.org/svn/fpcbuild/trunk/install/binw64 %TrunkRoot%\fpc\bin\x86_64-win64
  13. set path=%oldfpc%;%path%
  14. cd /d %TrunkRoot%\fpc
  15. make distclean all install INSTALL_PREFIX=%TrunkRoot%\fpc PP=%oldfpc%\ppcx64.exe DATA2INC=%TrunkRoot%\fpc\utils\data2inc.exe
  16. cd /d %TrunkRoot%\fpc\bin\x86_64-win64
  17. fpcmkcfg -d basepath=%TrunkRoot%\fpc -o .\fpc.cfg
  18. set path=%TrunkRoot%\fpc\bin\x86_64-win64;%path%
  19. cd %TrunkRoot%\lazarus
  20. make clean all OPT="-glw2 -Xg"

zoltanleo

  • Sr. Member
  • ****
  • Posts: 283
Re: Issue of building fpc_trunk and lazarus_trunk x64 for Windows
« Reply #2 on: April 16, 2020, 11:24:21 pm »
Hi ASerge

Thank you for your reply. Please tell me what this line means:
Code: DOS  [Select][+][-]
  1. set path=%path%;{...}Apache-Subversion\bin
?
Win10 LTSC x64/Deb 10 amd64/Darwin Cocoa:
Lazarus x32/x64 2.1(r.64129); FPC 3.3.1 (r.47400), FireBird 3.0.7

Sorry for my bad English, I'm using translator ;)

asdf1337

  • New Member
  • *
  • Posts: 36
Re: Issue of building fpc_trunk and lazarus_trunk x64 for Windows
« Reply #3 on: April 16, 2020, 11:48:45 pm »
@zoltanleo
It is the path to the subversion executable for the svn commands.

@ASerge
Are you able to step into FPC and Lazarus units with this setup? Does it compile and install also all packages?
What is this data2inc.exe?

zoltanleo

  • Sr. Member
  • ****
  • Posts: 283
Re: Issue of building fpc_trunk and lazarus_trunk x64 for Windows
« Reply #4 on: April 17, 2020, 12:01:57 am »
@asdf1337
@ASerge

Thank a lot for help me. I'm going to sort things out and experiment.
Win10 LTSC x64/Deb 10 amd64/Darwin Cocoa:
Lazarus x32/x64 2.1(r.64129); FPC 3.3.1 (r.47400), FireBird 3.0.7

Sorry for my bad English, I'm using translator ;)

PascalDragon

  • Hero Member
  • *****
  • Posts: 2433
  • Compiler Developer
Re: Issue of building fpc_trunk and lazarus_trunk x64 for Windows
« Reply #5 on: April 17, 2020, 09:27:35 am »
Code: DOS  [Select][+][-]
  1. @echo on
  2. ::compile & build fpc_trunk x32
  3. @echo '------------- '
  4. make clean all install INSTALL_PREFIX=%<fpc_trunk_root_dir path>% PP=%<fpc_stable_304_x32 binutils path>\ppc386.exe DATA2INC=%<fpc_trunk_root_dir path>%\utils\data2inc.exe
  5.  
  6. cd /d %<fpc_trunk_root_dir path>%\bin\i386-win32
  7.  
  8. :: create fpc.cfg
  9. fpcmkcfg -d basepath=%<fpc_trunk_root_dir path>% -o .\fpc.cfg
  10.  
  11. :: compile & build lazarus_trunk
  12. @echo '------------- '
  13. cd /d %<lazarus_trunk_root_dir path>%
  14. make clean all
  15. make bigide

I have fpc_stable_304_x64 with binutils directory (i.g. here \<fpc_stable_304_x64 root dir>\bin\x86_64-win64) and sources directory(i.g. here \<fpc_stable_304_x64 root dir>\source).

How should I change the keys for compiler assembly to get fpc_trunk_x64 and lazarus_trunk_x64?

You should simply point PP in your make clean all install to the 3.0.4 ppcx64.exe. It will then install the compiler to <fpc_trunk_root_dir_path>\bin\x86_64-win64. You can now either move your trunk ppc386.exe to the x86_64-win64 directory or the other way round. This way you can use fpc -Pi386 and fpc -Px86_64 to select the correct platform (the fpc.exe is also located in the bin directory). Thus you only need to generate the configuration file once.

And maybe you'll need to tell the build command for Lazarus the correct platform: make clean all CPU_TARGET=x86_64. By the way: why do you build bigide after already having build all? (of course you then need to have your FPC directory either in PATH or you need to have set the compiler binary for Lazarus' make call like you did for building FPC.

By the way: you should point your DATA2INC to the release file, not the trunk file. In a initial checkout that file won't exist after all. ;)

zoltanleo

  • Sr. Member
  • ****
  • Posts: 283
Re: Issue of building fpc_trunk and lazarus_trunk x64 for Windows
« Reply #6 on: April 17, 2020, 08:01:05 pm »
HI PascalDragon.

Thanks for the valuable tips. I will definitely consider them in my research.
Win10 LTSC x64/Deb 10 amd64/Darwin Cocoa:
Lazarus x32/x64 2.1(r.64129); FPC 3.3.1 (r.47400), FireBird 3.0.7

Sorry for my bad English, I'm using translator ;)

zoltanleo

  • Sr. Member
  • ****
  • Posts: 283
Re: Issue of building fpc_trunk and lazarus_trunk x64 for Windows
« Reply #7 on: April 20, 2020, 07:51:50 pm »
I can't compile fpc_trunk x64. 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: DOS  [Select][+][-]
  1. # searchpath for tools
  2. -FDD:\Archive\development\fpc_stable_x64/bin/$FPCTARGET
  3.  
  4. # it's doesn't work!
  5. -FDD:\Archive\development\fpc_stable_x64/binw64/*

Then I run the bat-file as follows
Code: DOS  [Select][+][-]
  1. set FPC_source={<fpc trunk root directory path>}
  2. set FPC_binutils={<fpc trunk root directory path>}\bin\x86_64-win64
  3. set FPC_stable_binutils={fpc_stable_x64 root directory path}\bin\x86_64-win64
  4.  
  5. :: so it works!
  6. set binw64_path={fpc_stable_x64 root directory path}/binw64
  7. set path=<bla-bla-bla>;%path%
  8.  
  9. ...
  10. cd /d %FPC_source%
  11. make clean all install INSTALL_PREFIX=%FPC_source% PP=%FPC_stable_binutils%\ppcx64.exe DATA2INC=%FPC_source%\utils\data2inc.exe
  12. ...

During compilation I get an error:
Code: DOS  [Select][+][-]
  1. ...
  2. d:/Archive/development/fpc_stable_x64/bin/x86_64-win64/mv.exe -f x86_64/bin/x86_64-win64/pp.exe ppcx64.exe
  3. make[5]: Leaving directory `d:/Archive/development/fpc_331_r44725_x64/compiler'
  4. make echotime
  5. make[5]: Entering directory `d:/Archive/development/fpc_331_r44725_x64/compiler'
  6. process_begin: CreateProcess((null), echo Start now 19:52:42, ...) failed.
  7. make (e=2): Не удается найти указанный файл. <english translation: The system cannot find the file specified>
  8. make[5]: *** [echotime] Error 2
  9. make[5]: Leaving directory `d:/Archive/development/fpc_331_r44725_x64/compiler'
  10. make[4]: *** [next] Error 2
  11. make[4]: Leaving directory `d:/Archive/development/fpc_331_r44725_x64/compiler'
  12. make[3]: *** [ppc1.exe] Error 2
  13. make[3]: Leaving directory `d:/Archive/development/fpc_331_r44725_x64/compiler'
  14. make[2]: *** [cycle] Error 2
  15. make[2]: Leaving directory `d:/Archive/development/fpc_331_r44725_x64/compiler'
  16. make[1]: *** [compiler_cycle] Error 2
  17. make[1]: Leaving directory `d:/Archive/development/fpc_331_r44725_x64'
  18. make: *** [build-stamp.x86_64-win64] Error 2
  19. ...

What am I doing wrong?
« Last Edit: April 20, 2020, 10:00:19 pm by zoltanleo »
Win10 LTSC x64/Deb 10 amd64/Darwin Cocoa:
Lazarus x32/x64 2.1(r.64129); FPC 3.3.1 (r.47400), FireBird 3.0.7

Sorry for my bad English, I'm using translator ;)

PascalDragon

  • Hero Member
  • *****
  • Posts: 2433
  • Compiler Developer
Re: Issue of building fpc_trunk and lazarus_trunk x64 for Windows
« Reply #8 on: April 21, 2020, 09:18:36 am »
I can't compile fpc_trunk x64. 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: DOS  [Select][+][-]
  1. # searchpath for tools
  2. -FDD:\Archive\development\fpc_stable_x64/bin/$FPCTARGET
  3.  
  4. # it's doesn't work!
  5. -FDD:\Archive\development\fpc_stable_x64/binw64/*

When building using the makefile the fpc.cfg is not used.

Then I run the bat-file as follows
Code: DOS  [Select][+][-]
  1. set FPC_source={<fpc trunk root directory path>}
  2. set FPC_binutils={<fpc trunk root directory path>}\bin\x86_64-win64
  3. set FPC_stable_binutils={fpc_stable_x64 root directory path}\bin\x86_64-win64
  4.  
  5. :: so it works!
  6. set binw64_path={fpc_stable_x64 root directory path}/binw64
  7. set path=<bla-bla-bla>;%path%
  8.  
  9. ...
  10. cd /d %FPC_source%
  11. make clean all install INSTALL_PREFIX=%FPC_source% PP=%FPC_stable_binutils%\ppcx64.exe DATA2INC=%FPC_source%\utils\data2inc.exe
  12. ...

During compilation I get an error:
Code: DOS  [Select][+][-]
  1. ...
  2. d:/Archive/development/fpc_stable_x64/bin/x86_64-win64/mv.exe -f x86_64/bin/x86_64-win64/pp.exe ppcx64.exe
  3. make[5]: Leaving directory `d:/Archive/development/fpc_331_r44725_x64/compiler'
  4. make echotime
  5. make[5]: Entering directory `d:/Archive/development/fpc_331_r44725_x64/compiler'
  6. process_begin: CreateProcess((null), echo Start now 19:52:42, ...) failed.
  7. make (e=2): Не удается найти указанный файл. <english translation: The system cannot find the file specified>
  8. make[5]: *** [echotime] Error 2
  9. make[5]: Leaving directory `d:/Archive/development/fpc_331_r44725_x64/compiler'
  10. make[4]: *** [next] Error 2
  11. make[4]: Leaving directory `d:/Archive/development/fpc_331_r44725_x64/compiler'
  12. make[3]: *** [ppc1.exe] Error 2
  13. make[3]: Leaving directory `d:/Archive/development/fpc_331_r44725_x64/compiler'
  14. make[2]: *** [cycle] Error 2
  15. make[2]: Leaving directory `d:/Archive/development/fpc_331_r44725_x64/compiler'
  16. make[1]: *** [compiler_cycle] Error 2
  17. make[1]: Leaving directory `d:/Archive/development/fpc_331_r44725_x64'
  18. make: *** [build-stamp.x86_64-win64] Error 2
  19. ...

What am I doing wrong?

The path to the binutils (though normally they are not required on i386-win32 and x86_64-win64) can also be provided by passing CROSSBINDIR to the makefile.

Is there really a ppcx64.exe at the location you pass to PP?

zoltanleo

  • Sr. Member
  • ****
  • Posts: 283
Re: Issue of building fpc_trunk and lazarus_trunk x64 for Windows
« Reply #9 on: April 21, 2020, 12:33:15 pm »
Hi PascalDragon.

Thank U for the answer. I get this error
Code: DOS  [Select][+][-]
  1. process_begin: CreateProcess((null), echo Start now 13:04:19, ...) failed.
even if I execute the command
Code: Pascal  [Select][+][-]
  1. make clean all

Is there really a ppcx64.exe at the location you pass to PP?
of course  :)
Code: DOS  [Select][+][-]
  1. d:\Archive\development\fpc_331_r44888_x64>set FPC_stable_binutils=d:\Archive\development\fpc_stable_x64\bin\x86_64-win64
  2.  
  3. d:\Archive\development\fpc_331_r44888_x64>cd /d %FPC_stable_binutils%
  4.  
  5. d:\Archive\development\fpc_stable_x64\bin\x86_64-win64>dir ppc*.exe
  6.  Том в устройстве D не имеет метки.
  7.  Серийный номер тома: E862-4779
  8.  
  9.  Содержимое папки d:\Archive\development\fpc_stable_x64\bin\x86_64-win64
  10.  
  11. 11.04.2020  21:05         2 387 968 ppc386.exe
  12. 11.04.2020  20:45         2 829 824 ppcx64.exe
  13.                2 файлов      5 217 792 байт
  14.                0 папок  136 249 098 240 байт свободно

I will try to carefully study the Free Pascal User’s Guide by Michaël Van Canneyt and Florian Klämpfl https://www.freepascal.org/docs-html/current/user/user.html.

If I can achieve a positive result, I will write about it here  :)
Win10 LTSC x64/Deb 10 amd64/Darwin Cocoa:
Lazarus x32/x64 2.1(r.64129); FPC 3.3.1 (r.47400), FireBird 3.0.7

Sorry for my bad English, I'm using translator ;)

PascalDragon

  • Hero Member
  • *****
  • Posts: 2433
  • Compiler Developer
Re: Issue of building fpc_trunk and lazarus_trunk x64 for Windows
« Reply #10 on: April 21, 2020, 01:41:36 pm »
Are you sure that your %PATH% is still correct? Cause the makefile simply does a

Code: [Select]
@echo Start $(STARTTIME) now $(ENDTIME)

which does not rely on any binary. Or could you make sure that you don't have a echo.exe in one of the locations you added to %PATH? That might upset Windows otherwise...

zoltanleo

  • Sr. Member
  • ****
  • Posts: 283
Re: Issue of building fpc_trunk and lazarus_trunk x64 for Windows
« Reply #11 on: May 04, 2020, 11:08:19 am »
Thanks to PascalDragon, I partially solved the problem of building an FPC trunk ;)

The text written below is very long, it can tire someone. Therefore, I ask you to answer only the question at the end of my message.

I have taken the following steps:
  • I ran fpc-3.0.4.i386-win32.exe and fpc-3.0.4.i386-win32.cross.android.exe and installed the compiler sources and binutils
  • I executed the following commands in cmd:
Code: DOS  [Select][+][-]
  1. ::specify the path to the compiler and crosscompiler binutils 3.0.4
  2. set path=d:\Archive\development\fpc_stable\3.0.4\bin\i386-win32;%path%
  3.  
  4. make install OS_TARGET=win64 CPU_TARGET=x86_64 CPU_SOURCE=x86_64
  5. OS_SOURCE=win64 INSTALL_PREFIX=d:\Archive\development\fpc_trunk_x64
  6. PP=d:\Archive\development\fpc_stable\3.0.4\bin\i386-win32\ppcrossx64.exe
  7. DATA2INC=d:\Archive\development\fpc_trunk_x64\utils\data2inc.exe
  8.  
  9. ::create a configuration file for the compiler trunk
  10. fpcmkcfg -d basepath=d:\Archive\development\fpc_trunk_x64 -o .\bin\x86_64-win64\fpc.cfg
  11.  
  12. ::copy binutils from the binw64 directory to the fpc trunk /bin directory
  13. replace d:\Archive\development\fpc_stable\3.0.4\binw64\*.*
  14. d:\Archive\development\fpc_trunk_x64\bin\x86_64-win64 /a

  • Profit! Now I have a "live" compiler trunk revision :)

Now I compile and build the lazarus trunk as follows:
Code: DOS  [Select][+][-]
  1. ::specify the path to make x64
  2. set path=d:\Archive\development\fpc_trunk_x64\bin\x86_64-win64;%path%
  3.  
  4. ::go to the lazarus trunk directory
  5. cd /d d:\Archive\development\lazarus_trunk_x64
  6.  
  7. ::compile and build lazarus
  8. make clean all OPT="-glw2"

Problem:
Аfter starting startlazarus.exe I get an error:

Quote
Can't find the lazarus executable D:\Archive\development\lazarus_trunk_x64\lazarus

The lazarus root directory contains the files lazbiuld.exe, lazarus.exe and startlazarus.exe. Also there for some reason there are files lazbiuld.gdb, lazarus.gdb and startlazarus.gdb.

Here is a list of files and folders for Lazarus root directory:
Code: DOS  [Select][+][-]
  1. d:\Archive\development\lazarus_trunk_x64>dir
  2. 04.05.2020  11:54    <DIR>          .
  3. 04.05.2020  11:54    <DIR>          ..
  4. 04.05.2020  00:32    <DIR>          components
  5. 04.05.2020  00:33    <DIR>          converter
  6. 04.05.2020  00:33            18 428 COPYING.GPL.txt
  7. 04.05.2020  00:33            25 756 COPYING.LGPL.txt
  8. 04.05.2020  00:33             1 259 COPYING.modifiedLGPL.txt
  9. 04.05.2020  00:33             1 579 COPYING.txt
  10. 04.05.2020  00:32    <DIR>          debugger
  11. 04.05.2020  00:33    <DIR>          designer
  12. 04.05.2020  00:33    <DIR>          doceditor
  13. 04.05.2020  00:32    <DIR>          docs
  14. 04.05.2020  00:33    <DIR>          examples
  15. 04.05.2020  00:33               892 fpmake.pp
  16. 04.05.2020  00:33             1 156 fpmake_add.inc
  17. 04.05.2020  00:33               443 fpmake_proc.inc
  18. 04.05.2020  02:42    <DIR>          ide
  19. 04.05.2020  00:33    <DIR>          images
  20. 04.05.2020  00:33    <DIR>          install
  21. 04.05.2020  00:32    <DIR>          languages
  22. 04.05.2020  00:33    <DIR>          lazarus.app
  23. 04.05.2020  01:30                72 lazarus.cfg
  24. 04.05.2020  02:22       219 220 746 lazarus.dbg
  25. 04.05.2020  11:49       241 099 018 lazarus.exe
  26. 04.05.2020  02:20        55 227 088 lazbuild.dbg
  27. 04.05.2020  11:47        62 201 040 lazbuild.exe
  28. 04.05.2020  00:37    <DIR>          lcl
  29. 04.05.2020  00:33             1 663 localize.bat
  30. 04.05.2020  00:33             1 176 localize.sh
  31. 04.05.2020  00:32           109 537 Makefile
  32. 04.05.2020  00:32            16 269 Makefile.fpc
  33. 04.05.2020  00:37    <DIR>          packager
  34. 04.05.2020  00:33             2 805 README.txt
  35. 04.05.2020  00:33    <DIR>          startlazarus.app
  36. 04.05.2020  02:22        24 838 379 startlazarus.dbg
  37. 04.05.2020  11:49        28 081 899 startlazarus.exe
  38. 04.05.2020  00:32    <DIR>          test
  39. 04.05.2020  11:46    <DIR>          tools
  40. 04.05.2020  02:13    <DIR>          units
  41. 04.05.2020  11:41    <DIR>          _config
  42.  

Can someone tell me why a debug version of the exe files is being created?
Win10 LTSC x64/Deb 10 amd64/Darwin Cocoa:
Lazarus x32/x64 2.1(r.64129); FPC 3.3.1 (r.47400), FireBird 3.0.7

Sorry for my bad English, I'm using translator ;)

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8902
  • FPC developer.
Re: Issue of building fpc_trunk and lazarus_trunk x64 for Windows
« Reply #12 on: May 04, 2020, 12:21:59 pm »
It tries to call shell builtin "echo" as a program. For some reason it hasn't found "gecho" which wraps that diffenrece on windows. Either because it thinks it is unix (nowadays rare  I think), or if it  can't find gecho.exe

Run Make info and look at "tools info, it should look something like this

Quote
== Tools info ==

As........ as
Ld........ ld
Ar........ ar
Rc........ rc

Mv........ c:/pp32/bin/i386-win32/mv.exe
Cp........ c:/pp32/bin/i386-win32/cp.exe
Rm........ c:/pp32/bin/i386-win32/rm.exe
GInstall.. c:/pp32/bin/i386-win32/ginstall.exe
Echo...... c:/pp32/bin/i386-win32/gecho.exe
Shell..... sh.exe
Date...... c:/pp32/bin/i386-win32/gdate.exe
FPCMake... c:/pp32/bin/i386-win32/fpcmake.exe
PPUMove... c:/pp32/bin/i386-win32/ppumove.exe
Zip....... c:/pp32/bin/i386-win32/zip.exe

zoltanleo

  • Sr. Member
  • ****
  • Posts: 283
Re: Issue of building fpc_trunk and lazarus_trunk x64 for Windows
« Reply #13 on: May 04, 2020, 01:28:09 pm »
Hi marcov. Thanks for the answer.

I will give a complete listing of the command:
Code: DOS  [Select][+][-]
  1. d:\Archive\development\lazarus_trunk_x64>make info
  2.  
  3. == Package info ==
  4. Package Name..... lazarus
  5. Package Version.. 2.1.0
  6.  
  7. == Configuration info ==
  8.  
  9. FPC.......... d:/Archive/development/fpc_trunk_x64/bin/x86_64-win64/ppcx64.exe
  10. FPC Version.. 3.3.1
  11. Source CPU... x86_64
  12. Target CPU... x86_64
  13. Source OS.... win64
  14. Target OS.... win64
  15. Full Source.. x86_64-win64
  16. Full Target.. x86_64-win64
  17. SourceSuffix. x86_64-win64
  18. TargetSuffix. x86_64-win64
  19. FPC fpmake... d:/Archive/development/fpc_trunk_x64/bin/x86_64-win64/ppcx64.exe
  20.  
  21. == Directory info ==
  22.  
  23. Required pkgs... rtl regexpr
  24.  
  25. Basedir......... d:/Archive/development/lazarus_trunk_x64
  26. FPCDir.......... c:/pp
  27. CrossBinDir.....
  28. UnitsDir........
  29. PackagesDir.....
  30.  
  31. GCC library.....
  32. Other library...
  33.  
  34. == Tools info ==
  35.  
  36. As........ as
  37. Ld........ ld
  38. Ar........ ar
  39. Rc........ rc
  40.  
  41. Mv........ d:/Archive/development/fpc_trunk_x64/bin/x86_64-win64/mv.exe
  42. Cp........ d:/Archive/development/fpc_trunk_x64/bin/x86_64-win64/cp.exe
  43. Rm........ d:/Archive/development/fpc_trunk_x64/bin/x86_64-win64/rm.exe
  44. GInstall.. d:/Archive/development/fpc_trunk_x64/bin/x86_64-win64/ginstall.exe
  45. Echo...... d:/Archive/development/fpc_trunk_x64/bin/x86_64-win64/gecho.exe
  46. Shell..... c:/Program Files/Git/bin/sh.exe
  47. Date...... d:/Archive/development/fpc_trunk_x64/bin/x86_64-win64/gdate.exe
  48. FPCMake... d:/Archive/development/fpc_trunk_x64/bin/x86_64-win64/fpcmake.exe
  49. PPUMove... d:/Archive/development/fpc_trunk_x64/bin/x86_64-win64/ppumove.exe
  50. Zip....... __missing_command_ZIPPROG
  51.  
  52. == Object info ==
  53.  
  54. Target Loaders........
  55. Target Units..........
  56. Target Implicit Units.
  57. Target Programs....... lazarus startlazarus lazbuild
  58. Target Dirs...........
  59. Target Examples.......
  60. Target ExampleDirs....
  61.  
  62. Clean Units.........
  63. Clean Files.........
  64.  
  65. Install Units.......
  66. Install Files.......
  67.  
  68. == Install info ==
  69.  
  70. DateStr.............. 20200504
  71. ZipName.............. lazarus
  72. ZipPrefix............
  73. ZipCrossPrefix.......
  74. ZipSuffix............ .x86_64-win64
  75. FullZipName.......... lazarus.x86_64-win64
  76. Install FPC Package.. n
  77.  
  78. Install base dir..... share/lazarus
  79. Install binary dir... share/lazarus/bin/x86_64-win64
  80. Install library dir.. share/lazarus/units/x86_64-win64/lazarus
  81. Install units dir.... share/lazarus/units/x86_64-win64/lazarus
  82. Install source dir... share/lazarus/source/lazarus
  83. Install doc dir...... share/lazarus/doc/lazarus
  84. Install example dir.. share/lazarus/examples/lazarus
  85. Install data dir..... share/lazarus
  86.  
  87. Dist destination dir. d:/Archive/development/lazarus_trunk_x64/dist
  88. Dist zip name........

Take a look, please. I am confused by the line 'FPCDir.......... c:/pp'. On drive C:\ there, I do not have a c:/pp folder.
Win10 LTSC x64/Deb 10 amd64/Darwin Cocoa:
Lazarus x32/x64 2.1(r.64129); FPC 3.3.1 (r.47400), FireBird 3.0.7

Sorry for my bad English, I'm using translator ;)

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8902
  • FPC developer.
Re: Issue of building fpc_trunk and lazarus_trunk x64 for Windows
« Reply #14 on: May 04, 2020, 03:09:35 pm »
Make info in the FPC source tree please, but this

Quote
Echo...... d:/Archive/development/fpc_trunk_x64/bin/x86_64-win64/gecho.exe

looks good.

Quote
Shell..... c:/Program Files/Git/bin/sh.exe

This not so. Try to remove the git directory temporarily from the PATH, and retry again.


 

TinyPortal © 2005-2018