From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3953 invoked by alias); 9 Sep 2002 13:17:03 -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 3943 invoked from network); 9 Sep 2002 13:17:01 -0000 Received: from unknown (HELO touchme.toronto.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 9 Sep 2002 13:17:01 -0000 Received: from tooth.toronto.redhat.com (tooth.toronto.redhat.com [172.16.14.29]) by touchme.toronto.redhat.com (Postfix) with ESMTP id AE942B8831; Mon, 9 Sep 2002 09:17:00 -0400 (EDT) Received: (from bje@localhost) by tooth.toronto.redhat.com (8.11.6/8.11.6) id g89DH0I19047; Mon, 9 Sep 2002 09:17:00 -0400 From: Ben Elliston MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15740.40780.479694.280748@tooth.toronto.redhat.com> Date: Mon, 09 Sep 2002 06:17:00 -0000 To: "JCastillo" Cc: Subject: Re: Porting gas with cgen In-Reply-To: <001901c257e6$eca47290$eabb90c1@javier> References: <001901c257e6$eca47290$eabb90c1@javier> X-SW-Source: 2002-q3/txt/msg00072.txt.bz2 >>>>> "JCastillo" == JCastillo writes: JCastillo> I want to add DSP instructions to the openrisc cgen model. After add then to JCastillo> the .cpu model I generate the eigth opcodes files. What I have have to do JCastillo> next? I think I should copy then to the /opcodes directory of the binutils JCastillo> and then compile the binutils for the architecture I modified.My question is JCastillo> if this is correct and if I have to modify the tc-arch.[ch] files of the JCastillo> architecture If you use the opcodes/Makefile.am glue that is in place, CGEN can be run from the opcodes build directory and install the generated files in the opcodes source directory. Then, yes, you need to build opcodes, binutils, gas, etc. for openrisc-elf. Ben