This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: libstdc++/7926


Phil Edwards <phil@jaj.com> writes:

> On Mon, Nov 04, 2002 at 11:44:34AM -0600, Benjamin Kosnik wrote:
>> 
>> >I've never done anything with x86-64, so I don't know whether they get
>> >canonicalized to i[456]86 or not.
>> 
>> How do I find this out?
>
> Er.  Good question.
>
> I think they don't get changed, based on
>
>     fenric 23% ./config.sub x86_64
>     x86_64-pc-none
>     fenric 24% ./config.sub x86_64-linux
>     x86_64-pc-linux-gnu
>     fenric 25%

You're right.  x86_64 does not get changed.  Since it's a 64 bit
target with slightly different instruction set, it has a different
canonical name (like we have sparc and sparc64).  And naming it ix86
would be definitly wrong.

>
> The real test would be to configure for an x86_64 target and then see what
> the build tree's $target (not $target_alias) is computed to be.  My box is
> tied up at the moment, though.

>From gcc/config.status:

config.status:s%@target@%x86_64-unknown-linux-gnu%g
config.status:s%@target_alias@%x86_64-unknown-linux-gnu%g

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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