2012-02-24 18 views
1

単純なCファイルをコンパイルできません単純なCファイル(メインのみ):エラーが発生しました:打ち鳴らすは、私はちょうどにcygwinので打ち鳴らすをインストールした

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) 

あなたの助けの2行はあなたの心配している場合 NK

+1

'clang -v -c yoursource.c'を推奨どおり実行しようとしましたか? –

答えて

1

ありがとうございます。 しかし、問題はcygwinのincreasing the heap sizeによって修正されています。

ありがとうございました

1

感謝大幅にされています

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 ... 

あなたはプログラムの名前を知っていて、それがあなたのパスにない理由(たとえば)を調べることができます。

関連する問題