This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Re: Calling C functions
- From: Ben Elliston <bje at redhat dot com>
- To: Jose Luis Ayala <jayala at die dot upm dot es>
- Cc: cgen at sources dot redhat dot com
- Date: Tue, 12 Mar 2002 20:59:45 +1100 (EST)
- Subject: Re: Calling C functions
- References: <1015926799.4568.6.camel@eureka>
Hi.
>>>>> "Jose" == Jose Luis Ayala <jayala@die.upm.es> 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