Code::Blocks Forums

User forums => Help => Topic started by: ollydbg on November 11, 2009, 11:17:21 am

Title: CC's parsing time problem
Post by: ollydbg on November 11, 2009, 11:17:21 am
I found a strange problem. I have two computers:

PC A : Windows XP EN desktop PC
PC B : Windows Vista Basic EN Notepad PC

I just build the C::B myself in PC B.
So, I test the output files in both A and B.

In PC A, parsing the CB's source only takes 2+ minutes, about 1510 files and 84000+ tokens.
In PC B, parsing the CB's source takes 2minitus+ ,and only 1100+ files and 6000+tokens.

This is quite strange, because I just copy the same executable file. :o

I suspect there's something wrong in Vista...
Title: Re: CC's parsing time problem
Post by: blueshake on November 11, 2009, 11:35:20 am
Quote
In PC A, parsing the CB's source only takes 20+ minitus, about 1510 files and 84000+ tokens.

Are you sure it is 20+ minitus? :shock:
here is my output.
Quote
Parsing stage done (1505 total parsed files, 83995 tokens in 0 minute(s), 22.344 seconds).
Title: Re: CC's parsing time problem
Post by: ollydbg on November 11, 2009, 04:33:11 pm
Sorry, it's a typo, it is 2 minutes, not 20 minutes.  :(

I still can't find the reason. I will exam it tomorrow.
Title: Re: CC's parsing time problem
Post by: ollydbg on November 12, 2009, 04:18:35 pm
I have solved my problem today.

I just rebuild the wxWidgets library and CB code in the same TDM-MinGW GCC 4.4.1. and it works OK in both XP and Vista.

So, it seems the reason of my problem is that: the WX library and CB were built from different version of MinGW, they were not compatible.