Am 01.05.2020 um 01:30 schrieb leyba bronstain via lazarus:
01.05.2020 1:45, Martin Frb via lazarus пишет:
in your svn checkout dir, is a sub-directory called /compiler
It has the sources for the compiler.

And you should run that particular make command in that dir.

OMG! I thank you for the detailed explanation. Forgive me my misunderstanding. I don't really distinguish the subtleties of English ¯\_(ツ)_/¯

Sorry for being unclear here...


So:

C:\Users\leyba>set path=d:\Archive\development\fpc_stable_x64\bin\x86_64-win64;%path%
C:\Users\leyba>cd /d d:\Archive\development\fpc_331_r45198\compiler
d:\Archive\development\fpc_331_r45198\compiler>make echotime
process_begin: CreateProcess((null), echo Start 02:10:01 now 02:10:01, ...) failed. make (e=2): Не удается найти указанный файл. (eng: can't find the file specified////)
make: *** [echotime] Error 2

I start compiler building like this

make clean all install INSTALL_PREFIX=%FPC_source% PP=%FPC_stable_binutils%\ppcx64.exe DATA2INC=%FPC_source%\utils\data2inc.exe

Probably the build options should be different. I looked at the command line fpcupdeluxe. It applies the patch for Makefile (fpcpatch_all_makesearchpath_stable_3_0_4.patch)  and the command line options look something like this:

[2020-05-01 01:42:30.296 Info] FPCNativeInstaller (CleanModule: FPC): Execute: C:\fpcup\fpcbootstrap\make.exe. Params: --jobs=1,FPC=C:\fpcup\fpcbootstrap\ppcx64.exe,--directory=C:\fpcup\fpcsrc,FPCMAKE=C:\fpcup\fpc\bin\x86_64-win64\fpcmake.exe,PPUMOVE=C:\fpcup\fpc\bin\x86_64-win64\ppumove.exe,FPCDIR=C:\fpcup\fpcsrc,PREFIX=C:\fpcup\fpc,INSTALL_PREFIX=C:\fpcup\fpc,UPXPROG=echo,COPYTREE=echo,CPU_SOURCE=x86_64,OS_SOURCE=win64,CPU_TARGET=x86_64,OS_TARGET=win64,distclean

I might experiment with command line options.


Can you please try to execute "make echotime" (in the "fpc_331_r45198\compiler" directory ;) ) without any changes to the PATH variable?

You also said that when compiling for i386 this worked correctly. Would you please "echo %PATH%" before executing "make" in the directory with the source for both variants (i386 and x86_64)?

Regards,
Sven
--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to