This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Porting gas with cgen


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]