delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/04/10/13:30:43

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: Tomasz Dobek <dobsiens AT o2 DOT pl>
Newsgroups: comp.os.msdos.djgpp
Subject: Huge differences in compilation time between gcc/gpp
Date: Wed, 10 Apr 2002 19:28:35 +0200
Organization: Noname team
Lines: 13
Message-ID: <MPG.171e94b2eddf849f989686@news.icm.edu.pl>
NNTP-Posting-Host: staticline131.toya.net.pl
X-Trace: sunsite.icm.edu.pl 1018459695 17503 217.113.226.64 (10 Apr 2002 17:28:15 GMT)
X-Complaints-To: abuse AT icm DOT edu DOT pl
NNTP-Posting-Date: Wed, 10 Apr 2002 17:28:15 +0000 (UTC)
X-Newsreader: MicroPlanet Gravity v2.50
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello,

I got a one big :) question:

Why program, which does print 'hello world', compiles in C compiler only 
a few seconds, but in C++ a few minutes (!). 
In C I use stdio.h library but in C++ iostream.h is used by me.

I guess that the problem is a compilation of iostream, which is done 
everytime I compile sth in C++. Can be something done to speed up this 
process ? Is possible to for example make compilation of iostream once, 
and then everytime use the compiled output of this library to link with 
my program ?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019