Guest User

Untitled

a guest
Jul 19th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. Building the emulator without the Android build system:
  2. -------------------------------------------------------
  3.  
  4. You can also build the emulator as a stand-alone program, by following
  5. these simple steps:
  6.  
  7. 1/ First, build Android's patched libSDL as a static library,
  8. this can be done as:
  9.  
  10. cd $TOP/external/qemu/distrib/sdl-1.2.12
  11. ./android-configure --prefix=<PATH>
  12. make
  13. make install
  14.  
  15. Where $TOP is the path of your open-source Android source tree, and
  16. where <PATH> is any path of your chosing where the library will
  17. be copied to by the 'make install' command. For example, you
  18. can use $HOME/android-sdl
  19.  
  20. 2/ Configure the emulator with android-configure.sh, as in:
  21.  
  22. cd $TOP/external/qemu
  23. ./android-configure.sh --sdl-config=<PATH>/bin/sdl-config
  24. make
  25.  
  26. Where <PATH> is the same path you used with the --prefix option
  27. when building the SDL library
  28.  
  29. The emulator binary is located into objs/emulator, you can strip it and
  30. copy it to any location of your choosing.
Add Comment
Please, Sign In to add comment