SDL由于有Androd SDL project,所以移植很轻松
下载文件android-project.zip后
解压,修改jni/jpeg/jidctfst.S
修改66行
PLD (r2, #0)
为
PLD [r2, #0]
修改259行
PLD (sp, #off_WORKSPACE)
为
PLD [sp, #off_WORKSPACE]
修改271行
PLD (ip, #32)
为
PLD [ip, #32]
jni目录下执行ndk-build即可