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

patspiper patspiper at gmail.com
Thu Apr 11 13:45:28 CEST 2013


On 11/04/13 14:15, Pierre Free Pascal wrote:
>>
>> 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.
> The i386-win32 to x86_64-win64 cross-tools give this information:
>
> E:\pas>x86_64-win64-as --version
> GNU assembler (GNU Binutils) 2.22
> Copyright 2011 Free Software Foundation, Inc.
> This program is free software; you may redistribute it under the terms of
> the GNU General Public License version 3 or later.
> This program has absolutely no warranty.
> This assembler was configured for a target of `x86_64-w64-mingw32'.
>
> So building Binutils with --target=x86_64-w64-mingw32
> should work for you.
It does indeed!

As for cygwin 64 bits, it seems that a patch for cygwin 64 support was 
applied on 4.3.2013 
(http://cygwin.cybermirror.org/64bit/x86_64-pc-cygwin-binutils-20130304.patch), 
but it seems it is still not included in binutils 2.23.2

Thanks!

Stephano



More information about the fpc-pascal mailing list