0
ウィンドウ上でスーパーオプティマイザをコンパイルしようとしています。 (https://github.com/bonzini/superopt) 不幸にも、私の知識は非常に限られています。私が試した:ウィンドウ上でスーパーオプティクスをコンパイルする
私にエラーを与えるmake CPU=-D386 superopt
を:
cc superopt.c -o superopt
process_begin: CreateProcess(NULL, cc superopt.c -o superopt, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [superopt] Fehler 2
を使って手動でのgccにコンパイラを設定した後:
gcc superopt.c -o superopt
In file included from superopt.c:27:0:
superopt.h:104:2: error: #error You have to choose target CPU type (--with-arch).
#error You have to choose target CPU type (--with-arch).
^
In file included from superopt.h:130:0,
from superopt.c:27:
longlong.h:1465:14: error: unknown type name 'UQItype'
extern const UQItype __clz_tab[];
^
superopt.c:32:21: fatal error: version.h: No such file or directory
compilation terminated.
make: *** [superopt] Fehler 1
:
make CPU=-D386 superopt CC=gcc
私は次のエラーを取得します
iを正しく選択していないようです386。 ヒントをいただければ幸いです。
ありがとうマイク、それは私の2つのステップを近づけました。私はstdlib.hをインクルードする必要がありました。しかし、私はまだ多くのエラーを取得します。私はそれが次の行として\理解していないと思う。 –
@DanyBittelようこそStackoverflowへようこそあなたの質問を答えたと思うかどうかは分かりませんが、もしあなたが言うなら、ありがとうございます。隣のチェックマークにチェックを入れて答えを受け入れてください(http://stackoverflow.com/help/accepted-answer)。 –