From 34f25ba917e3cbf44054fa84bbd0ab97b1ffc843 Mon Sep 17 00:00:00 2001 From: Mojca Miklavec Date: Fri, 6 May 2016 11:32:40 +0000 Subject: README.solaris: update instructions/log about building solaris binaries git-svn-id: svn://tug.org/texlive/trunk@40916 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/doc/README.solaris | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'Build/source') diff --git a/Build/source/doc/README.solaris b/Build/source/doc/README.solaris index 713be511c7b..6a2e1c7cd2f 100644 --- a/Build/source/doc/README.solaris +++ b/Build/source/doc/README.solaris @@ -2,9 +2,6 @@ Compiling TeX binaries on Solaris -(The document describes the procedures used on Sparc Solaris binaries, -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 makes any sense to try to support it. @@ -41,6 +38,14 @@ You can check the libc version with SUNW_0.8; SUNW_0.7; +Building for 64-bit +=================== + +All binaries have been compiled with gcc-5.2. +The only thing that is needed to build for 64-bit is to define + export CC="/path/to/gcc-5.2 -m64" + export CXX="/path/to/g++-5.2 -m64" + Building wget ============= @@ -71,6 +76,9 @@ The binary was built with gcc 5.2. The definition '#define _XOPEN_SOURCE 500' has been removed from 'src/sysdep.h' to avoid compile error due to the fact that GCC 5 switched to -std=99. +On i386 and x86_64 one has to manually add "-lsocket -lnsl" to the last linker command. +This should be reported upstream. + > pvs Master/tlpkg/installer/wget/wget.sparc-solaris libsocket.so.1 (SUNW_1.4); libnsl.so.1 (SUNW_1.7); -- cgit v1.2.3