summaryrefslogtreecommitdiff
path: root/README.solaris
diff options
context:
space:
mode:
Diffstat (limited to 'README.solaris')
-rw-r--r--README.solaris10
1 files changed, 10 insertions, 0 deletions
diff --git a/README.solaris b/README.solaris
index 47338b6ef9..202c8ff695 100644
--- a/README.solaris
+++ b/README.solaris
@@ -233,6 +233,16 @@ You may have to manually edit config.sh and add the -Wl,-E flags
yourself, or else run Configure interactively and add the flags at the
appropriate prompts.
+In SunOS 4.x you most probably want to use the SunOS ld, /usr/bin/ld,
+since the more recent versions of GNU ld (like 2.13) do not seem to
+work for building Perl anymore. When linking the extensions, the
+GNU ld gets very unhappy and spews a lot of errors like this
+
+ ... relocation truncated to fit: BASE13 ...
+
+and dies. Therefore the SunOS 4.1 hints file explicitly sets the
+ld to be /usr/bin/ld.
+
If your gcc is configured to use GNU as and ld but you want to use the
Solaris ones instead to build perl, then you'll need to add
-B/usr/ccs/bin/ to the gcc command line. One convenient way to do