This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
microperl: Up versions in uconfig.sh to 5.13
[perl5.git] / README.micro
index d4b2628..c51c185 100644 (file)
@@ -7,10 +7,10 @@ All this is experimental.  If you don't know what to do with microperl
 you probably shouldn't.  Do not report bugs in microperl; fix the bugs.
 
 We assume ANSI C89 plus the following:
-- <stdlib.h>
+- <stddef.h>, <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.)
@@ -24,4 +24,12 @@ If you make changes to uconfig.sh, run
 
        make -f Makefile.micro regen_uconfig
 
-to regenerate uconfig.h.
+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.
+