Author Topic: Latest code blocks + gcc slow compilation  (Read 2808 times)

Offline Joselito

  • Single posting newcomer
  • *
  • Posts: 3
Latest code blocks + gcc slow compilation
« on: December 16, 2014, 05:36:32 am »
Hi !

I used to code with a:

Quote
Core2Duo E7500;
4 GM RAM DDR2;

And used to work perfect.

Now that I have:

Quote
Core i5 4590 Haswell;
8 GM RAM DDR3;

The compilation is very slow, only to build and run the default project with a simply "hello world" it takes like 5 seconds or more...
I already tried to change:

Compiler > Build Options >  Number of processes for parallel builds : 1, 2, 6, 8

Please, anyone help me e.e I just need this to get back to normal...


Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6035
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Latest code blocks + gcc slow compilation
« Reply #1 on: December 16, 2014, 05:59:46 am »
Please respect the forum rule, and do not post the same contents many times.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7678
    • My Best Post
Re: Latest code blocks + gcc slow compilation
« Reply #2 on: December 21, 2014, 06:09:24 am »
Since, you gave no real info.
My wild guess is your AV software is to blame.

I suggest you try compiling from the command line.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org