This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Is 64-bit PowerPC disabled on Cygwin Hosts?


On Fri, Oct 06, 2017 at 07:00:18AM +0200, Sebastian Huber wrote:
> On 06/10/17 01:40, Alan Modra wrote:
> 
> >On Thu, Oct 05, 2017 at 09:28:53AM -0500, Joel Sherrill wrote:
> >>Does anyone have any hints on what could be going on?
> >If you're expecting to get powerpc64 support with powerpc-*-rtems*,
> >then you will need to add --enable-64-bit-bfd on a 32-bit host.
> 
> Wouldn't it make sense to enable this option by default if you build cross
> tools?

No, if you are hosting on a 32-bit machine for a 32-bit target, why
should you pay the penalty of calculating addresses, relocs etc. using
64-bit arithmetic?  Your compiler might not even support long long, or
if it does, the support might have bugs.

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]