teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

4

フォルダ間違い修正

2016/06/29 02:03

投稿

imudak
imudak

スコア40

title CHANGED
File without changes
body CHANGED
@@ -90,7 +90,7 @@
90
90
  checking whether make supports nested variables... yes
91
91
  checking for gcc... gcc
92
92
  checking whether the C compiler works... no
93
- configure: error: in `/home/kazumi.okano/Documents/hello':
93
+ configure: error: in `/home/imudak/hello':
94
94
  configure: error: C compiler cannot create executables
95
95
  See `config.log' for more details
96
96
  ```

3

gcc -vの引数与えたconfigureの実行結果追加。

2016/06/29 02:03

投稿

imudak
imudak

スコア40

title CHANGED
File without changes
body CHANGED
@@ -77,7 +77,25 @@
77
77
  ```
78
78
  - linux(ubuntu16.04LTS)で同じconfigureを実行すると問題ありません。生成されたMakefileをmsys2側に持ってきてmakeすると問題なく実行できます。
79
79
 
80
+ - gcc -vで表示される引数を与えてconfigureを実行してもダメでした。
80
81
 
82
+ ```
83
+ $ ./configure --build=x86_64-pc-msys --prefix=/usr --libexecdir=/usr/lib --enable-bootstrap --enable-shared --enable-shared-li bgcc --enable-static --enable-version-specific-runtime-libs --with-arch=x86-64 --with-tune=generic --disable-multilib --enable -__cxa_atexit --with-dwarf2 --enable-languages=c,c++,fortran,lto --enable-graphite --enable-threads=posix --enable-libatomic - -enable-libcilkrts --enable-libgomp --enable-libitm --enable-libquadmath --enable-libquadmath-support --enable-libssp --disabl e-win32-registry --disable-symvers --with-gnu-ld --with-gnu-as --disable-isl-version-check --enable-checking=release --without -libiconv-prefix --without-libintl-prefix --with-system-zlib --enable-linker-build-id --with-default-libstdcxx-abi=gcc4-compat ible
84
+ configure: WARNING: unrecognized options: --enable-bootstrap, --enable-shared, --enable-shared-libgcc, --enable-static, --enable-version-specific-runtime-libs, --with-arch, --with-tune, --disable-multilib, --enable-__cxa_atexit, --with-dwarf2, --enable-languages, --enable-graphite, --enable-threads, --enable-libatomic, --enable-libcilkrts, --enable-libgomp, --enable-libitm, --enable-libquadmath, --enable-libquadmath-support, --enable-libssp, --disable-win32-registry, --disable-symvers, --with-gnu-ld, --with-gnu-as, --disable-isl-version-check, --enable-checking, --without-libiconv-prefix, --without-libintl-prefix, --with-system-zlib, --enable-linker-build-id, --with-default-libstdcxx-abi
85
+ checking for a BSD-compatible install... /usr/bin/install -c
86
+ checking whether build environment is sane... yes
87
+ checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
88
+ checking for gawk... gawk
89
+ checking whether make sets $(MAKE)... yes
90
+ checking whether make supports nested variables... yes
91
+ checking for gcc... gcc
92
+ checking whether the C compiler works... no
93
+ configure: error: in `/home/kazumi.okano/Documents/hello':
94
+ configure: error: C compiler cannot create executables
95
+ See `config.log' for more details
96
+ ```
97
+
98
+
81
99
  ###補足情報(言語/FW/ツール等のバージョンなど)
82
100
 
83
101
  config.logの該当箇所を載せておきます。

2

タグ変更

2016/06/27 02:39

投稿

imudak
imudak

スコア40

title CHANGED
File without changes
body CHANGED
File without changes

1

タグ追加

2016/06/27 02:10

投稿

imudak
imudak

スコア40

title CHANGED
File without changes
body CHANGED
File without changes