|Incremental Compilers firstname.lastname@example.org (2000-05-08)|
|Re: Incremental Compilers email@example.com (2000-05-10)|
|Re: Incremental Compilers firstname.lastname@example.org (Calin Cascaval) (2000-05-10)|
|Re: Incremental Compilers email@example.com (Richard F. Man) (2000-05-10)|
|Re: Incremental Compilers firstname.lastname@example.org (Matthew Markland) (2000-05-12)|
|Re: Incremental Compilers HSauro@fssc.demon.co.uk (Herbert M Sauro) (2000-05-12)|
|Re: Incremental Compilers email@example.com (Mike Kent) (2000-05-12)|
|Re: Incremental compilers brunix!apollo!alan (Alan Lehotsky) (1986-09-18)|
|Incremental compilers firstname.lastname@example.org (1989-01-24)|
|Re: Incremental compilers email@example.com (Paul Fuqua) (1989-01-15)|
|[2 later articles]|
|From:||"Richard F. Man" <firstname.lastname@example.org>|
|Date:||10 May 2000 02:53:43 -0400|
|Organization:||ImageCraft Creations Inc.|
Some poeple would say just buy faster machines.... But to be helpful,
some more data about the project is needed. For example, I'd imagine
your project must be a large project consisting of many many source
files. Some possible sources of slow down then are:
1) Too many source files, especially with many sub-directories may
make the overhead of "making" large. You can get this data just by
timing a no change make.
2) Lots of object files mean slower link time. If you are not using
dynmically linked libraries, then at least for development purpose,
3) Likewise, turn off optimizations for development compiles. Note
that this practice gets frowned upon, depeneding on who you talk to
(arguments against ranging from, you must debug what you ship to if
there are any bugs exposed/introduced by the optimizers, the
developers should see it first).
4) Are you using C++? Are you using templates? In the last big company
I worked for, switching from C to C++ and using templates added
substantially (10X?) to the build time. Needless to say we had a talk
to the C++ engineers next aisle. Template instantiations are slow, and
some methods are slower than others. Be careful.
5) Get a faster compiler. GCC is known to be slow. What host machine
are you using? You may be able to get a faster compiler. In
particular, LCC is known to be much faster but generates less
efficient code than GCC and is C only.
> I am an engineer at Cisco and every engineer spends about 10 minutes
> to compile an image even if only few of the files in the code base
> were modified. I am wondering why that time cannot (in theory) be
> reduced from 10 minutes to 10 seconds by using incremental compilation
> AND LINKING.
Return to the
Search the comp.compilers archives again.