summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
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);