From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2727 invoked by alias); 5 Jun 2003 16:04:09 -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 2706 invoked from network); 5 Jun 2003 16:04:08 -0000 Received: from unknown (HELO neon-gw.transmeta.com) (63.209.4.196) by sources.redhat.com with SMTP; 5 Jun 2003 16:04:08 -0000 Received: (from root@localhost) by neon-gw.transmeta.com (8.9.3/8.9.3) id JAA31278; Thu, 5 Jun 2003 09:04:04 -0700 Received: from mailhost.transmeta.com(10.1.1.15) by neon-gw.transmeta.com via smap (V2.1) id xma031270; Thu, 5 Jun 03 09:03:56 -0700 Received: from xris-athlon.transmeta.com (xris-athlon.transmeta.com [10.10.25.96]) by deepthought.transmeta.com (8.11.6/8.11.6) with ESMTP id h55G3xB01530; Thu, 5 Jun 2003 09:03:59 -0700 (PDT) Received: (from dje@localhost) by xris-athlon.transmeta.com (8.9.3/8.7.3) id JAA15082; Thu, 5 Jun 2003 09:03:59 -0700 From: Doug Evans MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16095.27119.111318.20420@xris-athlon.transmeta.com> Date: Thu, 05 Jun 2003 16:04:00 -0000 To: Michael Meissner Cc: cgen@sources.redhat.com Subject: Re: Use of DI mode on 32-bit hosts In-Reply-To: <20030605115059.GA16222@tiktok.the-meissners.org> References: <20030602173232.GA5871@tiktok.the-meissners.org> <16091.36137.249864.565465@casey.transmeta.com> <20030602192217.GA7082@tiktok.the-meissners.org> <16091.46855.343504.902253@casey.transmeta.com> <20030602213329.GA8650@tiktok.the-meissners.org> <16094.21993.512060.521133@xris-athlon.transmeta.com> <20030605115059.GA16222@tiktok.the-meissners.org> X-SW-Source: 2003-q2/txt/msg00080.txt.bz2 Michael Meissner writes: > By the way, what is the way to configure cgen? The toplevel makefile doesn't > seem to go into the cgen directory, and if I configure cgen directly from the > subdirectory, I get the following in the tmp-desc.h file: > > #ifndef @ARCH@_CPU_H > #define @ARCH@_CPU_H > > Obviously this is a minor annoyance, but I'm wondering if I shouldn't be > invoking it from the toplevel Makefile. You don't need to configure cgen to generate files. Cgen use to get configured but that part got removed. It's still needed to build the docs of course so that part has to get put back. When you configure the entire tree, add --enable-cgen-maint. Also, add your cpu to opcodes/Makefile.am. Grep for the other cgen cpu files in there and cut-n-paste. Then when you go to build in opcodes, the dependencies there will invoke cgen as appropriate. And if you want to just generate the files and not build anything bash$ make stamp- [Perhaps that's what you're doing already. Though I'm then at a loss to explain why @ARCH@ didn't get substituted.]