Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to compile Emscripten as easily as now, but without the console and emscripten logo?

When compiling C++ with emscripten without any parameters, it generates an html file with console and emscripten logo, besides the webgl canvas.

Is it possible to disable the logo\console and just have it generate html\js for a blank webpage filled with the webgl canvas?

like image 666
Viktor Sehr Avatar asked Apr 04 '16 16:04

Viktor Sehr


People also ask

How do you run Emscripten?

On Windows open the Emscripten Command Prompt, a command prompt that has been pre-configured with the correct system paths and settings to point to the active Emscripten tools. To access this prompt, type Emscripten in the Windows 8 start screen, and then select the Emscripten Command Prompt option.

What is Emscripten used for?

Emscripten is a complete Open Source compiler toolchain to WebAssembly. Using Emscripten you can: Compile C and C++ code, or any other language that uses LLVM, into WebAssembly, and run it on the Web, Node. js, or other wasm runtimes.

What is EMCC compiler?

The Emscripten Compiler Frontend ( emcc ) is used to call the Emscripten compiler from the command line. It is effectively a drop-in replacement for a standard compiler like gcc or clang.


1 Answers

Use emcc --shell-file <path>

https://kripken.github.io/emscripten-site/docs/tools_reference/emcc.html

like image 73
zakki Avatar answered Sep 19 '22 01:09

zakki