News for hackers. Stuff that matters.
Re:WASM SYNTH, or, how music taught me the beauty of math by LegionMammal978 on Tuesday May 25, 2021 @11:18AM (#27277954)
In a default installation, as far as I am aware, Emscripten uses Clang as its compiler, while the code at the bottom implies it uses GCC. (To support existing build pipelines, it attempts to recognize arguments for either compiler.) Is this in error, or can Emscripten be configured to use GCC?
Re:WASM SYNTH, or, how music taught me the beauty of math by timdaub on Tuesday May 25, 2021 @11:37AM (#27278236)
OP here. Hey, if you have a source on your statement I'm happy to change the blog post towards what is correct.

It may be that I assumed emscripten to use gcc but since its been over a year I wrote about it, I'm not sure anymore and so I default to trusting what I wrote. Happy to change with a source.

Re:WASM SYNTH, or, how music taught me the beauty of math by inamiyar on Tuesday May 25, 2021 @11:47AM (#27278350)
https://emscripten.org/docs/tools_reference/emcc.html

> To see the full list of Clang options supported on the version of Clang used by Emscripten, run clang --help.

Could probably find a more authoritative statement but just a quick search.

Re:WASM SYNTH, or, how music taught me the beauty of math by timdaub on Tuesday May 25, 2021 @12:07PM (#27278608)
Thanks. Should be updated soon.
Re:WASM SYNTH, or, how music taught me the beauty of math by LegionMammal978 on Tuesday May 25, 2021 @11:52AM (#27278426)
It appears to be noted in the readme for the repo [0]: "Emscripten compiles C and C++ to WebAssembly using LLVM and Binaryen." A 32-bit Clang is present in my own emsdk installation.

[0] https://github.com/emscripten-core/emscripten/

Re:WASM SYNTH, or, how music taught me the beauty of math by timdaub on Tuesday May 25, 2021 @12:07PM (#27278603)
Thanks. Should be updated soon.