[Qt-jambi-interest] Qt, Jambi and Generator question

Tom Miller tmiller at lisco.com
Tue Feb 17 15:06:30 CET 2009



Gunnar Sletta wrote:
> Tom Miller wrote:
>> Also, in the page
>> http://doc.trolltech.com/qtjambi-4.4/html/com/trolltech/qt/qtjambi-installation.html#building-qt-for-qt-jambi 
>>
>> I read about using -D QT_JAMBI_BUILD -no-mmx -no-sse -no-sse2 -no-3dnow 
>
> These compile options are highly recommended. The mmx/sse things are 
> there because the linux 1.5 jvm has a bug where it doesn't properly 
> align the C stack to 16 bytes which causes mmx instructions to crash, 
> hence we need to disable it when running java apps.
>
>> as compile options, and here:
>> http://doc.trolltech.com/qtjambi-4.4/html/com/trolltech/qt/qtjambi-installation.html#platform-notes 
>>
>> I read about using 32 bit JVM to compile Jambi on 64 bit Linux.
>>
>> These instructions are also in the install.html file that comes with 
>> the Qt Jambi 4.4.3 source package.
>>
>> So are you saying that all of the 32 bit stuff on 64 bit Linux is no 
>> longer necessary?
>
> If you use a 64-bit linux distro with the 64-bit virtual machine from 
> Sun, it should work. That comment is no longer valid.
>
>> And is it necessary or not to build Jambi from source in order to use 
>> it for generating c++/java bindings?
>
> You will always have to to build qt and jambi from source when doing 
> bindings to be sure of binary compatibility.
>
> -
> Gunnar
>

Thank you Gunnar, that is very helpful.

One more point, do you know whether the 1.6 Java VM has the same 
alignment bug as the 1.5 does? Do the compile options change for 1.6 Java?

Tom






More information about the Qt-jambi-interest mailing list