This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Re: Next Step
- From: Shehryar Humayun <shehryarhumayunkhan at yahoo dot com>
- To: Ben Elliston <bje at redhat dot com>
- Cc: cgen at sources dot redhat dot com
- Date: Fri, 6 Sep 2002 09:36:33 -0700 (PDT)
- Subject: Re: Next Step
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 <bje@redhat.com> wrote:
> Check out the GNU
> binutils source code, configure it for m32r-elf and
> then:
>
> make -C <build>/opcodes stamp-m32r
>
__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com