avatar
p*h
1
I copied a compied c file to the directory in UNIX, but when
I compiled it with GCC, then some errors will occur, but
when I used G++, then it is ok. What's the matter? what is
the difference between G++ and GCC?
Thanks!
avatar
i*d
2
g++ package:
Description :
This package adds C++ support to the GNU C compiler. It includes
support for most of the current C++ specification, including templates
and exception handling. It does include the static standard C++
library and C++ header files; the library for dynamically linking
programs is available separately.
gcc package:
Description :
The egcs package contains the GNU Compiler Collection: cc, gcc and
egcs. You'll need this package in order to compile C/C++ code.

【在 p******h 的大作中提到】
: I copied a compied c file to the directory in UNIX, but when
: I compiled it with GCC, then some errors will occur, but
: when I used G++, then it is ok. What's the matter? what is
: the difference between G++ and GCC?
: Thanks!

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。