由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
AHU版 - ada,怎么在unix下runC++的程序呀
相关主题
system busy求助: Unix acc 的man pages
Help: convert // to /* */ in C code?Fortran error
怎么才能在Unix里连续跑10个c写的程序 (转载)Questions about MAKEFILE
请帮忙看看这个MakefileQuestions about C++ Linux Command Line Parsing
c++ compiler under unix为什么我就是不会写Shell script?
where is gcc?怎么才能在Unix里连续跑10个c写的程序 (转载)
[转载] UNIX下的一个奇怪问题!律师费涨到 $1,150-Per-Hour
Re: [转载] Unix C 求教: 怎么样把一个c程序compile成lib/下的 .a, .so文件律师费涨到 $1,150-Per-Hour (转载)
相关话题的讨论汇总
话题: c++话题: makefile话题: file话题: vc话题: files
进入AHU版参与讨论
1 (共1页)
b*g
发帖数: 644
1
俺从没有用过
b*g
发帖数: 644
2
俺已经用g++ run了简单的程序.
可为什么见有的同志要设什么makefile之类的东西,
还用gmake来编译. gmake又是什么呢?
另外COMMAND nm是做什么用的,好象可以用来打开file.o文件.

【在 b*g 的大作中提到】
: 俺从没有用过
a*a
发帖数: 1295
3
I seldom write C/C++ program.
all Java, VC++, ...
fot those small progrags in C/C++,
I use gcc/g++/cc.

【在 b*g 的大作中提到】
: 俺从没有用过
a*a
发帖数: 1295
4
sorry I dunno.

【在 b*g 的大作中提到】
: 俺已经用g++ run了简单的程序.
: 可为什么见有的同志要设什么makefile之类的东西,
: 还用gmake来编译. gmake又是什么呢?
: 另外COMMAND nm是做什么用的,好象可以用来打开file.o文件.

R***r
发帖数: 322
5
If you have bigger program, with multiple files, header files
you might need to write a makefile. Basically, Makefile specify
the relation between different source, object, exe files --
saying something like if I change file A, do I have to
recompile file B and how -- maybe file B use something
defined in file A. Makefile also keep you from typing
compile cmd lines again again.
In VC, MS hide this process from you, actually when you hit
"Build" instead of "Compile", VC do something like "make",

【在 b*g 的大作中提到】
: 俺从没有用过
b*g
发帖数: 644
6
thanks a lot! Your words are very helpful!

【在 R***r 的大作中提到】
: If you have bigger program, with multiple files, header files
: you might need to write a makefile. Basically, Makefile specify
: the relation between different source, object, exe files --
: saying something like if I change file A, do I have to
: recompile file B and how -- maybe file B use something
: defined in file A. Makefile also keep you from typing
: compile cmd lines again again.
: In VC, MS hide this process from you, actually when you hit
: "Build" instead of "Compile", VC do something like "make",

1 (共1页)
进入AHU版参与讨论
相关主题
律师费涨到 $1,150-Per-Hour (转载)c++ compiler under unix
怎么才能在Unix里连续跑10个c写的程序 (转载)where is gcc?
how to get rid of the ^M in files?[转载] UNIX下的一个奇怪问题!
在linux 和 Unix 上做 C/C++ 有差别吗?Re: [转载] Unix C 求教: 怎么样把一个c程序compile成lib/下的 .a, .so文件
system busy求助: Unix acc 的man pages
Help: convert // to /* */ in C code?Fortran error
怎么才能在Unix里连续跑10个c写的程序 (转载)Questions about MAKEFILE
请帮忙看看这个MakefileQuestions about C++ Linux Command Line Parsing
相关话题的讨论汇总
话题: c++话题: makefile话题: file话题: vc话题: files