Next Step
Ben Elliston
bje@redhat.com
Tue Sep 3 07:23:00 GMT 2002
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
More information about the Cgen
mailing list