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

2013-04-11 Thread Marcos Douglas
On Thu, Apr 11, 2013 at 12:53 PM, Pierre Free Pascal wrote: > > > On Windows, using FPC 2.7.1, I use: > > make crossinstall OS_TARGET=win64 CPU_TARGET=x86_64 > > > > But this not works. I always got the error: > > > > W:/md/dev/freepascal/compiler/

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

2013-04-11 Thread Pierre Free Pascal
> On Windows, using FPC 2.7.1, I use: > make crossinstall OS_TARGET=win64 CPU_TARGET=x86_64 > > But this not works. I always got the error: > > W:/md/dev/freepascal/compiler/2.7.1/compiler/ppc.exe fpmake.pp - > FuW:/md/dev/fre > epascal/compiler/2

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

2013-04-11 Thread Marcos Douglas
il 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

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

2013-04-11 Thread patspiper
On 11/04/13 14:48, Pierre Free Pascal wrote: 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- 2013

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

2013-04-11 Thread Pierre Free Pascal
> > 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

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

2013-04-11 Thread patspiper
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,

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

2013-04-11 Thread Pierre Free Pascal
> -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

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

2013-04-11 Thread patspiper
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

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

2013-04-11 Thread zeljko
On 04/11/2013 10:33 AM, 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

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

2013-04-11 Thread Sven Barth
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? [

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

2013-04-11 Thread 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' Stephano ___ fpc-pascal maillist - fpc-pascal@