The difference is the same as with clang and clang++ or gcc vs g++, one is
for C sources, another one for c++ sources. Emcc is also able to build c++
sources, which happens when the source type is autodetected from its file
extension (.cpp is always built as C++).

2016-09-21 6:53 GMT+03:00 Grant Rostig <grantrost...@gmail.com>:

> Hi,
>
> Documenation of difference between em++ and emcc?  Can't find any
> documentation on the subject.
>
> Output seems to be the same on a simple c++ program, but the two commands
> appear to be different.
>
> [grostig@localhost emsripten1]$ ls -l 
> ~/src/emsdk_portable/emscripten/master/emcc
> ~/src/emsdk_portable/emscripten/master/em++
> -rwxrwxr-x. 1 grostig grostig 477 Sep 19 16:28 /home/grostig/src/emsdk_
> portable/emscripten/master/em++
> -rwxrwxr-x. 1 grostig grostig 384 Sep 19 16:28 /home/grostig/src/emsdk_
> portable/emscripten/master/emcc
>
>
> [grostig@localhost emsripten1]$ sum 
> ~/src/emsdk_portable/emscripten/master/emcc
> ~/src/emsdk_portable/emscripten/master/em++
> 45274     1 /home/grostig/src/emsdk_portable/emscripten/master/emcc
> 61974     1 /home/grostig/src/emsdk_portable/emscripten/master/em++
> [grostig@localhost emsripten1]$
>
> I'm just curious I guess.
>
> ++Regards, Grant
>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to emscripten-discuss+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to emscripten-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to