public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
From: "Frank Ch. Eigler" <fche@redhat.com>
To: gongyq <gongyq@vlsi.zju.edu.cn>
Cc: cgen@sources.redhat.com
Subject: Re: problems about "building a GAS test suite"
Date: Tue, 27 Aug 2002 07:17:00 -0000	[thread overview]
Message-ID: <20020827101744.A22909@redhat.com> (raw)
In-Reply-To: <002c01c24dd0$2ef01ee0$7f6f0e0a@gongyq>; from gongyq@vlsi.zju.edu.cn on Tue, Aug 27, 2002 at 09:46:45PM +0800

Hi -

On Tue, Aug 27, 2002 at 09:46:45PM +0800, gongyq wrote:
> [...]
> > % make ARCH=m32r ISA=m32r gas-test
> 
> First, when I run make gas-test, I follow the rule you mention above.
> But the generated "gas-build.sh" file includes the following lines:
> [...]
> add:
>         add fp,fp
>         .text
>         .global add3
> add3:
>         add3 fp,fp,00
>         .text
>         .global and
> [...]
> Does this seem reasonable? (for you convenience I send you the file to check.)

I'll assume they're okay for now: you have other problems:


> [...]
> second, would you please tell me explicitly how to configure the assembler
> (you know, I use gas) for target(in my case, it might be m32r), because it
> isn't mentioned in the CGEN manual? Is it like this:
> "configure --target=m32r"? But when I try to configure in this way, I
> get many errors when I run make in the build directory, so I can't get
> the file "as-new". 

Well, you need to overcome this problem.  A properly target assembler is
essential to making progress: it is a prerequisite to building a new
test suite.  Check out a copy of the whole binutils+cgen kit from the
sources.redhat.com /cvs/src repository, configure a build tree with
"--target=m32r", then run "make".  Please report any build failures
if you cannot solve them by yourself.


- FChE

       reply	other threads:[~2002-08-27 14:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <002c01c24dd0$2ef01ee0$7f6f0e0a@gongyq>
2002-08-27  7:17 ` Frank Ch. Eigler [this message]
2002-08-27  1:45 龚 源泉
2002-08-27  3:46 ` Frank Ch. Eigler

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=20020827101744.A22909@redhat.com \
    --to=fche@redhat.com \
    --cc=cgen@sources.redhat.com \
    --cc=gongyq@vlsi.zju.edu.cn \
    /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).