Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Building the emulator without the Android build system:
- -------------------------------------------------------
- You can also build the emulator as a stand-alone program, by following
- these simple steps:
- 1/ First, build Android's patched libSDL as a static library,
- this can be done as:
- cd $TOP/external/qemu/distrib/sdl-1.2.12
- ./android-configure --prefix=<PATH>
- make
- make install
- Where $TOP is the path of your open-source Android source tree, and
- where <PATH> is any path of your chosing where the library will
- be copied to by the 'make install' command. For example, you
- can use $HOME/android-sdl
- 2/ Configure the emulator with android-configure.sh, as in:
- cd $TOP/external/qemu
- ./android-configure.sh --sdl-config=<PATH>/bin/sdl-config
- make
- Where <PATH> is the same path you used with the --prefix option
- when building the SDL library
- The emulator binary is located into objs/emulator, you can strip it and
- copy it to any location of your choosing.
Add Comment
Please, Sign In to add comment