> -----Message d'origine-----
> De : fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal-
> boun...@lists.freepascal.org] De la part de patspiper
> Envoyé : jeudi 11 avril 2013 13:01
> À : FPC-Pascal users discussions
> Objet : Re: [fpc-pascal] 64 bit cross binutils on a 32 bit OS
> 
> 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.

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.

Pierre Muller

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to