This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Re: Next Step
- From: Ben Elliston <bje at redhat dot com>
- To: Shehryar Humayun <shehryarhumayunkhan at yahoo dot com>
- Cc: cgen at sources dot redhat dot com
- Date: Tue, 3 Sep 2002 10:23:10 -0400 (EDT)
- Subject: Re: Next Step
- References: <20020901090356.90807.qmail@web21202.mail.yahoo.com>
Hi.
>>>>> "Shehryar" == Shehryar Humayun <shehryarhumayunkhan@yahoo.com> writes:
Shehryar> At the end of step 3, I get a message "Done analysis"
Shehryar> and I get the prompt "guile>".
Shehryar> Porting guide for CGEN says that next step is to
Shehryar> "run generators until output looks reasonable, e.g.
Shehryar> (cgen-opc.c)"
Shehryar> - What is meant by "generator". Is it .scm files in
Shehryar> cgen source directory we are talking about?
Yes.
Shehryar> - How exactly do I implement this phrase "until output
Shehryar> looks reasonable" in the statement? What should I
Shehryar> write at guile prompt? What is the criteria for
Shehryar> reasonable output?
You should not bother running cgen in this tedious way. If you are
doing an opcodes port, use the infrastructure in place in the
src/opcodes/Makefile.{am,in} to run CGEN for you. I think this point
has been discussed before.
Shehryar> - Where are the output files located e.g.
Shehryar> cgen-opc.[ch], cgen-desc.[ch]?
I believe there is an application-switch to specify where the
generated files should go. Again, this is handled for you by the
opcodes Makefile.
Shehryar> Hoping for an early response, beed it badly!
Sorry it took so long -- it was a three-day weekend.
Ben