<div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Hi clang users,
I am using Windows10 + Cygwin + Eclipse + LLVM toolchain to build a C/C++
project.
The files compile fine, but linking with `clang++` fails with multiple
`error: unable to make temporary file: No such file or directory`.
clang++ -o test "source1.bc" "source2.bc" "source3.bc"
clang-8: error: unable to make temporary file: No such file or directory
clang-8: error: unable to make temporary file: No such file or directory
clang-8: error: unable to make temporary file: No such file or directory
Linker generates one error per each object file.
However, when I add the `-save-temps` option to linker, it works OK.
I am launching Eclipse.exe from within Cygwin. I have tried to set TMP,
TEMP to /temp, /temp/, /cygdrive/c/temp, etc, but nothing worked.
What could be the problem?
Thanks,
Danijel Domazet</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><br></pre><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div></div></div></div></div></div></div></div></div>
<br>
<div style="font-family:Arial,Helvetica,sans-serif;font-size:1.3em"><span style="font-size:medium">- Confidential -</span></div>