Sigmund Vik
f829735cc3
Misc fixes for Windows.
...
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-03-20 14:26:50 +01:00
Alon Zakai
2761fe8d19
Merge pull request #198 from ehsan/import_shared_properly
...
Import shared.py properly
2012-01-31 14:11:57 -08:00
Ehsan Akhgari
f10e3e811d
Import shared.py properly
2012-01-30 17:31:07 -05:00
Ehsan Akhgari
35a874392b
Enable the EM_CONFIG environment variable to override ~/.emscripten
...
This commit fixes issue #180 .
2012-01-28 15:48:55 -05:00
Alon Zakai
a734d2ab17
deprecate emmaken.py and emconfiguren.py
2011-12-18 09:21:57 -08:00
Alon Zakai
0382c236cf
fix poppler test
2011-12-17 12:07:44 -08:00
Alon Zakai
27b3e73124
temporarily return emmaken to test runner instead of emcc
2011-12-16 08:49:00 -08:00
Alon Zakai
8e7d56453f
initial prep for emcc by default
2011-12-14 16:16:59 -08:00
LCID Fire
0093586dc8
Add first comments to guide to SCons setup
2011-11-17 22:31:11 +01:00
Alon Zakai
f154768666
emconfiguren script and refactor Building
2011-11-15 10:21:50 -08:00
Alon Zakai
59612a8c0b
ignore and warn about -Ox in emmaken
2011-11-15 09:56:44 -08:00
Alon Zakai
811e884009
use our own headers with the native compiler during configure in emmaken
2011-11-13 14:38:15 -08:00
Alon Zakai
2f2878018c
emmaken fix
2011-11-04 16:00:26 -07:00
Alon Zakai
350fa1956b
emmaken docs
2011-10-16 14:17:38 -07:00
Alon Zakai
a2c5f07501
allow modifying the compiler in emmaken
2011-10-16 14:08:52 -07:00
Alon Zakai
3f3505046f
remove obsolete emmaken possibility to use llvm-gcc
2011-10-13 10:35:08 -07:00
Alon Zakai
417d47d048
path fixes
2011-10-05 11:12:45 -07:00
Alon Zakai
3b7e914142
fix merge conflicts
2011-10-05 09:55:48 -07:00
Alon Zakai
2f11f2e153
start to include system headers (tests broken)
2011-09-24 18:21:58 -07:00
SiggyBar
7ff3aa30d5
Edited tools/emmaken.py via GitHub
2011-09-23 13:41:12 +03:00
Alon Zakai
460a975de0
emmaken fixes: handle c++ files and -include more properly
2011-09-16 15:34:34 -07:00
Alon Zakai
3f89bd84dc
simplify emmaken with EMMAKEN_JUST_CONFIGURE, and use llvm-ld instead of llvm-link for better compatibility
2011-09-03 18:26:55 -07:00
kripken
d49f169b48
Merge pull request #57 from max99x/master
...
Filesystem, unistd, and others
2011-07-29 18:03:37 -07:00
Alon Zakai
dece1080e8
js engine and emmaken fixes
2011-07-29 15:16:50 -07:00
max99x
d90e1795ec
Removed some leftover unnecessary code from the struct layout parser;
...
Removed an extra define in emmaken.py, previously added by mistake.
2011-07-23 06:11:59 +03:00
max99x
08a7f5d20f
Fixed various metadata parsing error and activated -g by default in settings and emmaken.
2011-07-20 04:39:44 +03:00
Alon Zakai
44904acd1d
additional undefines for emmaken
2011-07-03 08:26:39 -07:00
Alon Zakai
bc1a69c5ec
minor emmaken fixes
2011-06-12 14:27:36 -07:00
Alon Zakai
f5b1b079b7
emmaken fix
2011-05-21 21:19:10 -07:00
Alon Zakai
df7285ed9e
misc emmaken improvements
2011-05-09 17:23:26 -07:00
Alon Zakai
1b2b60f55a
handle ar arguments properly in emmaken
2011-04-27 17:21:18 -07:00
Alon Zakai
85cba40ddc
emmakenxx.py to handle .c files in projects that are really c++
2011-04-27 16:58:13 -07:00
Alon Zakai
6345f59ce8
emmaken support for cmake c++ builds
2011-04-26 17:07:29 -07:00
Alon Zakai
6b7f4ffa84
openjpeg test
2011-02-27 16:55:53 -08:00
Alon Zakai
40ab3e2847
debugging info and test runner fixes
2011-02-27 16:54:21 -08:00
Alon Zakai
4c884d8526
debugging fixes
2011-02-13 09:50:08 -08:00
Alon Zakai
f509bad6cf
use clang in emmaken and in freetype&zlib tests
2011-02-10 20:03:01 -08:00
Alon Zakai
9c584561a8
misc cleanups and fixes
2011-01-31 07:43:01 -08:00
Alon Zakai
df10a98f50
minor fixes and optimizations
2011-01-23 18:23:44 -08:00
Alon Zakai
9d209878f9
refactor shared components of python tools, and add emmaken.py
2011-01-14 22:44:52 -08:00