This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Re: a question about doing an opcodes port
- From: Ben Elliston <bje at redhat dot com>
- To: =?gb2312?B?uagg1LTIqg==?= <source_kong at hotmail dot com>
- Cc: cgen at sources dot redhat dot com
- Date: Mon, 26 Aug 2002 09:58:17 -0400 (EDT)
- Subject: Re: a question about doing an opcodes port
- References: <F6473lhRxRoJPaxJNuH0001ebee@hotmail.com>
>>>>> "source" == source kong <gb2312> writes:
source> What is the directory "opcodes" in step 8, does it refer to the opcodes
source> directory in the binutils(I have downloaded binutils-2.12 from the gnu
source> ftp)package?
Yes, but the opcodes build directory needs to be configured for your
target, not a native build.
source> What does "Add dependencies to "opcodes/Makefile.am" mean?
See opcodes/Makefile.am and look at, for example, the fr30 port.
Mimic what was done for that port.
source> What are the eight opcodes files?
In the case of the fr30 port:
fr30-asm.c fr30-desc.h fr30-ibld.c fr30-opc.h
fr30-desc.c fr30-dis.c fr30-opc.c
source> By the way, could you please give me an explanation about
source> port?
What kind of explanation are you looking for, specifically?
Cheers, Ben