- 论坛徽章:
- 0
|
linux下可以编译c但是能编译c++吗,如果可以用什么编译??
g++试试!
找个rpm包装一下!
[code]
NAME
g++ - GNU project C++ Compiler
SYNOPSIS
g++ [option | filename ]...
DESCRIPTION
The C and C++ compilers are integrated; g++ is a script to call gcc with options to recog?
nize C++. gcc processes input files through one or more of four stages: preprocessing, com?
pilation, assembly, and linking. This man page contains full descriptions for only C++ spe?
cific aspects of the compiler, though it also contains summaries of some general-purpose
options. For a fuller explanation of the compiler, see gcc(1).
C++ source files use one of the suffixes `.C', `.cc', `.cxx', `.cpp', or `.c++'; prepro?
cessed C++ files use the suffix `.ii'.
[\code] |
|