From 42600de6faf84a8f4debbc94cdbdd662da2c4393 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Mon, 25 Aug 2003 16:35:26 +0000 Subject: SunOS 4.1.4 is working, too. p4raw-id: //depot/perl@20886 --- README.solaris | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) (limited to 'README.solaris') diff --git a/README.solaris b/README.solaris index 202c8ff695..7e9b308447 100644 --- a/README.solaris +++ b/README.solaris @@ -233,16 +233,6 @@ 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 @@ -602,6 +592,22 @@ symbolic link /dev/urandom pointing to /dev/random. It may be possible to use the Entropy Gathering Daemon (written in Perl!), available from L. +=head1 SunOS 4.x + +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. + +As of Perl 5.8.1 the dynamic loading of libraries (DynaLoader, XSLoader) +also seems to have become broken in in SunOS 4.x. Therefore the default +is to build Perl statically. + =head1 AUTHOR The original was written by Andy Dougherty F -- cgit v1.2.1