On 4/7/06, Jayasimha Ananth <jayasimha.a at gmail.com> wrote:
> What is a conditional compiler?

TurboC and MSVC++ uses this feature of compiling only the changed part
instead of recompiling/linking the whole source code. Gcc/G++ on the
other hand doesnt keep track of the changes and ends up compiling
everything again.  this is good for batch compilation but not so good
for frequent compilations. you can test by making just 2-3 line
changes in your code and recompiling it.  tc/msvc would finish
compiling almost instantly than gcc/g++ would.

btw, on a slightly off topic, g++ compiles much slower than gcc. at
least 2-3x slower.... you can test it even with a simple program of
printf("hello world") ... im using the 4.0.1 version and the same c
code with both gcc and g++ for testing.  has anybody else noticed the
same ??

just noticed on the sun studio website that there is a version
released for linux also... has anyone tried it ?? any comments ??

Ananth

Reply via email to