README.Solaris | 39 +++++++++++++++++++++++++++++++++++++++ sal/inc/sal/mathconf.h | 3 ++- 2 files changed, 41 insertions(+), 1 deletion(-)
New commits: commit f209a7562e85c6d5dd491c8999e8fc61da18a965 Author: Lionel Dricot <lio...@lanedo.com> Date: Mon Jun 4 22:02:47 2012 +0200 std::isfinite seems to not be available under Solaris. Bypassing it. Change-Id: I8f6f844338cb188a63676f2db5dec89fccfdca4c diff --git a/sal/inc/sal/mathconf.h b/sal/inc/sal/mathconf.h index 1e4b11b..35d7bff 100644 --- a/sal/inc/sal/mathconf.h +++ b/sal/inc/sal/mathconf.h @@ -63,7 +63,8 @@ extern "C" { /* SAL_MATH_FINITE(d): test double d on INFINITY, NaN et al. */ -#if defined(__cplusplus) && ( defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L ) +#if !defined SOLARIS && defined(__cplusplus) \ + && ( defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L ) #define SAL_MATH_FINITE(d) std::isfinite(d) #elif defined( WNT) #define SAL_MATH_FINITE(d) _finite(d) commit f76a25c45b247fbdd77c47e033286e3adc5d553a Author: Lionel Dricot <lio...@lanedo.com> Date: Mon Jun 4 17:03:10 2012 +0200 Introducing a README to compile LO on Solaris with GCC Change-Id: Ibd9075708fb5b47fb3ed1bf438522c3f3f2af0ab diff --git a/README.Solaris b/README.Solaris new file mode 100644 index 0000000..a36cc8b --- /dev/null +++ b/README.Solaris @@ -0,0 +1,39 @@ +Instructions to compile LO on Solaris with gcc + +Disclaimer +---------- +This is still work in progress +Compiling LO on Solaris with gcc is a work done by Lanedo ( www.lanedo.com ) +Any inquiry could be sent to office-sola...@lanedo.com + + +Prerequisites +------------- + +A working Oracle Solaris 11 installation + + +Installing Dependancies +----------------------- + +sudo -s + +pkg install git make gcc-45 autoconf autogen automake-110 gnu-m4 + +perl -MCPAN -e 'install Archive::Zip::Archive' + +pkg install pkg:/system/header@0.5.11-0.175.0.0.0.2.1 +pkg install pkg:/developer/gperf@3.0.3-0.175.0.0.0.2.537 +pkg install pkg:/developer/parser/bison@2.3-0.175.0.0.0.2.537 +pkg install pkg:/developer/lexer/flex@2.5.35-0.175.0.0.0.2.537 +pkg install pkg:/developer/documentation-tool/doxygen@1.5.7.1-0.175.0.0.0.2.537 + + +Compiling +--------- + +CC="gcc" CXX="g++" ./autogen.sh --with-num-cpus=2 --with-max-jobs=4 --without-junit --disable-mozilla --with-system-curl --without-help --disable-cups --without-java --with-system-cairo --with-lang= --disable-gconf --enable-gio --disable-gnome-vfs --disable-gstreamer --without-fonts --with-system-dicts --without-stlport --disable-mozilla --without-system-mozilla --disable-xmlsec --with-system-openssl + +gmake + + _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits