From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30987 invoked by alias); 27 Aug 2002 14:17:46 -0000 Mailing-List: contact cgen-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cgen-owner@sources.redhat.com Received: (qmail 30977 invoked from network); 27 Aug 2002 14:17:45 -0000 Received: from unknown (HELO touchme.toronto.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 27 Aug 2002 14:17:45 -0000 Received: from toenail.toronto.redhat.com (toenail.toronto.redhat.com [172.16.14.211]) by touchme.toronto.redhat.com (Postfix) with ESMTP id E70EFB8832; Tue, 27 Aug 2002 10:17:44 -0400 (EDT) Received: (from fche@localhost) by toenail.toronto.redhat.com (8.11.6/8.11.6) id g7REHi223041; Tue, 27 Aug 2002 10:17:44 -0400 Date: Tue, 27 Aug 2002 07:17:00 -0000 From: "Frank Ch. Eigler" To: gongyq Cc: cgen@sources.redhat.com Subject: Re: problems about "building a GAS test suite" Message-ID: <20020827101744.A22909@redhat.com> References: <002c01c24dd0$2ef01ee0$7f6f0e0a@gongyq> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <002c01c24dd0$2ef01ee0$7f6f0e0a@gongyq>; from gongyq@vlsi.zju.edu.cn on Tue, Aug 27, 2002 at 09:46:45PM +0800 X-SW-Source: 2002-q3/txt/msg00025.txt.bz2 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