This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Re: Porting gas with cgen
- From: Ben Elliston <bje at redhat dot com>
- To: "JCastillo" <javier_castillo_villar at yahoo dot es>
- Cc: <cgen at sources dot redhat dot com>
- Date: Mon, 9 Sep 2002 09:17:00 -0400 (EDT)
- Subject: Re: Porting gas with cgen
- References: <001901c257e6$eca47290$eabb90c1@javier>
>>>>> "JCastillo" == JCastillo <javier_castillo_villar@yahoo.es> writes:
JCastillo> I want to add DSP instructions to the openrisc cgen model. After add then to
JCastillo> the .cpu model I generate the eigth opcodes files. What I have have to do
JCastillo> next? I think I should copy then to the /opcodes directory of the binutils
JCastillo> and then compile the binutils for the architecture I modified.My question is
JCastillo> if this is correct and if I have to modify the tc-arch.[ch] files of the
JCastillo> architecture
If you use the opcodes/Makefile.am glue that is in place, CGEN can be
run from the opcodes build directory and install the generated files
in the opcodes source directory. Then, yes, you need to build
opcodes, binutils, gas, etc. for openrisc-elf.
Ben