From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31114 invoked by alias); 12 Mar 2002 10:02:05 -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 31058 invoked from network); 12 Mar 2002 10:02:01 -0000 Received: from unknown (HELO hypatia.brisbane.redhat.com) (202.83.74.3) by sources.redhat.com with SMTP; 12 Mar 2002 10:02:01 -0000 Received: from scooby.brisbane.redhat.com (scooby.brisbane.redhat.com [172.16.5.228]) by hypatia.brisbane.redhat.com (8.11.6/8.11.6) with ESMTP id g2C9xl204480; Tue, 12 Mar 2002 19:59:47 +1000 Received: by scooby.brisbane.redhat.com (Postfix, from userid 500) id 915D81094A; Tue, 12 Mar 2002 20:59:45 +1100 (EST) From: Ben Elliston MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15501.53649.353207.665381@scooby.brisbane.redhat.com> Date: Tue, 12 Mar 2002 02:02:00 -0000 To: Jose Luis Ayala Cc: cgen@sources.redhat.com Subject: Re: Calling C functions In-Reply-To: <1015926799.4568.6.camel@eureka> References: <1015926799.4568.6.camel@eureka> X-Mailer: VM 6.75 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-SW-Source: 2002-q1/txt/msg00070.txt.bz2 Hi. >>>>> "Jose" == Jose Luis Ayala writes: Jose> I'm working with the arm7.cpu architecture and I've addded calls to C Jose> functions with c-raw-call sentences. These functions have been written Jose> into an arm7.opc file. However, recompilation of the opcodes directory Jose> does not read this file and does not generate the resulting Jose> files. It would probably be best to post some fragments of your .opc file, if you can, but from memory, the .opc file must follow the name of the arch (as defined in the cpu description), not the filename of the .cpu file. This is, admittedly, a bit of a gotcha. Try renaming arm7.opc to arm.opc and regenerate--see if that helps. Ben