[cfe-users] Adding linker flag `-save-temps` resolves the clang-8 error: "unable to make temporary file"

2020-08-12 Thread Danijel DOMAZET via cfe-users
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"

Re: [cfe-users] Adding linker flag `-save-temps` resolves the clang-8 error: "unable to make temporary file"

2020-08-13 Thread Danijel DOMAZET via cfe-users
rmission to access the current directory? > > On Wed, Aug 12, 2020 at 6:28 AM Danijel DOMAZET via cfe-users > wrote: > > > > Hi clang users, > > I am using Windows10 + Cygwin + Eclipse + LLVM toolchain to build a > C/C++ > > project. > > > > Th

Re: [cfe-users] Adding linker flag `-save-temps` resolves the clang-8 error: "unable to make temporary file"

2020-08-13 Thread Danijel DOMAZET via cfe-users
locally, and observed that that's where the files > > were written to. > > > > > > > > Thanks, > > > Danijel Domazet > > > > > > > > > On Thu, Aug 13, 2020 at 12:11 AM David Blaikie > wrote: > > >> > > >>

Re: [cfe-users] Adding linker flag `-save-temps` resolves the clang-8 error: "unable to make temporary file"

2020-10-05 Thread Danijel DOMAZET via cfe-users
lve my problem? Danijel On Thu, Aug 13, 2020 at 8:27 PM David Blaikie wrote: > Oh, sorry, I didn't read the question in detail about how -save-temps > was making things work when they otherwise were not. > > If you run clang with -### it'll show the command lines it's u