Hi Ulf,
Ulf Wendel wrote:
Moin Heiner!
Jens-Heiner Rechtien schrieb:
- we had a former version of OOo on Solaris Sparc which was buildable
with gcc but this port hasn't been maintained for a long time.
Currently you'll need SunStudio (8, 10-12 or Sun Studio Express) to
build OOo on Solaris. The configure script hasn't been updated in a
while as you found out ... sorry for that.
Its likely that GCC works fine on OpenSolaris and x86. Its just that you
might not want to use the OpenSolaris SUNWgcc package but compile GCC
yourself. I'll try GCC once I get OOo to build with the Sun compilers.
Building OOo on Solaris with gcc is a bit more involved than it might
seem on the first glance. GCC itself is a fine compiler and works great
on Solaris but there are a few assumptions in the OOo code that assume
that on Solaris SunStudio is used for building. Especially the bridge
needs to be adapted for each compiler/platform combination, because it
requires intimate knowledge about object layout, calling conventions and
the throwing and catching of exceptions. The bridge glues the generic
UNO API to the (mostly) C++ based OOo implementation. Parts of it are
implemented in assembler.
- support for building jdk-1.6 has been recently added and might not
work perfectly yet. They've changed the place where some libraries
live (for instance the libmawt.so over which you stumbled). Since we
need to access these libraries directly some changes to JDKLIB and
JDKLIBS environment variables might be necessary.
Maybe not perfect but, for example, hsql compiles just fine with the
defaultOpenSolaris Java 1.6 packages. That's pretty cool.
JDKLIB, JDKLIBS ... aha... I'll try to find a human Java-FAQ to navigate
me through the 1.6 waters...
These are environment variables which are set in the SolarisEnv.sh
script generated by the configure process, so they are specific to OOo.
through. Please do file a few bugs for the problems you found, I do
plan to update the Solaris build stuff in the hopefully not so long
future.
Will do once I've fiddled out some instructions for building on
OpenSolaris x86. I'm doing a lot of try & error at the moment.
Ulf
PS: SuSE 11 - all fine on x86, x86_64 as long as you stay away from
non-Sun Java.
Heiner
--
Jens-Heiner Rechtien
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]