Hey guys, can you please help me?
I am trying to build a cross compiler for win32->win64 and win32->linux64, in both cases i have ppcrossx64.exe file, my second call of make.exe overwrites already existing ppcrossx64.exe, is this correct? or what to do to have separate compilers?
I am using these commands:
1 - Build the main compiler
make.exe all install INSTALL_PREFIX=c:\fpc PP=c:\fpcutils\ppc386.exe OS_TARGET=win32 CPU_TARGET=i386
2 - Build the cross compiler for win32->win64
make.exe all crossinstall INSTALL_PREFIX=c:\fpc PP=c:\fpcutils\ppc386.exe OS_TARGET=win64 CPU_TARGET=x86_64
3 - Build the cross compiler for win32->linux64
make.exe all crossinstall INSTALL_PREFIX=c:\fpc PP=c:\fpcutils\ppc386.exe OS_TARGET=linux CPU_TARGET=x86_64 CROSSBINDIR=c:\fpccross\bin BINUTILSPREFIX=x86_64-linux-
The result of third command overwrites the previous version of ppcrossx64.exe, but how to have separate file for each target platform?