This is the mail archive of the binutils@sources.redhat.com 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: Add hppa*64* support to libtool in binutils


In message <OFA15CDC33.853DE7E3-ON80256C05.0038EA84@uk.neceur.com>, ross.alexan
der@uk.neceur.com writes:
 >
 >David,
 >
 >I'm currently looking at revising libtool-1.4e to add HPUX64 support.  I've
 >got a
 >couple of questions.
 >
 >1) Should the mode be determined from $cpu_host or by checking __LP64__
 >in the cc defines.  Given that the config.guess returns
 >hppa2.0w-hp-hpux??.??
 >and we assume that is 32bit then do we assume the user knows what they
 >are doing and assume they only want 64bit when the target is hpux64.
 >Should libtool check that they match correctly.
We certainly don't want to go into 64bit mode unless it's explicitly been
asked for.  If you can actually run the compiler, then checking for
__LP64__ should get you this information.  Alternately if you can't run
the compiler, go into 64bit mode for hppa64-*-* configurations only.  

jeff


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