Re: Slow and bloated?
Re: Slow and bloated?
- Subject: Re: Slow and bloated?
- From: Allan Odgaard <email@hidden>
- Date: Thu, 29 Jul 2004 20:21:58 +0200
On 25. Jul 2004, at 16:32, Brent Gulanowski wrote:
[...]
When I used gcc instead of g++ it was a tiny bit faster. Does gcc just
call g++ when needed? Why would it be different? I've never used g++,
I don't write any C++. But note it isn't twice as long between c and
c++, but about 65% longer.
I think g++ calls gcc with some options setup for C++ compilation.
Well obviously it was a worthy investment to buy a dual system for
development. What are your system specs? Mine specifically are:
G4-Dual867 MDD
I have a 733 MHz G4 (QuickSilver) -- I did borrow a friends dual-system
for a while, and surely it was nice :)
But my compile times are growing rather quickly, i.e currently in
deployment mode I have one source which takes over 7 minutes to build,
so even if I went out and bought the biggest, baddest and meanest dual
G5 system, I'd probably be crying over the compile times again in a few
months, and I believe this very much to be a software problem, not a
hardware problem.
Seeing your times for ANSI-C and C++ makes me more sure that this
really is ObjectiveC++ which is the culprit -- as you also reported, I
had heard that pre-compiled headers did not work for ObjC++, but I
thought this was fixed, and at least something was done, because with
GCC 3.1 (or was it 2.x?) ObjC++ really really sucked speed-wise, like
30-60 seconds for just the simplest source...
I am already trying to keep all which can be non-ObjC++ as C++ only,
but the GUI does make up for a rather large portion of the program... I
should probably print out the dependency graph and see how much each
ObjC++ file includes, and if there is anyway to avoid it, cause I am
really wasting my time waiting for builds to finish, and it hurts my
productivity big time, and has also started to affect the code-base, in
that I try to avoid changes to headers just to avoid too much
re-compilation :(
But I will file an enhancement bug, and the thought of writing my own
compiler seems more and more appealing to me... ;)
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.