Re: gcc complier
Re: gcc complier
- Subject: Re: gcc complier
- From: Olivier Tristan <email@hidden>
- Date: Tue, 08 Feb 2005 16:36:00 +0100
Vlad Alexander (XStandard) wrote:
We've developing in C++ in XCode using gcc compiler. We currently have a small project of just a few hundred lines but it takes a long time to compile. The CPU goes to 100% and just stays there for 30 seconds. Our project is going to grow 100 times in the next few months. If my math is correct, it will take us an hour to compile it.
Has anyone experienced performance issues with gcc compiler?
Our configuration is a follows:
OS X 10.3 on 1.6GHz PowerPC G5 512 MB RAM
gcc: 3.3 20030304 (build 1671)
xcode: 1.5
xcode ide: 389.0
xcode core: 387.0
toolsupport: 372.0
Hi Alex,
You have just discovered one of the main problem of GCC.
Four tips :
* Use distribued build whenever you can.
* Debug build could be really slow because of ranlib and huge debug
info wich can fill your ram in two second and the rest
of the ranlib execution will swap a lot. So use Release when you
have the choice.
According to your Mac desc, you need to buy more RAM. 2Go would be cool.
* Use Precompiled headers.
* Try to use forward declaration whenever you can.
Hope this helps.
--
Olivier Tristan
Ultimate Sound Bank
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >gcc complier (From: Vlad Alexander (XStandard) <email@hidden>) |