This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
p55: add 'declarator' to listop. Fixes 'pipe my ($r, $w)'
[perl5.git] / README.micro
index 7f12c70..040fcff 100644 (file)
@@ -1,4 +1,4 @@
-microperl is supposed to be able a really minimal perl, even more
+microperl is supposed to be a really minimal perl, even more
 minimal than miniperl.  No Configure is needed to build microperl,
 on the other hand this means that interfaces between Perl and your
 operating system are left very -- minimal.
@@ -10,7 +10,7 @@ We assume ANSI C89 plus the following:
 - <stdlib.h>
 - rename()
 - opendir(), readdir(), closedir() (via dirent.h)
-- memchr (via string.h)
+- memchr(), memcmp(), memcpy() (via string.h)
 - (a safe) putenv() (via stdlib.h)
 - strtoul() (via stdlib.h)
 (grep for 'define' in uconfig.sh.)
@@ -20,6 +20,16 @@ If you are still reading this and you are itching to try out microperl:
 
        make -f Makefile.micro
 
+If you make changes to uconfig.sh, run
 
+       make -f Makefile.micro regen_uconfig
 
+to regenerate uconfig.h.  If your compilation platform is not 32-bit
+little-endian (like x86), you might want to try
+
+       make -f Makefile.micro patch_uconfig
+
+*before* the "make -f Makefile.micro".  This tries to minimally patch
+the uconfig.sh using your *current* Perl so that your microperl has
+the correct basic types and sizes and byteorder.