Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » MinGW Windows, Slow Builds
MinGW Windows, Slow Builds [message #235617] Fri, 10 July 2009 08:15 Go to next message
Eclipse UserFriend
Hi All
I have a fairly simple c++ project and it takes 1 minute or more from
when i click "build project" to when it starts executing g++

The project is a c++ executable using the internal builder.

Assuming the problem is related to the internal builder, is there anything
i can do to speed this up?
I would expect it should take 5 seconds max?

I checked out the CDT projects in order to debug it, when i clicked build,
There were a bunch of threads calling a wait() method and one calling a
method like "find files in workspace".

Has anyone experienced anything like this?

I'm running the latest CDT with the galileo release.
Build system is MinGW
Running on windows XP SP2 (32 bit)
Re: Internal Builder takes ages to calculate [message #235702 is a reply to message #235617] Sat, 11 July 2009 23:26 Go to previous messageGo to next message
Eclipse UserFriend
After further investigation the "find workspace files" method was taking
next to no time so thats not the problem.

Can anyone suggest some settings i could try to make it calculate the
build quicker?

It spends over a minute doing something between starting the project build
and executing the g++ compiler commands.

I've termed this "Calculating the build" feel free to correct me with the
proper term.
Re: Internal Builder takes ages to calculate [message #235709 is a reply to message #235702] Sun, 12 July 2009 07:07 Go to previous message
Eclipse UserFriend
Jarrod Chesney wrote:

> After further investigation the "find workspace files" method was taking
> next to no time so thats not the problem.

> Can anyone suggest some settings i could try to make it calculate the
> build quicker?

> It spends over a minute doing something between starting the project build
> and executing the g++ compiler commands.

> I've termed this "Calculating the build" feel free to correct me with the
> proper term.The problem has gone. I'm not sure what i did but its now
executing g++ commands with in seconds from of clicking "build project".

I changed these settings and it seemed to do the trick.

"Workspace Preferences"

Menu bar
"Window"->"Preferences"
Tree
"C/C++"->"Indexer"
Frame
"Cache Limits"
Area
"Index database cache"
Field
"Limit relative to the maximum heap size:" changed from 10% to 20%
"Absolute Limit" changed from 64mb to 128mb
Area
"Header file cache (used by full indexer and refactoring):"
Field
"Absolute Limit" changed from 64mb to 128mb
Previous Topic:CDT6.0 container_loc
Next Topic:question about eclipse-cpp on debian-501-lenny-i386
Goto Forum:
  


Current Time: Wed Jul 30 19:05:21 EDT 2025

Powered by FUDForum. Page generated in 0.09215 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top