<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">03.05.2020 19:23, Sven Barth пишет:<br>
</div>
<blockquote type="cite"
cite="mid:f281a741-ff65-22bd-6c52-be6a8f981fb7@googlemail.com">FPC
only provides a 32-bit -> 64-bit cross compiler as installer
and that is indeed made using the 32-bit compiler. Lazarus however
ships with a native 64-bit compiler. <br>
<br>
I don't know how you created your fpc_stable_x64\bin\x86_64-win64
directory, but maybe that some utilities have different versions
than the ones in the fpc_stable_x32\bin\i386-win32 directory might
explain the problems you experience. <br>
<br>
Regards, <br>
Sven <br>
</blockquote>
<p>Hi Sven.</p>
<p>I tried to get a ready-made stable version of fpc 3.0.4 x64 in
different ways (this could be the Lazarus 2.0.8 installer or
fpcupdeluxe). This was not a success.<br>
<br>
After your assumptions, I decided to use only the compiler sources
from the standard x32 package and the cross-compilation package.
As a result, I followed several steps and managed to get a
positive result. I have done the following:</p>
<p>1. 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</p>
<p>2. I executed the following commands in cmd:</p>
<p>set
path=d:\Archive\development\fpc_stable\3.0.4\bin\i386-win32;%path%</p>
<p>make install OS_TARGET=win64 CPU_TARGET=x86_64 CPU_SOURCE=x86_64
OS_SOURCE=win64
INSTALL_PREFIX=d:\Archive\development\fpc_trunk_x64
PP=d:\Archive\development\fpc_stable\3.0.4\bin\i386-win32\ppcrossx64.exe
DATA2INC=d:\Archive\development\fpc_trunk_x64\utils\data2inc.exe<br>
<br>
fpcmkcfg -d basepath=d:\Archive\development\fpc_trunk_x64 -o
.\bin\x86_64-win64\fpc.cfg<br>
<br>
replace d:\Archive\development\fpc_stable\3.0.4\binw64\*.*
d:\Archive\development\fpc_trunk_x64\bin\x86_64-win64 /a</p>
<p>3. Congratulation! Now I have a live compiler trunk revision. :)</p>
<p><br>
</p>
<p>Do I used the command line switches for the make command
correctly? Tell me pls...</p>
<pre>--
with best regards, Zoltanleo aka Док
</pre>
<p><br>
</p>
</body>
</html>