Running "clang hello_world.cpp" runs the the traditional clang compiler that targets a native execution. Like Alon mentions, you want to run emcc/em++ hello_world.cpp instead to build a javascript file.
2014-03-17 16:30 GMT-07:00 Alon Zakai <[email protected]>: > emcc should generate a.out.js by default, as the output file name. > > If that is not the issue, do you see any errors shown when you run > emcc hello_world.cpp? > > - Alon > > > > On Mon, Mar 17, 2014 at 3:39 PM, Kiran Rohankar <[email protected] > > wrote: > >> I have installed emsripten as per specification on my windows 8 64 bit. >> >> I copied hello_world.cpp file in my C:/program files/Emscripten directory. >> Now when I run my clang hello_world.cpp a.out file is created. >> When i run a.out I get hello_world!! as a output. >> >> But when no hello_world.js file is created. >> Can anybody please help me? >> >> thank you in advanced. >> >> -- >> 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 [email protected]. >> 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 [email protected]. > 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
