|
楼主 |
发表于 2003-9-10 21:28:26
|
显示全部楼层
谢谢quanliking
# g++ -p -g first.c
g++: `-p' not supported; use `-pg' and gprof(1)
# bash
bash-2.05b# g++
g++ g++28
bash-2.05b# g++28 -p -g first.c
/usr/libexec/elf/ld: cannot find -lgmon
bash-2.05b# g++ -pg first.c
bash-2.05b# ls
a.out* first.c
bash-2.05b# ./a.out
this is the start of someting wondeful !
Are now we can say even more !bash-2.05b#
bash-2.05b# whatis g++28
g++28: nothing appropriate
bash-2.05b#
请问 g++28 -p -g first.c怎么不行?g++是什么,没听说过。 |
|