Jason Stephenson schreef:
Cornelis Hoeflake wrote:
Hi,

bootstraping OpenOffice with a 64 bit JVM will fail. It think this is because the native JNI libraries like jpipe etc are 32 bit (x86/i386). Since the 1.6 JVM is only available in 64 bit, I think this is a serious problem.

Is there any way to solve this?

Try building OOo with "-arch x86_64" in your CFLAGS and/or CXXFLAGS variables, and be prepared to spend several hours working out the kinks.

In what little free time I can find, I have been experimenting with cross development and cross compilation of OOo on Mac. So far, the simple stuff doesn't work, and one has to break out the Mac Fu when it comes to ld flags and the like.

Configure almost always guesses wrongly, though I think changing configure.in is the best place to put these options. So, once I get this figured out, I'll post a configure.in patch.
Thanks for your reply. Building a x64 build would be nice. But in the near future every user has a certain version (x64 or i386) on it's mac. Our client software runs on Java. So, our software runs sometimes on x64 and sometimes on i386. At the moment that OpenOffice and the JVM are build for a different architecture, bootstrapping fromout the JVM is not possible. I'm not sure, but this cannot be solved by compiling (for example) libjpipe.dylib to x86 AND i386 in one file. Is this correct?

Kind regards,
Cornelis Hoeflake


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to