perldelta for -Dtargetsh
authorBrian Fraser <fraserbn@gmail.com>
Thu, 23 Jan 2014 18:45:40 +0000 (19:45 +0100)
committerBrian Fraser <fraserbn@gmail.com>
Thu, 23 Jan 2014 18:46:03 +0000 (19:46 +0100)
pod/perldelta.pod

index 95478f9..8ed60ca 100644 (file)
@@ -263,6 +263,15 @@ C<targethost>.
 The incompatible changes include no longer using xconfig.h, xlib, or
 Cross.pm, so canned config files and Makefiles will have to be updated.
 
+=item *
+
+Related to the above, there is now a way of specifying the location of sh
+(or equivalent) on the target system: C<targetsh>.
+
+For example, Android has its sh in /system/bin/sh, so if cross-compiling
+from a more normal Unixy system with sh in /bin/sh, "targetsh" would end
+up as /system/bin/sh, and "sh" as /bin/sh.
+
 =back
 
 =head1 Testing