Re: [GD-General] Compile times
Brought to you by:
vexxed72
From: Ray <ra...@gu...> - 2002-12-10 07:41:44
|
I guess I should say that my mac is a g3-350 with gcc3. I think that's why it takes like 45 minutes to compile. We also get the compiler to generate an internal compiler error on a couple of our files. 420 .h files (1.7 megs) 455 .cpp files (4.0 megs) 140 .c files (2.5 megs) (mostly libpng/zlib/libjpg) my win32 machine is a athlon 1700+ in win2k linux box is pIII-450 with gcc 2.9something mac box is g3-350 w/os10.2 gcc3 So that's not really comparing oranges to oranges. We use Jam for mac and linux. BUT we don't use the built-in version of Jam on the mac because its internal Jamrules are not compatible with a couple of things we do. (I'm not quite sure what, because I wasn't the one to get it working) We also have a problem with it not correctly generating dependancies for a few files so it doesn't compile them when it should. I also can't figure out how to force Jam to compile a specific .cpp file for me. It's pretty much either the main target app or nothing. We were just playing around with trying to get things to compile faster and found that gcc3.x is much slower than gcc 2.x. I also discovered gcc(at least on the mac) has some form of precompiled header support which I didn't try to use yet. All I can say is gcc is ssslllllllllllooooooooooooowwwwwwwwww. faster harddrives help compiling speed too. I just can't understand why stl is the main culprit for that much of a slow-down. Speaking of slow-down, my brain slowed down so I think I will go to bed now. - Ray |