From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14138 invoked by alias); 3 Sep 2002 14:23:21 -0000 Mailing-List: contact cgen-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cgen-owner@sources.redhat.com Received: (qmail 14116 invoked from network); 3 Sep 2002 14:23:15 -0000 Received: from unknown (HELO touchme.toronto.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 3 Sep 2002 14:23:15 -0000 Received: from tooth.toronto.redhat.com (tooth.toronto.redhat.com [172.16.14.29]) by touchme.toronto.redhat.com (Postfix) with ESMTP id 14447B8833; Tue, 3 Sep 2002 10:23:15 -0400 (EDT) Received: (from bje@localhost) by tooth.toronto.redhat.com (8.11.6/8.11.6) id g83ENAk05550; Tue, 3 Sep 2002 10:23:10 -0400 From: Ben Elliston MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15732.50638.496629.614616@tooth.toronto.redhat.com> Date: Tue, 03 Sep 2002 07:23:00 -0000 To: Shehryar Humayun Cc: cgen@sources.redhat.com Subject: Re: Next Step In-Reply-To: <20020901090356.90807.qmail@web21202.mail.yahoo.com> References: <20020901090356.90807.qmail@web21202.mail.yahoo.com> X-SW-Source: 2002-q3/txt/msg00042.txt.bz2 Hi. >>>>> "Shehryar" == Shehryar Humayun 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