User forums > Help
slooooow linking
wilcomir:
Hi everybody!
I've installed codeblocks on my desktop pc, and it works well, but on my laptop it's tooo slow: I mean, compiling is of course very very fast, but linkin 10 lines (yes, it's 10) takes my pc 1:20, 80 seconds. I really can't understand the motivation, I've searched around and I've found something about the "number of processes for parallel building" option, located in "compiler and debugger settings" "other settings". I've set it to 3, as my laptop is a dual core, with no effect.
my laptop's got an intel core 2 DUO and 3Gb of ram, i use windows xp pro sp3, and the GNU compiler. all the codeblocks settings are the default ones, except the one I mentioned. I've also already tried to uninstall and install codeblocks, but it's still the same.
thank to everyone who will answer me!
Ciao
Vladimir
PS sorry about my english, but I'm Italian :D
koso:
Have you tried to link it without C::B => usign direct compiler/linker commands?
Setting more threads with "number of processes for parallel building" wont help with linking, becase linking one target is done only by one command. Number od processes will affect only compilation of more targets.
And btw. when the executable is linked, how large is it (filesize)?
wilcomir:
no, I didn't try to compile it by command line... I don't even know how to :D however, te exe size is about 500kb... I think it is toooo much :D maybe it's something about static/dinamic linking?
thanks!
zabzonk:
It's certainly not a hardware issue - I do my C++ development on an ancient Pentium III with 256Mb RAM, with no problems. A common cause of slowdowns like this is your anti-virus software scanning things it needn't - have you tried linking with your AV software disabled?
wilcomir:
hi zabzonk! thanks for your tip, I'll try to disable my AV as soon as I'll be back to the university (I'm at home for the WE). however, I haven't experienced any other slowing...
thanks for helping!
Navigation
[0] Message Index
[#] Next page
Go to full version