-
install QT as 32 bit
Hi
Is there a way to force QT to install as 32bit on a machine which supports both 32 and 64 bit? The reason I am asking this is, I am trying to install QT on IBM Cell Processor with Mesa3D gallium OpenGL drivers support. The opengl drivers are installed as 32bit, so the installation process for QT skips those drivers and looks for 64 bit drivers. I believe if I can somehow force QT to install as 32 bit rather than in 64 bit, my problem will be solved.
Thanks
Saad
-
Re: install QT as 32 bit
How are you installing Qt?
-
Re: install QT as 32 bit
Hey I am configuring it using the following options
./configure -release -prefix /usr/local/Trolltech/qt -fast -no-qt3support -L/home/user/mesa/lib/gallium -opengl desktop -nomake examples -nomake demos -nomake tools
During configure , Qt determines that this is a power pc and adds -m64 flag to all the g++ commands in makefiles. But my opengl drivers are compiled as 32 bit hence while doing gmake (after configure) it skips that particular libGL.so file by expressing that is incompatible.
Thanks for your reply :).
-
Re: install QT as 32 bit
Use the -platform switch with appropriate option (i.e. linux-g++-32) to build Qt for specific architecture.
-
Re: install QT as 32 bit
Thanks man if that works I will sending loads of chocolates your way :D
-
Re: install QT as 32 bit
Hey that seemed to work :D but when after configure i ran gmake I got this error
"cc1plus: out of memory allocating xxxxx bytes "
so instead of release flag in configure I tried with debug and got this error during gmake.
"
{standard input}: Assembler messages:
{standard input}:106827: Warning: end of file not at end of a line; newline inse rted
{standard input}:107859: Error: expected comma after name `_ZN3WTF6' in .size di rective
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
gmake[1]: *** [obj/debug/Document.o] Error 1
gmake[1]: Leaving directory `/home/saad/qt-everywhere-opensource-src-4.6.0/src/3 rdparty/webkit/WebCore'
gmake: *** [sub-webkit-make_default-ordered] Error 2
"
any clues?
Thanks again
PS: Currently hardly any ram is free on this machine and no swap has been defined, maybe that could be causing the memory issue.
-
Re: install QT as 32 bit
You may indeed be having RAM issues.