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: Next Step


Hi, 
I have tried to generate files by removing
"../cgen/stamp-cgen" from my <build>/opcodes/Makefile
and writing 
"make -C <build>/opcodes stamp-m32r"
and it works. It generates the 8 files and puts them
back into the source tree.

CGENDIR=@cgendir@ variable still needs a workaround
though. Either you change it manually to your CGEN
source directory or create binutils/cgen and copy all
the source files (*.scm,cpu) into it.
This is due to the fact the value of @cgendir@ is set
to "@srcdir@/../cgen" in <build>/opcodes/Makefile
where srcdir=/root/src/binutils/opcodes/
Am I right?
Regards

Shehryar

p.s. How about writing down a step by step how-to for
those who are starting using CGEN?

--- Ben Elliston <bje@redhat.com> wrote:
> You should use binutils 2.13 or the version in CVS.
> 
> Ben


__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com


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