This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: missing something stupid about sem-switch.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]