1 Jun 2010 01:00
Re: Qt 4.7 (help wanted)
>>>> >>>> QMAKE_CFLAGS = -pipe -isystem /usr/i686-pc-mingw32/include >>>> >>>> I would like to avoid having to specify the full path this way. Does >>>> anyone know of a way to put the intended directory in the include path >>>> without resorting to this? >>> Since "/usr/i686-pc-mingw32/include" is already in our GCC's >>> system include path, I don't see a need for that option at all. >>> >>> Without having tested, I'm pretty sure you can simplify the line to: >>> >>> QMAKE_CFLAGS = -pipe >> >> That's what I thought too, but then this happens when building Qt: >> >> make[2]: Entering directory >> `/home/brand/projects/mingw-cross-env.dev/qt47/tmp-qt/qt-everywhere-opensource-src-4.7.0-beta1/src/corelib' >> >> i686-pc-mingw32-g++ -c -include .pch/release-static/qt_pch.h -pipe >> -O2 -Wall -frtti -fexceptions -mthreads -DQT_THREAD_SUPPORT -DUNICODE >> -DQT_LARGEFILE_SUPPORT -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE >> -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT >> -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION >> -D_USE_MATH_DEFINES -DHB_EXPORT=Q_CORE_EXPORT -DQT_HAVE_MMX >> -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 >> -DQT_NO_DEBUG -I'../../include' -I'../../include/QtCore' >> -I'.rcc/release-static' -I'tmp' -I'global' >> -I'../3rdparty/harfbuzz/src' -I'../3rdparty/md5' -I'../3rdparty/md4'(Continue reading)
yeah true, does not work.
what i did now:
run "make gcc", and keep configure open in the editor (gedit), with
the space removed. then constantly try to save, and when it reports
"This file was changed on disc, do you want to overwrite it?", click
Yes.
this way, it compiles.
i still have to test if it works though.
now... this definitely is not THE solution, and i surely will have
forgotten about it next time i have to compile gcc. if we were sure
that this always happens on gentoo, i guess you could add a
workaround, right? then again.. it seems to be a problem on all OS, as
you say you had the same in your log, just not as an error. maybe edit
gcc/configure automatically right after extraction from the package,
using sed or awk?
or even send a patch to the GCC source maintainers?
i still can not understand what the problem really is; why this space
hurts so much.
2010/6/1 Tony Theodore <
RSS Feed