p******h 发帖数: 20 | 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! | i****d 发帖数: 7 | 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!
|
|