summaryrefslogtreecommitdiff
path: root/Makefile.micro
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-03-26 21:22:55 +0000
committerNicholas Clark <nick@ccl4.org>2011-03-28 10:21:48 +0100
commitc13bf28c5e59a95be2cd4bec3c8e48c16f0199f7 (patch)
tree60240bb2b4cae628adf147975afd3b07b270d3b8 /Makefile.micro
parentab3ee5ad1f0702fbf85684d763bfd4b074269ec6 (diff)
downloadperl-c13bf28c5e59a95be2cd4bec3c8e48c16f0199f7.tar.gz
For microperl, add uconfig64.sh, with values suitable for an LP64 platform.
Add instructions on how to use it to README.micro. There's rather too much size-specific in perl's configuration to make it viable to have a single uconfig.sh that will work "properly" on both LP32 and LP64 platforms. It seems best to ship the default as LP32 (which is correct for Win32 (although I don't know if microperl yet builds on Win32)), and provide just a config.sh file for LP64, as most (all?) 64 bit *nix platforms are LP64, and can run the shell commands to generate a uconfig.h from it. (Win64 is LLP64, so uconfig64.sh isn't going to be right for it, so the inability of Win64 to generate uconfig.h from uconfig64.sh isn't a problem)
Diffstat (limited to 'Makefile.micro')
-rw-r--r--Makefile.micro3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.micro b/Makefile.micro
index e1aae13ab2..b5a7123f9a 100644
--- a/Makefile.micro
+++ b/Makefile.micro
@@ -50,6 +50,9 @@ patch_uconfig:
regen_uconfig: uconfig.sh config_h.SH
$(ENV) CONFIG_SH=uconfig.sh CONFIG_H=uconfig.h sh ./config_h.SH
+regen_uconfig64: uconfig64.sh config_h.SH
+ $(ENV) CONFIG_SH=uconfig64.sh CONFIG_H=uconfig.h sh ./config_h.SH
+
# Do not regenerate perly.c and perly.h.
perly.c: perly.y