On Tue, Apr 21, 2020 at 11:59 PM Kaushal Modi <kaushal.modi@xxxxxxxxx> wrote: > Hello, > > I use gcc to compile the C/C++ code generated by Nim ( > https://nim-lang.org/). > > Nim has a feature where it can read in the nim code via pipe. So I can do > > echo echo NimVersion | nim c -r - > I forgot to add an observation here. Above should create an executable named stdinfile in the /tmp cache dir ($XDG_CACHE_HOME) and then run it. Even though above fails with the "can't open nm output" fatal error, gcc does actually end up compiling the stdinfile, which I can then manually run and it runs fine. The issue is that when nim is compiling that executable via gcc and then running it, this fatal error happens somewhere inbetween.