Just follow the instructions at 
http://kripken.github.io/emscripten-site/docs/getting_started/downloads.html 
to download the portable emsdk for linux and OSX. It'll build everything 
needed to do cool stuff. In the context of Emscripten, read "SDK" as 
"toolchain," like getting mingw or codesourcery.

Thankfully, Emscripten doesn't care what your development workflow is. I'm 
working on linux, editing files in both vim and Sublime Text. Just call 
emcc from the commandline to build instead of gcc, or something more like 
"emmake make" instead of "make."

Also, definitely install nodejs - it helps to be able to run tests! 
"EMCONFIGURE_JS=1 emconfigure ./configure" instead of "./configure" will 
build tests with emscripten and run them with nodejs - quite handy.

On Wednesday, March 18, 2015 at 8:28:37 PM UTC-4, Roderick Marvin wrote:
>
> Greetings!
>
> I would like to begin working with Emscripten (directed toward asm.js) and 
> have some basic questions.  It appears as if basically the entire chain is 
> included in Fastcomp, my first question is there:
>
> From the documentation 
> <http://kripken.github.io/emscripten-site/docs/building_from_source/LLVM-Backend.html#getting-fastcomp>
> :
>
> The backend is still too new to be in the upstream LLVM repository. As 
>> such, builds from Linux distributions will not contain Fastcomp, and 
>> Emscripten will report an error if you try to use them.
>>
>
> *Fastcomp (Clang) is part of the Emscripten SDK, and the binaries are 
>> automatically provided during installation (except on Linux, where 
>> pre-built binaries are not supplied so the SDK builds them for you).*
>
>
> Does the first sentence mean that I will be unable to install Fastcomp in 
> linux?  Or just that it's not included in the Emscripten Linux build(?). 
>  If it's not included and yet is still able to be used, how does one do so? 
>  Or does the second sentence mean that Fastcomp is not included in the 
> build for the Linux distribution, but the binaries are?  I'm a bit confused 
> as to the meaning here.
>
> Additionally, if it is possible to setup in Linux, does the fact that 
> Emscripten uses LLVM and Clang have any bearing on whether or not I would 
> be able to use a text editor with standard C++ syntax highlighting to 
> create the code, upload it to my linux box, and compile it toward asm?
>
> Cheers and much appreciation for the effort of everyone to bring better 
> performance to web-based interactions,
> Rod
>

-- 
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.

Reply via email to