summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2014-01-16 08:15:10 -0300
committerBrian Fraser <fraserbn@gmail.com>2014-01-17 11:35:48 -0300
commitb76ca5cc32f3249b9a89eb81c445f069e69fb814 (patch)
tree3a41c86bc15163c7d9967719774d350e6ec01686 /INSTALL
parenta96ee25b55464b90bb77ca1d406e6cfd6c720462 (diff)
downloadperl-b76ca5cc32f3249b9a89eb81c445f069e69fb814.tar.gz
INSTALL: Document -Dsysroot
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL11
1 files changed, 11 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index 1fdb5aa1f6..82ae436215 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1090,6 +1090,17 @@ system.
=back
+=head2 Specifying a logical root directory
+
+If you are cross-compiling, or are using a compiler which has it's own
+headers and libraries in a nonstandard location, and your compiler
+understands the C<--sysroot> option, you can use the C<-Dsysroot> option to
+specify the logical root directory under which all libraries and headers
+are searched for. This patch adjusts Configure to search under $sysroot, instead of /.
+
+--sysroot is added to ccflags and friends so that make in
+ExtUtils::MakeMaker, and other extensions, will use it.
+
=head2 Overriding an old config.sh
If you want to use an old config.sh produced by a previous run of