User forums > Using Code::Blocks

[FIXED] Build is always fully rebuilding? Recent change?

<< < (2/2)

kayamel:
I just logged on the forum for the same issue. It's pretty annoying as I have  ots of files in the project.

tinyn:
Where in the world does Code::blocks do the modified time check to see if a file needs to be rebuilt? Ive been going over the compiler plugin stuff and I can't find a line thats anything like "fsourcename.GetModifierTime() >= fobjectname.GetModifiedTime()" anywhere in here.

tinyn:
Well, I reverted to svn 4338 (Aug 01) and it still does a full rebuild every time, so I don't think its a recent change. I now think its a project config option set wrong somewhere, but I can't figure out what.

tinyn:
Solution found!

http://forums.codeblocks.org/index.php?topic=6783.msg52004;topicseen#new

Theres a GCC 4.2 bug thats breaking the needs to compile time stuff in plugins/compilergcc/depslib. I fixed it by hand editing the makefile that ./configure created in "src/plugins/compilergcc/depslib/src/Makefile" to make sure it had "-fno-strict-aliasing" in the  "CFLAGS" and "CXXFLAGS" lines. If there is a way to get this done at the ./configure level I would love to hear about it.

The GCC bug is fixed in 4.2.1 I think. Too bad its not in gentoo portage yet.

Navigation

[0] Message Index

[*] Previous page

Go to full version