mirror of
https://github.com/ctm/syn68k.git
synced 2024-11-24 15:32:27 +00:00
Builds on i386 Fedora 9 system. Haven't yet verified that Exeuctor works with it, though.
This commit is contained in:
parent
9409c41302
commit
253d704e71
17
README
17
README
@ -1,9 +1,6 @@
|
||||
Syn68k has not been actively worked on for about thirteen years. A few
|
||||
Syn68k has not been actively worked on since about 1995. A few
|
||||
mods have been made here and there to keep up with changes in gcc.
|
||||
|
||||
Right now I'm putting it on github (with Mat Hostetter's permission)
|
||||
as-is. I haven't even tried building it in the last year or so.
|
||||
|
||||
My email address is still <ctm@ardi.com>, although ARDI itself is
|
||||
defunct. I get a ridiculous amount of spam and will quite possibly
|
||||
not see email addressed to me.
|
||||
@ -13,6 +10,14 @@ write a little documentation, explain a little history, maybe even
|
||||
set up a mailing list for people, etc... but other things have always
|
||||
taken precedence.
|
||||
|
||||
Executor will be put on github soon.
|
||||
I have just made some mods so that Syn68k will compile on a Fedora 9
|
||||
i386 system. I haven't yet tested it against anywhere else, nor have
|
||||
I verified that what is created will actually work with Executor.
|
||||
|
||||
September 26th 2008
|
||||
To compile it, try
|
||||
|
||||
./autogen.sh
|
||||
./configure
|
||||
make
|
||||
|
||||
June 1st, 2009
|
||||
|
@ -8,6 +8,7 @@ AC_CONFIG_HEADER([config.h])
|
||||
|
||||
# Checks for programs.
|
||||
AC_PROG_CC
|
||||
AM_PROG_CC_C_O
|
||||
AC_PROG_RANLIB
|
||||
AM_PROG_AS
|
||||
|
||||
|
@ -15,7 +15,7 @@ LOCAL_CFLAGS = -DRUNTIME -Iinclude
|
||||
|
||||
all: libsyn68k.a
|
||||
|
||||
%.o:%.c
|
||||
.c.o:
|
||||
$(CC) $(CFLAGS) -c $(LOCAL_INCLUDES) $< -o $@
|
||||
|
||||
OBJS = block.o diagnostics.o hash.o rangetree.o translate.o alloc.o \
|
||||
@ -73,6 +73,8 @@ syn68k.c mapindex.c mapinfo.c profileinfo.gz: ../syngen/syngen syn68k_header.c 6
|
||||
../runtime/include/hash.h \
|
||||
../runtime/include/interrupt.h \
|
||||
../runtime/include/trap.h
|
||||
cp -p $(srcdir)/68k.scm $(srcdir)/syn68k_header.c $(srcdir)/68k.defines.scm .
|
||||
if [ "$(srcdir)" != "." ]; then \
|
||||
cp -p $(srcdir)/68k.scm $(srcdir)/syn68k_header.c $(srcdir)/68k.defines.scm . ; \
|
||||
fi
|
||||
../syngen/syngen -v 68k.scm
|
||||
gzip -1f profileinfo
|
||||
|
@ -29,7 +29,7 @@ inline_cmpb (uint8 n1, uint8 n2)
|
||||
"seto %2"
|
||||
: "=m" (cpu_state.ccc), "=m" (cpu_state.ccn),
|
||||
"=m" (cpu_state.ccv), "=m" (cpu_state.ccnz)
|
||||
: "g" (n1), "ri" (n2)
|
||||
: "q" (n1), "ri" (n2)
|
||||
: "cc");
|
||||
}
|
||||
|
||||
|
@ -33,7 +33,7 @@ xlatetable.o: xlatetable.c
|
||||
xlate.o: xlate.c
|
||||
$(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -c $(LOCAL_INCLUDES) -o $(@F) $<
|
||||
|
||||
%.o:%.c
|
||||
.c.o:
|
||||
$(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -c $(LOCAL_INCLUDES) -o $(@F) $<
|
||||
|
||||
## ifneq ($(NO_NATIVE), TRUE)
|
||||
|
Loading…
Reference in New Issue
Block a user