Compile time

Sergey Koveshnikov <[email protected]> Mon, 18 Aug 2003 17:12:33 +0300
Newsgroups gmane.comp.gcc.cgicc.general
Organization DCS-Eurocom iSP
Message-ID <[email protected]>
Hello all!
One of my project's source file contan more than 4,000 strings of source code 
with ccgi call in each. Compile time apropox 20 min. How can I reduce compile 
time? How dow you solve same problem?

gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
cgicc 3.2.2
CPU: Intel(R) Pentium(R) 4 CPU 1.60GHz
            total         used        free  
Mem:  516388     264964     251424

source sample:

  l_OutHtml << tbody() <<tr() << td().set("colspan","2").set("align","center") 
<< h4("abc") <<td() <<endl;
  l_OutHtml << tr() << endl;
  l_OutHtml << tr() << td() <<"abc:"<< td() << endl;
  l_OutHtml << td() << 
input().set("type","text").set("name","los_all").set("maxlength","4")
    .set("tabindex","15") << td() << endl;
  l_OutHtml << tr() << endl;
  l_OutHtml << tr() << td() << "abc"<< td() << endl;
  l_OutHtml << td() << 
input().set("type","text").set("name","los_prof").set("maxlength","4")
.set("tabindex","16") << td() << endl;
  l_OutHtml << tr() << tbody() << endl;

Thank for your advice!
-- 
Best regards,
Sergey Koveshnikov.