summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorMojca Miklavec <mojca.miklavec@gmail.com>2016-05-06 11:32:40 +0000
committerMojca Miklavec <mojca.miklavec@gmail.com>2016-05-06 11:32:40 +0000
commit34f25ba917e3cbf44054fa84bbd0ab97b1ffc843 (patch)
tree696fe16a526b69b7f1c8fd955a30bfb09c813430 /Build
parentba3fde6dda599a92cd2a5956e7a83adbb5ecf8ea (diff)
README.solaris: update instructions/log about building solaris binaries
git-svn-id: svn://tug.org/texlive/trunk@40916 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/doc/README.solaris14
1 files changed, 11 insertions, 3 deletions
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);