This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Re: missing something stupid about sem-switch.c
- To: Alan Lehotsky <apl at alum dot mit dot edu>
- Subject: Re: missing something stupid about sem-switch.c
- From: Johan Rydberg <johan dot rydberg at netinsight dot se>
- Date: Wed, 16 May 2001 00:10:21 +0200
- CC: cgen at sourceware dot cygnus dot com
- Organization: Net Insight AB
- References: <p0433010cb7274ae0c147@[192.168.1.254]>
Alan Lehotsky wrote:
>
> I don't seem to be able to cause sem-switch.c to be generated, and I haven't been able to figure
> out why so far.
I guess that you're trying to generate for a GNU simulators/gdb simulator.
Lookin' in sim/common/genmloop.sh you that the script takes the following
argument:
-switch file: specify file containing semantics implemented as a switch()
Example from the fr30-port Makefile:
stamp-mloop: $(srcdir)/../common/genmloop.sh mloop.in Makefile
$(SHELL) $(srccom)/genmloop.sh \
-mono -fast -pbb -switch sem-switch.c \
-cpu fr30bf -infile $(srcdir)/mloop.in
brgds,
johan