-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3 c046a42c-6fe2-441c-8c8c-71466251a162
- Loading branch information
bellard
committed
Feb 18, 2003
1 parent
e63c3dc
commit 31e31b8
Showing
16 changed files
with
5,791 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
CFLAGS=-Wall -O2 -g | ||
LDFLAGS=-g | ||
DEFINES=-D_GNU_SOURCE -DGEMU -DDOSEMU #-DNO_TRACE_MSGS | ||
|
||
OBJS= i386/fp87.o i386/interp_main.o i386/interp_modrm.o i386/interp_16_32.o \ | ||
i386/interp_32_16.o i386/interp_32_32.o i386/emu-utils.o \ | ||
i386/dis8086.o i386/emu-ldt.o | ||
OBJS+= elfload.o main.o thunk.o syscall.o | ||
|
||
SRCS = $(OBJS:.o=.c) | ||
|
||
all: gemu | ||
|
||
gemu: $(OBJS) | ||
$(CC) -Wl,-T,i386.ld $(LDFLAGS) -o $@ $(OBJS) | ||
|
||
depend: $(SRCS) | ||
$(CC) -MM $(CFLAGS) $^ 1>.depend | ||
|
||
%.o: %.c | ||
$(CC) $(CFLAGS) $(DEFINES) -c -o $@ $< | ||
|
||
clean: | ||
rm -f *.o *~ i386/*.o i386/*~ gemu hello test1 test2 TAGS | ||
|
||
hello: hello.c | ||
$(CC) -nostdlib $(CFLAGS) -static $(LDFLAGS) -o $@ $< | ||
|
||
test1: test1.c | ||
$(CC) $(CFLAGS) -static $(LDFLAGS) -o $@ $< | ||
|
||
test2: test2.c | ||
$(CC) $(CFLAGS) -static $(LDFLAGS) -o $@ $< | ||
|
||
ifneq ($(wildcard .depend),) | ||
include .depend | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- swap all elf paramters | ||
- fix printf for doubles (fp87.c bug ?) |
Oops, something went wrong.