Code Monkey home page Code Monkey logo

emu-ex-plus-alpha's Introduction

This is a mirror of http://code.google.com/p/emu-ex-plus-alpha/ with changes to make (some of) the projects compile on my computer.

The sources use some C11 features so need either gcc-4.7 or clang 3.1 to compile. Clang was very easy and straight forward to setup so that's what I used. Mostly based on https://wiki.mozilla.org/Android/Clang.


Some very rough notes (that are at this point in time no longer 100% valid so beware in case you try to follow them).


mkdir build-android
cd build-android
cmake -DCMAKE_INSTALL_PREFIX=~/android/android-ndk-r7-crystax-4/toolchains/clang/  -DLLVM_TARGETS_TO_BUILD=ARM ..
make -j4 install
cd ~/android/android-ndk-r7-crystax-4/toolchains/clang/lib/clang/3.1
mv include/ include.old
ln -s ../../../arm-linux-androideabi-4.6.3/prebuilt/darwin-x86/lib/gcc/arm-linux-androideabi/4.6.3/include/ include

ln -s gcc/bin/arm-linux-androideabi-ld arm-linux-androideabi-ld



export ANDROID_NDK_PATH=~/android/android-ndk-r7-crystax-4
export IMAGINE_PATH=$(pwd)/imagine
export PATH=$PATH:$ANDROID_NDK_PATH/toolchains/clang-android/bin
export CHOST=arm-linux-androideabi

cd imagine/bundle/all/src/freetype && make -f android-armv7.mk install
cd ../libpng && make -f android-armv7.mk install
cd ../unzip && make -f android-armv7.mk


cd NES.emu
make android_antTarget=debug config_android_noArmv6=1 android-apk

emu-ex-plus-alpha's People

Contributors

quarnster avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.