[fpc-pascal] 64 bit cross binutils on a 32 bit OS

patspiper patspiper at gmail.com
Thu Apr 11 13:00:37 CEST 2013


On 11/04/13 11:33, Sven Barth wrote:
> Am 11.04.2013 10:16, schrieb patspiper:
>> Hi,
>>
>> Is it possible to build cross binutils to produce win 64 bit files on 
>> a 32 bit Linux OS (Ubuntu 32 bit)?
>>
>> If I set target=x86_64-cygwin, the error is:
>> 'BFD does not support target x86_64-pc-cygwin'
>>
> Why don't you install binutils-mingw-w64 package? [Note: I don't have 
> Ubuntu, so I don't know whether it exists for your specific version of 
> Ubuntu]
binutils-mingw-w64 package does not exist for Ubuntu 11.04 (my OS), 
although it is available in Ubuntu 12.10.

In any case, I have built myself cross binutils for i386/Win32 (cygwin 
and mingw32), x86_64/Linux, arm/WinCE, and arm/Linux. As an exercise, I 
would like to do the same for Win64.

Any tips?

Stephano



More information about the fpc-pascal mailing list