that depends on the language, size of the project being built (in KLOCs), and size of the individual files.
Your question is simply phrased, but it's asking something non-trivial.
As far as building a home project (say helloworld or something) in C/C++, if it's a few dozen KLOCs (1 KLOC = thousands of lines of code), any new PC with 512+ MB RAM should build the whole thing in under a minute or two.
|