compiler時老是無法成功.. [論壇 - Ubuntu 程式設計]
正在瀏覽:
1 名遊客
訪客
|
回覆: compiler時老是無法成功.. |
|
---|---|---|
Anon:訪客
|
2011/5/9 11:24
| 147a3 1cc68 a6186 dd696
|
|
![]() |
回覆: compiler時老是無法成功.. |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員一級
![]() ![]() 註冊日期:
2006/9/24 1:53 所屬群組:
已註冊使用者 等級: 1
HP : 0 / 18
![]() |
Using built-in specs.
COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/lto-wrapper Target: i686-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.5.2-8ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-4.5/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.5 --enable-shared --enable-multiarch --with-multiarch-defaults=i386-linux-gnu --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib/i386-linux-gnu --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.5 --libdir=/usr/lib/i386-linux-gnu --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-gold --enable-ld=default --with-plugin-ld=ld.gold --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu Thread model: posix gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)
2011/5/9 11:24
|
||||||||||
![]() |
回覆: compiler時老是無法成功.. |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員二級
![]() ![]() 註冊日期:
2011/5/9 10:56 所屬群組:
已註冊使用者 等級: 6
HP : 0 / 140
![]() |
compile 是指『編譯』 動詞
compiler 是指『編譯器』 名詞 囧TZ
2011/5/9 11:27
|
||||||||||
![]() |
回覆: compiler時老是無法成功.. |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
管理員
![]() ![]() 註冊日期:
2006/10/31 19:52 來自 Baker Street 221B
所屬群組:
網站管理員 已註冊使用者 討論區管理群 等級: 30
HP : 0 / 733
![]() |
不太對吧...
打g++ -v出來最後卻顯示gcc的版本?! /usr/bin/下面 ls -l g++* 看看輸出什麼 是不是gcc被link到了g++?
2011/5/9 11:27
|
||||||||||
![]() |
回覆: compiler時老是無法成功.. |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員一級
![]() ![]() 註冊日期:
2006/9/24 1:53 所屬群組:
已註冊使用者 等級: 1
HP : 0 / 18
![]() |
lrwxrwxrwx 1 root root 7 2011-05-03 13:29 g++ -> g++-4.5
-rwxr-xr-x 1 root root 13792 2010-05-19 15:46 g++-3.3 -rwxr-xr-x 1 root root 13792 2010-05-19 15:46 g++-3.4 -rwxr-xr-x 1 root root 13792 2010-05-19 15:46 g++-4.0 -rwxr-xr-x 1 root root 236948 2011-04-19 04:18 g++-4.5
2011/5/9 11:29
|
||||||||||
![]() |
回覆: compiler時老是無法成功.. |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
管理員
![]() ![]() 註冊日期:
2006/10/31 19:52 來自 Baker Street 221B
所屬群組:
網站管理員 已註冊使用者 討論區管理群 等級: 30
HP : 0 / 733
![]() |
那g++-4.5 -v出來什麼訊息?
2011/5/9 11:32
|
||||||||||
![]() |
回覆: compiler時老是無法成功.. |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員一級
![]() ![]() 註冊日期:
2006/9/24 1:53 所屬群組:
已註冊使用者 等級: 1
HP : 0 / 18
![]() |
跟g++ -v一樣的訊息..
Using built-in specs. COLLECT_GCC=g++-4.5 COLLECT_LTO_WRAPPER=/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/lto-wrapper Target: i686-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.5.2-8ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-4.5/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.5 --enable-shared --enable-multiarch --with-multiarch-defaults=i386-linux-gnu --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib/i386-linux-gnu --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.5 --libdir=/usr/lib/i386-linux-gnu --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-gold --enable-ld=default --with-plugin-ld=ld.gold --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu Thread model: posix gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)
2011/5/9 11:35
|
||||||||||
![]() |
您可以查看帖子.
您不可發帖.
您不可回覆.
您不可編輯自己的帖子.
您不可刪除自己的帖子.
您不可發起投票調查.
您不可在投票調查中投票.
您不可上傳附件.
您不可不經審核直接發帖.