[fpc-pascal] windows 32bit cross to 64 ?

Florian Klämpfl florian at freepascal.org
Mon Aug 9 22:36:54 CEST 2010


Am 09.08.2010 22:32, schrieb Martin:
>  On 08/08/2010 20:07, Marco van de Voort wrote:
>> In our previous episode, dmitry boyarintsev said:
>>>> Afterwards, compiler/ppcrossx64 will be the cross compiler (from
>>>> i386 ->  x86-64) and compiler/ppcx64 will be the native x86-64
>>>> compiler.
>>> Isn't it necessary to run "fpcmake -Tx86_64-win64 -w -r", before making?
>> No, in general SVN sources have been "fpcmake"'d with "fpcmake -Tall -w"
>>
> 
> Unfortunately it doesn't work. I get the following error:
>   make.exe all  CPU_TARGET=x86_64   FPC=c:\FPC\SVN\ppc386_2_4_0.exe
>   makefile:199: *** The Makefile doesn't support target x86_64-win32,
> please run fpcmake first.  Stop.
> 
> neither of the above fpmake help  (nor does "fpcmake -Tall -w - r" )
> 
> Note that it is looking for ...-win32  not for ...-win64
> Attempting: fpcmake -Tx86_64-win32  -w -r
>   Processing Makefile.fpc
>   Error: No targets set
> 
> And yes, I did a "make clean" before.
> 
> any ideas?
> 

Well, the command line mentioned is not sufficient, do

make all CPU_TARGET=x86_64 OS_TARGET=win64



More information about the fpc-pascal mailing list