[Bug pch/14400] [3.4/3.5 regression] Cannot compile qt-x11-free-3.3.0

ian at wasabisystems dot com gcc-bugzilla@gcc.gnu.org
Wed Apr 7 18:53:00 GMT 2004


------- Additional Comments From ian at wasabisystems dot com  2004-04-07 18:53 -------
Subject: Re:  [3.4/3.5 regression] Cannot compile qt-x11-free-3.3.0

"mmitchel at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:

> Can QT be compiled if PCH is explicitly not used?
> 
> In other words, could the QT Makefiles work around this problem by not using a
> PCH file?

I have confirmed that, if I comment out the line in the QT configure
script where QT tests for PCH support, the build gets past the
previous point of failure, using the 3.4 branch compiler on
i686-pc-linux-gnu.  QT takes forever to build on my system; I will
report back in this PR if there is any failure later in the build.
Pending that, the answer to your question is "yes."

For the record, the change I made to the configure script was to
comment out this line:

$unixtests/precomp.test $XQMAKESPEC $OPT_VERBOSE || QMAKE_CONFIG="$QMAKE_CONFIG precompile_header"

precomp.test is a fairly simple test which checks to see whether the
compiler accepts "-x c-header" and "-x c++-header".  I don't see any
obvious way to use a command line argument to affect the test result.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14400



More information about the Gcc-bugs mailing list