Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GCC header caching

Status
Not open for further replies.

Nosferatu

Programmer
Jun 9, 2000
412
RO
<br>I've passed away... to linux, for some time, and i'm working on a very (VERY) big project, which contains about 15 Megs of code. <br><br>I have this HUGE timing problem... In windows, i used BC 5 compiler, and it does some caching (precompiled headers), a thing absolutely unknown to me in gcc RedHat Linux distributions. Therefore, when i HAVE to compile the big part of the project - which is some 90% of all- i have to wait some... 4-5 hours for the job to be done, of course, if i modify some project headers, that because for every source file, all the headers are recompiled. <br><br>So, does anybody know some linux C compiler or some gcc options that tell him&nbsp;&nbsp;NOT TO RECOMPILE ALL THE HEADERS for each tiny file???? I know that only the &quot;specific_file.c&quot; dependent headers are recompiled, but... that's not enough.<br><br>Thanx.<br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top