From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18636 invoked by alias); 6 Sep 2002 16:36:35 -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 18523 invoked from network); 6 Sep 2002 16:36:33 -0000 Received: from unknown (HELO web21201.mail.yahoo.com) (216.136.129.59) by sources.redhat.com with SMTP; 6 Sep 2002 16:36:33 -0000 Message-ID: <20020906163633.2209.qmail@web21201.mail.yahoo.com> Received: from [202.165.233.2] by web21201.mail.yahoo.com via HTTP; Fri, 06 Sep 2002 09:36:33 PDT Date: Fri, 06 Sep 2002 09:36:00 -0000 From: Shehryar Humayun Subject: Re: Next Step To: Ben Elliston Cc: cgen@sources.redhat.com In-Reply-To: <15736.46038.217700.778062@tooth.toronto.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-q3/txt/msg00056.txt.bz2 Hi, After configuring build directory for m32r-elf, this is what I get: >make -C root/build/opcodes/ stamp-m32r make: Entering directory 'root/build/opcodes/' make: no rule to make target '../cgen/stamp-cgen', needed by 'stamp-m32r'. Stop make: Leaving directory 'root/build/opcodes/' If we have a look at stamp-m32r in src/opcodes/Makefile.in and build/opcodes/Makefile, stamp-m32r: $(CGENDEPS) $(CPUDIR)/m32r.cpu $(CPUDIR)/m32r.opc $(MAKE) run-cgen arch=m32r prefix=m32r options=opinst extrafiles=opinst CGENDEPS = ../cgen/stamp-cgen \ $(CGENDIR)/desc.scm $(CGENDIR)/desc-cpu.scm \ ... remain the same for both source and build Makefiles. I think this is what might be causing the problem in build/opcodes/Makefile: cgendir = $(srcdir)/../cgen CGENDIR = $(srcdir)/../cgen Please correct me where I am wrong, doesn't "cgendir=$(srcdir)/../cgen" mean that cgen source directory (containing .scm/.cpu files) has to be present in binutils-2.12 source tree at the same level as is opcodes directory? I mean to say that as "binutils-2.12/opcodes" exist, so should "binutils-2.12/cgen", no? Is this the cause of having message "No rule to make target ..."? Regards Shehryar --- Ben Elliston wrote: > Check out the GNU > binutils source code, configure it for m32r-elf and > then: > > make -C /opcodes stamp-m32r > __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com