--- App-Staticperl/staticperl.pod 2010/12/10 20:29:17 1.20 +++ App-Staticperl/staticperl.pod 2010/12/15 00:17:47 1.24 @@ -124,10 +124,12 @@ =head1 THE F SCRIPT This module installs a script called F into your perl -binary directory. The script is fully self-contained, and can be used -without perl (for example, in an uClibc chroot environment). In fact, -it can be extracted from the C distribution tarball as -F, without any installation. +binary directory. The script is fully self-contained, and can be +used without perl (for example, in an uClibc chroot environment). In +fact, it can be extracted from the C distribution +tarball as F, without any installation. The +newest (possibly alpha) version can also be downloaded from +L. F interprets the first argument as a command to execute, optionally followed by any parameters. @@ -147,12 +149,17 @@ staticperl install -Is normally all you need: It installs the perl interpreter in +is normally all you need: It installs the perl interpreter in F<~/.staticperl/perl>. It downloads, configures, builds and installs the perl interpreter if required. -Most of the following commands simply run one or more steps of this -sequence. +Most of the following F subcommands simply run one or more +steps of this sequence. + +If it fails, then most commonly because the compiler options I selected +are not supported by your compiler - either edit the F script +yourself or create F<~/.staticperl> shell script where your set working +C etc. variables. To force recompilation or reinstallation, you need to run F first. @@ -209,11 +216,12 @@ Deletes the perl source directory (and potentially cleans up other intermediate files). This can be used to clean up files only needed for -building perl, without removing the installed perl interpreter, or to -force a re-build from scratch. +building perl, without removing the installed perl interpreter. At the moment, it doesn't delete downloaded tarballs. +The exact semantics of this command will probably change. + =item F This wipes your complete F<~/.staticperl> directory. Be careful with this, @@ -703,13 +711,17 @@ (C<-Duse64bitint>), or disable large files support (-Uuselargefiles), to reduce filesize further. -=item C, C, C, C +=item C, C, C, C, C These flags are passed to perl's F script, and are generally optimised for small size (at the cost of performance). Since they also contain subtle workarounds around various build issues, changing these -usually requires understanding their default values - best look at the top -of the F script for more info on these. +usually requires understanding their default values - best look at +the top of the F script for more info on these, and use a +F<~/.staticperlrc> to override them. + +Most of the variables override (or modify) the corresponding F +variable, except C, which gets appended. =back @@ -717,6 +729,10 @@ =over 4 +=item C + +The make command to use - default is C. + =item C Where F writes the C command to @@ -1053,7 +1069,7 @@ } This mostly gains space when linking staticaly, as the functions will -liekly not be linked in. The gain for dynamically-linked binaries is +likely not be linked in. The gain for dynamically-linked binaries is smaller. Also, this leaves C in - not only is it actually used