aboutsummaryrefslogtreecommitdiff
path: root/tools/emmaken.py
AgeCommit message (Collapse)Author
2012-03-20Misc fixes for Windows.Sigmund Vik
Most of these changes have to do with how python scripts are invoked. For Linux, 'Popen([EMCC] + args)' works because the first line in emcc is '#!/usr/bin/env python'. On Windows, the python interpreter has to be explicitly invoked, e.g. 'Popen(['python', EMCC] + args)'. Note that there is no harm in explicitly invoking the python interpreter on Linux, so this works on both platforms. For Windows, execvp() behaves differently than on Linux: http://mail.python.org/pipermail/python-list/2002-July/763863.html http://msdn.microsoft.com/en-us/library/3xw6zy53.aspx This causes many strange things to happen as the parent process terminated before its children. In this change the use of execvp() has been replaced with subprocess.call(). This change also fixes some code that assumed that the path separator always is '/', but for Windows it is '\'. And where the path module can be required, we use path.normalize() and path.resolve() to check if a filename is absolute in a platform agnostic manner.
2012-01-31Merge pull request #198 from ehsan/import_shared_properlyAlon Zakai
Import shared.py properly
2012-01-30Import shared.py properlyEhsan Akhgari
2012-01-28Enable the EM_CONFIG environment variable to override ~/.emscriptenEhsan Akhgari
This commit fixes issue #180.
2011-12-18deprecate emmaken.py and emconfiguren.pyAlon Zakai
2011-12-17fix poppler testAlon Zakai
2011-12-16temporarily return emmaken to test runner instead of emccAlon Zakai
2011-12-14initial prep for emcc by defaultAlon Zakai
2011-11-17Add first comments to guide to SCons setupLCID Fire
2011-11-15emconfiguren script and refactor BuildingAlon Zakai
2011-11-15ignore and warn about -Ox in emmakenAlon Zakai
2011-11-13use our own headers with the native compiler during configure in emmakenAlon Zakai
2011-11-04emmaken fixAlon Zakai
2011-10-16emmaken docsAlon Zakai
2011-10-16allow modifying the compiler in emmakenAlon Zakai
2011-10-13remove obsolete emmaken possibility to use llvm-gccAlon Zakai
2011-10-05path fixesAlon Zakai
2011-10-05fix merge conflictsAlon Zakai
2011-09-24start to include system headers (tests broken)Alon Zakai
2011-09-23Edited tools/emmaken.py via GitHubSiggyBar
2011-09-16emmaken fixes: handle c++ files and -include more properlyAlon Zakai
2011-09-03simplify emmaken with EMMAKEN_JUST_CONFIGURE, and use llvm-ld instead of ↵Alon Zakai
llvm-link for better compatibility
2011-07-29Merge pull request #57 from max99x/masterkripken
Filesystem, unistd, and others
2011-07-29js engine and emmaken fixesAlon Zakai
2011-07-23Removed some leftover unnecessary code from the struct layout parser;max99x
Removed an extra define in emmaken.py, previously added by mistake.
2011-07-20Fixed various metadata parsing error and activated -g by default in settings ↵max99x
and emmaken.
2011-07-03additional undefines for emmakenAlon Zakai
2011-06-12minor emmaken fixesAlon Zakai
2011-05-21emmaken fixAlon Zakai
2011-05-09misc emmaken improvementsAlon Zakai
2011-04-27handle ar arguments properly in emmakenAlon Zakai
2011-04-27emmakenxx.py to handle .c files in projects that are really c++Alon Zakai
2011-04-26emmaken support for cmake c++ buildsAlon Zakai
2011-02-27openjpeg testAlon Zakai
2011-02-27debugging info and test runner fixesAlon Zakai
2011-02-13debugging fixesAlon Zakai
2011-02-10use clang in emmaken and in freetype&zlib testsAlon Zakai
2011-01-31misc cleanups and fixesAlon Zakai
2011-01-23minor fixes and optimizationsAlon Zakai
2011-01-14refactor shared components of python tools, and add emmaken.pyAlon Zakai