Author Topic: GNU GCC Compiler is compiling REALLY slow.  (Read 49947 times)

zieQ

  • Guest
Re: GNU GCC Compiler is compiling REALLY slow.
« Reply #15 on: October 05, 2005, 08:46:21 am »
The MinGW installer has some problems, I experienced some, it doesn't download all the files you need sometimes. Try downloading the zip files one by one instead.

You need packages:
- mingw utils
- mingw runtime
- windows api
- gcc-g++
- gcc-core
- make
- (binutils)

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: GNU GCC Compiler is compiling REALLY slow.
« Reply #16 on: October 05, 2005, 09:10:54 am »
I have the feeling you didn't decompress the files the right way. Your dir structure should be something like this:

C:
   MinGW
      bin
          make, gcc, etc
      include
      lib
      ....

Anyway, the most bulletproof way to fix your problems and actually start working :P, is to download and install Code::Blocks full setup, which contains a working MinGW installation...
Be patient!
This bug will be fixed soon...

Alos

  • Guest
Re: GNU GCC Compiler is compiling REALLY slow.
« Reply #17 on: October 05, 2005, 10:21:59 am »
I have the feeling you didn't decompress the files the right way. Your dir structure should be something like this:

C:
 MinGW
 bin
 make, gcc, etc
 include
 lib
 ....

Anyway, the most bulletproof way to fix your problems and actually start working :P, is to download and install Code::Blocks full setup, which contains a working MinGW installation...

After decompressing the originally downloaded base files, i noticed they made a few more things that i am able to decompress, should i decompress those too?

And i already tried the full setup, thats what got me the crazy problems in the first place.

I've been wondering, does it matter at all what operating system im on? if it does, im on windows 2000.

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: GNU GCC Compiler is compiling REALLY slow.
« Reply #18 on: October 05, 2005, 05:13:36 pm »
I have the feeling you didn't decompress the files the right way.
Yup, so it seems.

Move the whole bunch of .tar.gz files into the folder where MinGW is to be installed (C:\mingw), and then select "Decompress here" or "Unpack here" on each of them.

Here is what my directory layout looks like (working):


"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: GNU GCC Compiler is compiling REALLY slow.
« Reply #19 on: October 05, 2005, 06:21:20 pm »
Thomas, you Rock!  8) Please add that to the wiki! (regarding mingw installation)

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: GNU GCC Compiler is compiling REALLY slow.
« Reply #20 on: October 05, 2005, 08:15:30 pm »
Phew, posted in the wrong thread, luckily there is a "delete" button.  :D
So here goes:

Did that and added a few redirect pages, too, so it is easier to find with the search box.

Hmm... might go for a "Using GLFW with Code::Blocks" page next weekend.

But need to bring cb::svn into a usable state first, or Yiannis will eat me ;)
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: GNU GCC Compiler is compiling REALLY slow.
« Reply #21 on: October 05, 2005, 09:01:01 pm »
But need to bring cb::svn into a usable state first, or Yiannis will eat me ;)

I'll bring the sauce, just in case :lol:

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: GNU GCC Compiler is compiling REALLY slow.
« Reply #22 on: October 05, 2005, 09:39:51 pm »
Quote from: rickg22
I'll bring the sauce, just in case :lol:

BIG  :)

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: GNU GCC Compiler is compiling REALLY slow.
« Reply #23 on: October 05, 2005, 09:55:25 pm »
Yummm, me hungry  :twisted:
Be patient!
This bug will be fixed soon...

Alos

  • Guest
Re: GNU GCC Compiler is compiling REALLY slow.
« Reply #24 on: October 05, 2005, 10:08:54 pm »
Apparently iZarc isnt good at decompressing, downloaded winrar, re-decompressed, and now i have all the right files and now its not taking forever for things to compile. I'm still getting lots of errors though.

http://img84.imageshack.us/my.php?image=errors2ge.jpg

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: GNU GCC Compiler is compiling REALLY slow.
« Reply #25 on: October 05, 2005, 11:06:29 pm »
Your linker isn't linking the C++ STL library. I think your linker directories are missing the MinGW path or something.

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: GNU GCC Compiler is compiling REALLY slow.
« Reply #26 on: October 06, 2005, 02:22:19 pm »
Yummm, me hungry  :twisted:

timeo danaos...

I'll bring the sauce, just in case :lol:

...et dona ferentes   :P
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Alos

  • Guest
Re: GNU GCC Compiler is compiling REALLY slow.
« Reply #27 on: October 08, 2005, 01:53:19 pm »
Your linker isn't linking the C++ STL library. I think your linker directories are missing the MinGW path or something.

How do I fix that?

sethjackson

  • Guest
Re: GNU GCC Compiler is compiling REALLY slow.
« Reply #28 on: October 08, 2005, 03:58:49 pm »
I assume you installed C::B with MinGW. If you did this go to Compile->Compiler Options->GCC->Reset Defaults. Otherwise if MinGW is in somthing other than the default directory. Go to Compile->Compiler Options->GCC->Programs->Auto-detect

Offline heromyth

  • Multiple posting newcomer
  • *
  • Posts: 98
    • http://
Re: GNU GCC Compiler is compiling REALLY slow.
« Reply #29 on: October 09, 2005, 09:41:05 am »
I use PCH to improve the speed when building CB with GCC.
I have made some tests like building the minimal_sample of wxWidgets. Without PCH, the progress costs 8 seconds. With PCH, it costs 3 seconds.
It seems to be a little faster using PCH. :P