Already posted a few times but all of them gets deleted automatically. Testing if this one will remain...
s...@google.com a következőt írta (2020. augusztus 27., csütörtök, 21:23:05 UTC+2): > This is because emsdk doesn't read the config file at all, it only writes > it during `activate`. > > I think that is doing on is that emsdk is not aware that you have > installed binaryen or llvm so it doesn't think those tool are part of the > config. Tools have to be "activate"d before emsdk will consider them part > of the config I believe. > > If you are building your own tools and writing your own `.emscripten` file > I suggest you put the config file in the `emscripten` directory itself. > This is the first place emscripten will look for the config file (alongside > emcc). > > Then you should be able to simply add the emscripten directory to your > PATH and avoid emsdk_env completely. (since you are not really using the > emsdk at this point). > > Should we look into the reasons why "it unfortunately cannot be built from > source"? Is it a netbsd specific thing? > > cheers, > sam > > > > On Wed, Aug 26, 2020 at 8:55 AM r0l...@freemail.hu <r0l...@freemail.hu> > wrote: > >> >> Hi All, >> >> I've just installed and activated emsdk 1.39.8 on my NetBSD box and as it >> unfortunately cannot be built from source I built binaryen and fastcomp >> separately so that I can simply set up my .emscripten config so that >> LLVM_ROOT and BINARYEN_ROOT point to those directories. So the relevant >> paths look like this in emsdk/.emscripten: >> >> LLVM_ROOT = '/home/r0ller/fastcomp/emscripten-fastcomp/build' >> BINARYEN_ROOT = ' /home/r0ller/binaryen' >> EMSCRIPTEN_ROOT = emsdk_path + '/upstream/emscripten' >> >> However, no matter what I set up for LLVM_ROOT or BINARYEN_ROOT (paths >> ending in /bin or not as above), when issuing 'source emsdk_env.sh', it >> spits out only one environment variable that gets set up: >> >> EMSDK = /home/r0ller/emsdk >> >> What am I doing wrong? By the way, is there any way to build 1.39.8 from >> source like certain tagged versions? >> >> Thanks®ards, >> r0ller >> >> -- >> 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-disc...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/emscripten-discuss/c5e813b3-37f7-4b30-9bd0-9e4fbac1cdecn%40googlegroups.com >> >> <https://groups.google.com/d/msgid/emscripten-discuss/c5e813b3-37f7-4b30-9bd0-9e4fbac1cdecn%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/9e2709fb-01da-4682-b529-484a6c7c7bb1n%40googlegroups.com.