public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Buday Gergely <gergoe@math.bme.hu>
To: Nick Clifton <nickc@redhat.com>
Cc: binutils@sources.redhat.com
Subject: Re: .machine "altivec"
Date: Tue, 22 Mar 2005 20:22:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.60.0503221831210.19448@csusza.math.bme.hu> (raw)
In-Reply-To: <42405179.3020007@redhat.com>

Nick Clifton wrote:

>> I'm using openembedded to create a powerpc executable on my x86 linux box. 
>> oe complains about
>
> What was the configure command line that you used ?

/opt/openembedded/powerpc-tmp/work/glibc-initial-2.3.2+cvs20040726-r15/libc/configure 
--host=powerpc-linux --build=i686-linux --without-cvs --disable-sanity-checks 
--with-headers=/opt/openembedded/powerpc-tmp/cross/powerpc-linux/include
  --enable-hacker-mode

Though it was bitbake and not me.

>> | checking for .machine support... no
>> | configure: error:
>> | *** A binutils version which can handle
>> | ***    .machine "altivec"
>> | *** is needed.
>
> I could not find this error messages in the sources anywhere.  Are you using 
> a customised version of the configure scripts by any chance ?

Well, openembedded people might changed them.

> The 2.15.94 sources should support the .machine "altivec" directive. Have a 
> look at the function parse_cpu() in gas/config/tc-pcc.c for confirmation of 
> this.

tc-ppc.c I suppose you meant. It supports, as far as I can judge:

=========
   else if (strcmp (arg, "altivec") == 0)
     {
       if (ppc_cpu == 0)
         ppc_cpu = PPC_OPCODE_PPC | PPC_OPCODE_CLASSIC | 
PPC_OPCODE_ALTIVEC;
       else
         ppc_cpu |= PPC_OPCODE_ALTIVEC;
     }

====

How ./configure checks whether it supports?

Regards

- Gergely

  parent reply	other threads:[~2005-03-22 17:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-22 16:13 Buday Gergely
2005-03-22 17:28 ` Nick Clifton
2005-03-22 17:29   ` Daniel Jacobowitz
2005-03-22 19:30     ` Buday Gergely
2005-03-22 22:39     ` Khem Raj
2005-03-22 22:44     ` Khem Raj
2005-03-22 20:22   ` Buday Gergely [this message]
2005-03-22 20:33     ` Nick Clifton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.60.0503221831210.19448@csusza.math.bme.hu \
    --to=gergoe@math.bme.hu \
    --cc=binutils@sources.redhat.com \
    --cc=nickc@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).