From 50a34de248e06a587d82c956c722669e2e455551 Mon Sep 17 00:00:00 2001 From: Mojca Miklavec Date: Sat, 6 Feb 2016 13:28:36 +0000 Subject: update README.solaris with build instructions for SunOS git-svn-id: svn://tug.org/texlive/trunk@39603 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/doc/README.solaris | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'Build') diff --git a/Build/source/doc/README.solaris b/Build/source/doc/README.solaris index 7aa91d76f96..4570b06ddc8 100644 --- a/Build/source/doc/README.solaris +++ b/Build/source/doc/README.solaris @@ -6,7 +6,7 @@ Compiling TeX binaries on Solaris but the same rules should apply to i386 and x86_64 as well.) Solaris 9 has been out of official support for a while and making -software compile on that platform is challenging, so it hardly make any +software compile on that platform is challenging, so it hardly makes any sense to try to support it. Solaris 10 reaches end of support in January 2021: @@ -101,3 +101,20 @@ systems. If users need binaries to run on even older systems, we can target what is desired by changing the map file. + +Building texlive +================ + +Two extra settings were needed to compile TeX Live with gcc 5.2: + * export LIBPNG_USER_CPPFLAGS="-D_XOPEN_SOURCE=600" + * ./Build --without-iconv + +The second option makes sure to avoid linking against libiconv +which is not available on SunOS by default. + +The first option is only needed on Solaris 10 to circumvent a problem +in libpng . + +Using `#define _POSIX_SOURCE 1` will fail to compile on Solaris 10 with gcc 5.x +unless one of `_XPG6`, `_XOPEN_SOURCE = 600`, or `_POSIX_C_SOURCE = 200112L` is set. + -- cgit v1.2.3