* missing something stupid about sem-switch.c
@ 2001-05-15 14:45 Alan Lehotsky
2001-05-15 15:07 ` Ben Elliston
2001-05-15 15:10 ` Johan Rydberg
0 siblings, 2 replies; 3+ messages in thread
From: Alan Lehotsky @ 2001-05-15 14:45 UTC (permalink / raw)
To: cgen
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.
It there something "known" about this. I've got maintainer mode enabled in the configure, I modified the
Makefile.in file to have a dependency between sem-switch.o and the stamp-cpu
If I manually run guile as per the directions in the docs file, I can run the (cgen-sem-switch.c) and it
spits out what looks like a good file to standard out. But when I turn around and do the
make arch
make cpu
make mloop
I end up without a sem-switch.c, AND I have a sem.c that won't compile because it wants to call SEM_BRANCH_FINI
with ONE argument, when the macro version we're expanding expects 3 arguments.
I know I'm doing something stupid - I just don't know what?
-- Al
--
------------------------------------------------------------------------
Quality Software Management
http://home.earthlink.net/users/~qsmgmt
apl@alum.mit.edu
(978)287-0435 Voice
(978)808-6836 Cell
(978)287-0436 Fax
Software Process Improvement and Management Consulting
Language Design and Compiler Implementation
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: missing something stupid about sem-switch.c
2001-05-15 14:45 missing something stupid about sem-switch.c Alan Lehotsky
@ 2001-05-15 15:07 ` Ben Elliston
2001-05-15 15:10 ` Johan Rydberg
1 sibling, 0 replies; 3+ messages in thread
From: Ben Elliston @ 2001-05-15 15:07 UTC (permalink / raw)
To: Alan Lehotsky; +Cc: cgen
>>>>> "Alan" == Alan Lehotsky <apl@alum.mit.edu> writes:
Alan> It there something "known" about this. I've got maintainer
Alan> mode enabled in the configure, I modified the Makefile.in file
Alan> to have a dependency between sem-switch.o and the stamp-cpu
(I assume you meant sem-switch.c).
Can you post the relevant parts of your Makefile? The shell scripts
that control generating the sim parts are not very intuitive and there
are a couple of subtleties.
Ben
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: missing something stupid about sem-switch.c
2001-05-15 14:45 missing something stupid about sem-switch.c Alan Lehotsky
2001-05-15 15:07 ` Ben Elliston
@ 2001-05-15 15:10 ` Johan Rydberg
1 sibling, 0 replies; 3+ messages in thread
From: Johan Rydberg @ 2001-05-15 15:10 UTC (permalink / raw)
To: Alan Lehotsky; +Cc: cgen
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-05-15 15:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-15 14:45 missing something stupid about sem-switch.c Alan Lehotsky
2001-05-15 15:07 ` Ben Elliston
2001-05-15 15:10 ` Johan Rydberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).