summaryrefslogtreecommitdiff
path: root/README.solaris
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-08-24 10:46:42 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-08-24 10:46:42 +0000
commitb76f91fcea858b4c9ff8318bb0e9892afb37cbc8 (patch)
treefe5c87fb3a7466deab9a52094761890c04b1642b /README.solaris
parent641ea34509d056562619331a992674963cdc137c (diff)
downloadperl-b76f91fcea858b4c9ff8318bb0e9892afb37cbc8.tar.gz
Various tweaks for getting Perl to compile on SunOS 4.x.
Doesn't work well yet, something broken in DynaLoader/XSLoader? p4raw-id: //depot/perl@20867
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