Objective c clang不编译简单的c文件

Objective c clang不编译简单的c文件,objective-c,c,cygwin,llvm,clang,Objective C,C,Cygwin,Llvm,Clang,我刚刚将clang安装到cygwin: clang版本3.1(中继151024) TargetL i386 pc cygwin 线程模型:posix 但是,在尝试编译简单c文件(仅主文件)时,出现以下错误: clang version 3.1 (trunk 151024) Target: i386-pc-cygwin Thread model: posix "/usr/local/bin/clang" -cc1 -triple i386-pc-cygwin -S -disable-free -

我刚刚将clang安装到cygwin: clang版本3.1(中继151024) TargetL i386 pc cygwin 线程模型:posix

但是,在尝试编译简单c文件(仅主文件)时,出现以下错误:

clang version 3.1 (trunk 151024)
Target: i386-pc-cygwin
Thread model: posix
 "/usr/local/bin/clang" -cc1 -triple i386-pc-cygwin -S -disable-free -main-file-name t.c -mrelocation-model static -mdisable-fp-elim -mconstructor-aliases -target-cpu pentium4 -momit-leaf-frame-pointer -v -resource-dir /usr/local/bin/../lib/clang/3.1 -fmodule-cache-path /var/tmp/clang-module-cache -fno-dwarf-directory-asm -fdebug-compilation-dir /toolchain4 -ferror-limit 19 -fmessage-length 0 -mstackrealign -fno-use-cxa-atexit -fgnu-runtime -fobjc-runtime-has-arc -fobjc-runtime-has-weak -fobjc-fragile-abi -fdiagnostics-show-option -o /cygdrive/c/Users/Br0ther/AppData/Local/Temp/t-zyOz8h.s -x c t.c
clang: error: unable to execute command: Program could not be executed
clang: error: clang frontend command failed due to signal (use -v to see invocation)
clang: note: diagnostic msg: Please submit a bug report to http://llvm.org/bugs/ and include command line arguments and all diagnostic information.
clang: error: unable to execute command: Program could not be executed
clang: note: diagnostic msg: Error generating preprocessed source(s).
任何人都知道问题的原因是什么?我不知道这条信息的含义是什么:

clang: error: unable to execute command: Program could not be executed
clang: error: clang frontend command failed due to signal (use -v to see invocation)
非常感谢你的帮助
NK

如果这两条线让你担心:

clang: error: unable to execute command: Program could not be executed
clang: error: clang frontend command failed due to signal
    (use -v to see invocation)
然后我建议您(如错误消息中所建议的)更改命令以查看它使用的调用行:

"/usr/local/bin/clang" -v -cc1 -triple i386-pc-cygwin ...

然后,您将知道该程序的名称,您可以调查为什么它不在您的路径上(例如)。

谢谢您的所有建议。 然而,这一问题已由cygwin公司解决


谢谢

您是否尝试按照建议运行
clang-v-c yoursource.c