From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28173 invoked by alias); 4 Sep 2002 03:51:53 -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 28165 invoked from network); 4 Sep 2002 03:51:52 -0000 Received: from unknown (HELO web21206.mail.yahoo.com) (216.136.175.8) by sources.redhat.com with SMTP; 4 Sep 2002 03:51:52 -0000 Message-ID: <20020904035152.14960.qmail@web21206.mail.yahoo.com> Received: from [202.165.233.2] by web21206.mail.yahoo.com via HTTP; Tue, 03 Sep 2002 20:51:52 PDT Date: Tue, 03 Sep 2002 20:51:00 -0000 From: Shehryar Humayun Subject: Re: Next Step To: Ben Elliston Cc: cgen@sources.redhat.com In-Reply-To: <15732.50638.496629.614616@tooth.toronto.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-q3/txt/msg00047.txt.bz2 Hi, Thanks for the response. It worked out quite well. I have been able to generate 8 opcodes support files for m32r as well as fr30. Just one thing, When I invoke the make process, in the end it prints: Generating m32r-opc.h Generating m32r-opc.c ... When the make process terminates, the files generated are named tmp-opc.c, tmp-opc.h, tmp-*.*, rather than m32r-*.c. Is this okay? Moreover, the files do not contain the name of the architecture e.g. m32r, rather is written every where in the file. Is this thw way it is supposed to be? Regards --- Ben Elliston wrote: > 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 __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com