diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-03-11 13:19:02 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-03-11 13:19:02 -0700 |
commit | 44161f79bdb949534faa50b38979310ed7d93ce4 (patch) | |
tree | cd9e6fff530ce9a03c164d485ad64cbc375e7a34 /emcc | |
parent | 3584e6e3cb89551663d9c7d67928c8185c08cc23 (diff) |
helpful comment about necessary suffixes for emcc
Diffstat (limited to 'emcc')
-rwxr-xr-x | emcc | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -489,7 +489,10 @@ try: if ignore_dynamic_linking: input_files = filter(lambda input_file: not input_file.endswith(DYNAMICLIB_SUFFIXES), input_files) - assert len(input_files) > 0, 'emcc: no input files' + if len(input_files) == 0: + print >> sys.stderr, 'emcc: no input files' + print >> sys.stderr, 'note that input files without a known suffix are ignored, make sure your input files end with one of: ' + str(SOURCE_SUFFIXES + BITCODE_SUFFIXES + DYNAMICLIB_SUFFIXES + STATICLIB_SUFFIXES + ASSEMBLY_SUFFIXES) + exit(0) newargs += CC_ADDITIONAL_ARGS |