News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Codeblocks from svn fails to compile, if it uses --disable-pch configure option.

Started by keenblade, December 05, 2009, 11:17:44 PM

Previous topic - Next topic

keenblade

I know there is no --disable-pch option. Only --enable-pch exist. But for gentoo we use something called "useflags" that enables or disables configure options. In this case the useflag is pch.

If pch useflag is set it provides --enable-pch which works. Btw, if use flag is not set or is set unset, then it provides --disableable-pch which leads to compile failure.
In fact I am trying to get the Code::Blocks live svn ebuild in sunrise overlay. Actually with some hacks the ebuild works, but for for inclusion in sunrise a cleaner approach would be nice. After maintaining it for 2 years at gentoo forums Code::Blocks live svn ebuild - Part 2, Sunrise will be great for gentoo C::B users.
Build log attached.
Some info: codeblocks-svn rev:5953.
gcc-4.4.2, glibc-2.11-r1, 2.6.32-zen0 x86_64
NOT: For an unknow reason most of the time I can't reach the home site and forum pages of C::B directly. I am using ktunnel. Hope it does not break the post. Unfortunately my isp could not solve this issue for me.

[attachment deleted by admin]
Anyway it\'s all the same at the end...

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Jenna


keenblade

Also this option fails, too, if used being negative "--with-contrib-plugins=all"
It becomes "--without-contrib-plugins=all" and configure phase fails.
Thanks.
Anyway it\'s all the same at the end...