Re: [cfe-users] clang -cc1 with -c gives 'unknown argument error

2017-03-03 Thread don hinton via cfe-users
To get the proper -cc1 invocation, try passing -###, e.g., echo "" | clang -xc++ -c - -### hth... don On Fri, Mar 3, 2017 at 8:50 AM Larry Evans via cfe-users < cfe-users@lists.llvm.org> wrote: > According to: > > https://gist.github.com/masuidrive/5231110 > > -cc1 with -c should work; howeve

[cfe-users] clang -cc1 with -c gives 'unknown argument error

2017-03-03 Thread Larry Evans via cfe-users
According to: https://gist.github.com/masuidrive/5231110 -cc1 with -c should work; however, it doesn't: --{--cut here-- /home/evansl/dwnlds/llvm/3.9/prebuilt/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-16.04/bin/clang++ --version clang version 3.9.0 (tags/RELEASE_390/final) Target: x86_64-unknow