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: a question about doing an opcodes port


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


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