diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-04-24 00:11:51 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-04-24 00:11:51 +0000 |
commit | 039d3da3653a76cc00c67be273799c4f0b007f88 (patch) | |
tree | c3545dbd32c9569ccc4480342148c54d08591a63 /tests/Makefile | |
parent | a7e61ed44693062abac4cc3d7a72794545969111 (diff) |
added user mode libqemu usage example
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@739 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tests/Makefile')
-rw-r--r-- | tests/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile index 25742e2aed..5116294561 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -62,6 +62,11 @@ speed: sha1 sha1-i386 runcom: runcom.c $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< +# NOTE: -fomit-frame-pointer is currently needed : this is a bug in libqemu +qruncom: qruncom.c ../i386-user/libqemu.a + $(CC) $(CFLAGS) -fomit-frame-pointer $(LDFLAGS) -I../target-i386 -I.. -I../i386-user \ + -o $@ $< -L../i386-user -lqemu -lm + # arm test hello-arm: hello-arm.o arm-linux-ld -o $@ $< |