https://github.com/kripken/emscripten
Raw File
Tip revision: 147bc5e8b13ee6659b6a259a29400c53c537fb1c authored by Alon Zakai on 14 September 2013, 21:44:56 UTC
dynamically determine relooper heap size using RELOOPER_BUFFER_SIZE
Tip revision: 147bc5e
em++
#!/usr/bin/env python2

'''
See emcc.py. This script forwards to there, noting that we want C++ and not C by default
'''

import os, subprocess, sys
from tools import shared

os.environ['EMMAKEN_CXX'] = '1'
if not os.path.exists(shared.PYTHON):
  print >> sys.stderr, 'warning: PYTHON does not seem to be defined properly in ~/.emscripten (%s)' % shared.PYTHON
exit(subprocess.call([shared.PYTHON, shared.EMCC] + sys.argv[1:]))

back to top