::compile & build fpc_trunk x32
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
cd /d
%<fpc_trunk_root_dir path>%\bin\i386-win32
:: create fpc.cfg
fpcmkcfg -d basepath=%<fpc_trunk_root_dir path>% -o .\fpc.cfg
:: compile & build lazarus_trunk
cd /d
%<lazarus_trunk_root_dir path>% make clean all
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.