kripken/emscripten — pull request #156 by jterrace (2012-01-04 20:45:40+00:00)
Title: Endianness, cross-compiling, and missing headers

* Adds missing pthread function ``pthread_getattr_np``
* Adds missing ``sys/termios.h``
* Adds missing ``sys/ttydefaults.h``
* Changes shared.py to set ``HOST_CC``, ``HOST_CXX``, ``HOST_CFLAGS`` and ``HOST_CXXFLAGS`` so that cross-compiling works.
* Adds additional definitions to endian.h that should be there