[swift-dev] Proof-of-concept port of Swift for Android

2015-12-08 Thread Zhuowei Z via swift-dev
Hello, I'm currently working on adding support to the Swift compiler to allow it to target Android. Currently I've managed to get the stdlib to compile after hacking around/disabling a bunch of stuff (the custom linker script, the dl_iterate_phdr stuff, and the posix_spawn support), and managed

[swift-dev] Including third-party code in repo

2015-12-19 Thread Zhuowei Z via swift-dev
Hello, I'm currently working on a port of Swift to Android. Since Android's libc is missing a few required methods, I added code from a few other sources to implement the functionality. Specifically, I added an implementation of posix_spawn from the FreeBSD libc, floating point routines from A