On Mon, Dec 12, 2011 at 3:27 PM, Jakob Kummerow <[email protected]>wrote: > > On Mon, Dec 12, 2011 at 20:50, Matt Seegmiller <[email protected]> wrote: > >> I came across this: >> >> https://github.com/appcelerator/v8_titanium >> > > That's a nice find. I like their build setup. I gotta say I'm surprised, > though, that it works at all with what little patching they're doing :-) > > If you have time, I'd be very interested in what the optimal GCC compiler > flags are for building for ARM/Android. There might be a few percent of > performance to gain by carefully selecting optimization flags. >
Right now I'm not to the point of worrying too much about optimization. That could change in a couple months, though, and if it does I'll get back to you. > Using the build script wrapper in there, that sets up an NDK toolchain and >> then builds using scons, I was able to compile V8 for Android successfully. >> Is there any gotcha with this method of building V8 for Android I should >> watch out for? Also, are there any gotchas of using V8 on Android that I >> should be aware of in general? >> > > If it compiles and runs, it seems you've successfully evaded any gotchas. > One thing to be aware of is that the SCons based build is on its way out. > By the time we actually delete the SConstruct files, however, the gyp/make > based build should provide similarly comfortable support for building for > Android, so it shouldn't be much of a hassle for any downstream projects to > switch. (ETA for this is unknown, I was hoping Q4, but that's out of the > question by now. There'll be plenty of warning.) > Yeah, I was aware of that. I was hoping to find a way of building with GYP, but seeing this script and having it work so well, so quickly, I'm happy to use it for the time being. Thanks again! matt -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
