You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logger.debug("running: "+' '.join(shared.Building.doublequote_spaces(args))) # NOTE: Printing this line here in this specific format is important, it is parsed to implement the "emcc --cflags" command
1788
1798
ifrun_process(args, check=False).returncode!=0:
1789
1799
exit_with_error('compiler frontend failed to generate LLVM bitcode, halting')
1790
-
assert(os.path.exists(output_file))
1800
+
ifoutput_file!='-':
1801
+
assert(os.path.exists(output_file))
1791
1802
1792
1803
# First, generate LLVM bitcode. For each input file, we get base.o with bitcode
exit_with_error('SIDE_MODULE must only be used when compiling to an executable shared library, and not when emitting an object file. That is, you should be emitting a .wasm file (for wasm) or a .js file (for asm.js). Note that when compiling to a typical native suffix for a shared library (.so, .dylib, .dll; which many build systems do) then Emscripten emits an object file, which you should then compile to .wasm or .js with SIDE_MODULE.')
1891
1902
iffinal_suffix.lower() in ('.so', '.dylib', '.dll'):
0 commit comments