This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
lsts_glued/rules/perl/patches-5.10.0/000-cross-compile.patch

5609 lines
171 KiB
Diff
Raw Normal View History

2013-07-13 17:19:22 +01:00
diff -Naur perl-5.10.0.orig/Cross/build-arm-n770-sh perl-5.10.0/Cross/build-arm-n770-sh
--- perl-5.10.0.orig/Cross/build-arm-n770-sh 2007-12-18 05:47:07.000000000 -0500
+++ perl-5.10.0/Cross/build-arm-n770-sh 1969-12-31 19:00:00.000000000 -0500
@@ -1,74 +0,0 @@
-# this is a build script for ARM-linux cross-compiling.
-# it builds miniperl on HOST and then perl for TARGET
-# this approach is like Perl-CE cross-compiling, and allows
-# for full TARGET perl (as opposed to renamed miniperl)
-
-# to skip Configure/build for HOST miniperl, pass "noconf" argument to this script
-
-# some trick is different, however - the file extension for objects files
-# are choosen to be .${CROSS_NAME}, .armo in our case
-
-# note how invoked Makefile.PL for cross-compilation:
-# miniperl -MCross Makefile.PL
-
-# steps are:
-# - run HOST configure
-# - build HOST miniperl
-# given freshly-created HOST makefile and existing miniperl fix makefile
-# to use
-
-CROSS_NAME=arm
-
-# suppose compiler is in /opt/arm-2006q3
-CCPATH=/opt/arm-2006q3
-PATH=$CCPATH/bin:$PATH
-CCPREF=arm-none-linux-gnueabi-
-
-CROSSCC=${CCPREF}gcc
-export CROSSCC
-export CROSS_NAME
-
-cp config.sh-arm-linux-n770 config-${CROSS_NAME}.sh
-
-# following should be done better:
-cd ..
-
-if [[ "x$1" != xnoconf* ]] ; then
-# do miniperl on HOST
-./Configure -des -D prefix=./dummy -Dusedevel
-make miniperl
-make uudmap.h
-# fake uudmap, which should be on HOST
-# TODO - all host utilities should be clearly stated and not built for TARGET
-cp generate_uudmap generate_uudmap.${CROSS_NAME}
-fi
-
-#?? cd Cross
-
-# do the rest for TARGET
-$CROSSCC --version
-
-# call make thusly so it will crosscompile...
-XCOREDIR=xlib/$CROSS_NAME/CORE
-PERL_CONFIG_SH=Cross/config-${CROSS_NAME}.sh
-
-#?? . $PERL_CONFIG_SH
-
-# make cflags do cross-compile work (now its hackish, will be improved!)
-rm cflags-cross-$CROSS_NAME
-cp Cross/cflags-cross-$CROSS_NAME .
-rm Makefile-cross-$CROSS_NAME
-sh Cross/Makefile-cross-SH
-cp Cross/Makefile-cross-$CROSS_NAME .
-
-mkdir xlib
-mkdir xlib/$CROSS_NAME
-mkdir ${XCOREDIR}
-
-#??OBJ_EXT=.${CROSS_NAME}o
-# TODO these -- AR=${CCPREF}ar LD=${CCPREF}ld
-make -f Makefile-cross-$CROSS_NAME xconfig.h
-make -f Makefile-cross-$CROSS_NAME libperl.${CROSS_NAME}a OBJ_EXT=.${CROSS_NAME}o EXE_EXT=.$CROSS_NAME LIB_EXT=.${CROSS_NAME}a AR=${CCPREF}ar LD=${CCPREF}ld
-make -f Makefile-cross-$CROSS_NAME DynaLoader.${CROSS_NAME}o OBJ_EXT=.${CROSS_NAME}o EXE_EXT=.$CROSS_NAME LIB_EXT=.${CROSS_NAME}a AR=${CCPREF}ar LD=${CCPREF}ld
-make -f Makefile-cross-$CROSS_NAME perl.${CROSS_NAME}
-
diff -Naur perl-5.10.0.orig/Cross/cflags-cross-arm perl-5.10.0/Cross/cflags-cross-arm
--- perl-5.10.0.orig/Cross/cflags-cross-arm 2007-12-18 05:47:07.000000000 -0500
+++ perl-5.10.0/Cross/cflags-cross-arm 1969-12-31 19:00:00.000000000 -0500
@@ -1,157 +0,0 @@
-#!/bin/sh
-
-# Extra warnings, used e.g. for gcc.
-warn="-Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat"
-# Extra standardness.
-stdflags=" -std=c89"
-# Extra extra.
-extra=""
-
-# TODO - remove this Cross-config-xxx stuff
-
-case $PERL_CONFIG_SH in
-'')
- if test -f Cross/config-arm.sh; then TOP=.;
- elif test -f ../Cross/config-arm.sh; then TOP=..;
- elif test -f ../../Cross/config-arm.sh; then TOP=../..;
- elif test -f ../../../Cross/config-arm.sh; then TOP=../../..;
- elif test -f ../../../../Cross/config-arm.sh; then TOP=../../../..;
- else
- echo "Can't find config-arm.sh."; exit 1
- fi
- . $TOP/Cross/config-arm.sh
- ;;
-esac
-
-: syntax: cflags [optimize=XXX] [file[.suffix]]
-: displays the compiler command line for file
-
-case "X$1" in
-Xoptimize=*|X"optimize=*")
- eval "$1"
- shift
- ;;
-esac
-
-also=': '
-case $# in
-1) also='echo 1>&2 " CCCMD = "'
-esac
-
-case $# in
-0) set *.c; echo "The current C flags are:" ;;
-esac
-
-set `echo "$* " | sed -e 's/\.[oc] / /g' -e "s/\.${CROSS_NAME}o / /g" -e 's/\.obj / /g' -e "s/\\$obj_ext / /g"`
-
-for file do
-
- case "$#" in
- 1) extra="-o $file.${CROSS_NAME}o $extra";;
- *) echo $n " $file.c $c" ;;
- esac
-
- : allow variables like toke_cflags to be evaluated
-
- if echo $file | grep -v / >/dev/null
- then
- eval 'eval ${'"${file}_cflags"'-""}'
- fi
-
- : or customize here
-
- case "$file" in
- DB_File) ;;
- GDBM_File) ;;
- NDBM_File) ;;
- ODBM_File) ;;
- POSIX) ;;
- SDBM_File) ;;
- av) ;;
- byterun) ;;
- deb) ;;
- dl) ;;
- doio) ;;
- doop) ;;
- dump) ;;
- globals) ;;
- gv) ;;
- hv) ;;
- locale) ;;
- madly) ;;
- main) ;;
- malloc) ;;
- mg) ;;
- miniperlmain) ;;
- numeric) ;;
- op) ;;
- opmini) ;;
- pad) ;;
- perl) ;;
- perlapi) ;;
- perlmain) ;;
- perly) ;;
- pp) ;;
- pp_ctl) ;;
- pp_hot) ;;
- pp_pack) ;;
- pp_sort) ;;
- pp_sys) ;;
- regcomp) ;;
- regexec) ;;
- run) ;;
- scope) ;;
- sv) ;;
- taint) ;;
- toke) ;;
- universal) ;;
- usersub) ;;
- utf8) ;;
- util) ;;
- xsutils) ;;
- *) ;;
- esac
-
-case "$cc" in
-*g++*)
- # Extra paranoia in case people have bad canned ccflags:
- # bad in the sense that the flags are accepted by g++,
- # but then whined about.
- for f in -Wdeclaration-after-statement -std=c89
- do
- ccflags=`echo $ccflags|sed 's/$f/ /'`
- done
- ;;
-esac
-
-case "$cc" in
-*g++*)
- # Without -Wno-unused-variable g++ 4.x compiles are rather unwatchable
- # because of all the warnings about Perl___notused, and g++ doesn't do
- # __attribute__((unused)) (and even if at some stage it may, people do
- # have older gcc installations), and ((void)x) isn't enough to silence
- # the noises about XS functions not using their cv parameter, so we need
- # the -Wno-unused-parameter too.
- # Yes, we lose some valid warnings, but hopefully other compilers
- # (like gcc) will still pick up those warnings.
- for o in -Wno-unused-variable -Wno-unused-parameter
- do
- case "$warn" in
- *$o*) ;;
- *) warn="$warn $o" ;;
- esac
- done
- ;;
-esac
-
-if test -f .patch; then
- ccflags="-DPERL_PATCHNUM=`cat .patch` $ccflags"
-fi
-
- : Can we perhaps use $ansi2knr here
- echo "$CROSSCC -c -DPERL_CORE $ccflags $stdflags $optimize $warn $extra"
- eval "$also "'"$CROSSCC -DUSE_CROSS_COMPILE -DPERL_CORE -c $ccflags $stdflags $optimize $warn $extra"'
-
- . $TOP/Cross/config-arm.sh
-
-done
diff -Naur perl-5.10.0.orig/Cross/cleanconfig.sh perl-5.10.0/Cross/cleanconfig.sh
--- perl-5.10.0.orig/Cross/cleanconfig.sh 1969-12-31 19:00:00.000000000 -0500
+++ perl-5.10.0/Cross/cleanconfig.sh 2009-04-05 13:37:35.954482014 -0400
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+if [ ! -f "$1" ]; then
+ echo "Usage: $0 filename"
+ exit 1
+fi
+# Package name :
+# Source directory :
+# Configuration time:
+# Configured by :
+# Target system : linux shelby 2.6.27.10-r4 #4 smp sun dec 21 12:36:
+
+sed -i.orig "$1" \
+ -e "/^#.*Package name/d" \
+ -e "/^#.*Source directory/d" \
+ -e "/^#.*Configuration time/d" \
+ -e "/^#.*Configured by/d" \
+ -e "/^#.*Target system/d" \
+ -e "s@\(^myhostname=\).*@\1''@g" \
+ -e "s@\(^mydomain=\).*@\1''@g" \
+ -e "s@\(^cf_by=\).*@\1''@g" \
+ -e "s@\(^cf_email=\).*@\1''@g" \
+ -e "s@\(^perladmin=\).*@\1''@g" \
+ -e "s@\(^myuname=\).*@\1''@g" \
+ -e "s@\(^cf_time=\).*@\1''@g"
diff -Naur perl-5.10.0.orig/Cross/config perl-5.10.0/Cross/config
--- perl-5.10.0.orig/Cross/config 2007-12-18 05:47:07.000000000 -0500
+++ perl-5.10.0/Cross/config 1969-12-31 19:00:00.000000000 -0500
@@ -1,23 +0,0 @@
-##############################################################################
-#
-# This is the configuration file used to specify the target platform and
-# required level of debug or optimisation.
-#
-##############################################################################
-
-### Target Arch
-ARCH = arm
-#ARCH = i386-pc
-#ARCH = sh4
-#ARCH = mips
-#ARCH = mipsel
-#ARCH = ppc
-
-## Specific arm
-CONFIG_TARGET_ARM_SA11X0 = 1
-#CONFIG_TARGET_ARM_XSCALE = 1
-
-### Target OS
-OS = linux
-#OS = solaris2.8
-
diff -Naur perl-5.10.0.orig/Cross/config.sh-arm-linux perl-5.10.0/Cross/config.sh-arm-linux
--- perl-5.10.0.orig/Cross/config.sh-arm-linux 2007-12-18 05:47:07.000000000 -0500
+++ perl-5.10.0/Cross/config.sh-arm-linux 2009-04-05 13:37:40.274479697 -0400
@@ -6,11 +6,6 @@
# instead choose to run each of the .SH files by yourself, or "Configure -S".
#
-# Package name : perl5
-# Source directory : .
-# Configuration time: Wed Sep 3 22:24:58 EDT 2003
-# Configured by : red
-# Target system : linux openzaurus.criticalintegration.com 2.4.6-rmk1-np2-embedix #15 Wed Aug 6 07:49:44 UTC 2003 armv4l unknown
Author=''
Date='$Date'
@@ -33,15 +28,15 @@
aphostname='/bin/hostname'
api_revision='5'
api_subversion='0'
-api_version='9'
+api_version='10'
api_versionstring='5.10.0'
ar='ar'
-archlib='/usr/lib/perl5/5.10.0/armv4l-linux'
-archlibexp='/usr/lib/perl5/5.10.0/armv4l-linux'
+archlib='/usr/lib/perl5/5.10.0/armv5tel-linux-thread-multi'
+archlibexp='/usr/lib/perl5/5.10.0/armv5tel-linux-thread-multi'
archname64=''
-archname='armv4l-linux'
+archname='armv5tel-linux-thread-multi'
archobjs=''
-asctime_r_proto='0'
+asctime_r_proto='REENTRANT_PROTO_B_SB'
awk='awk'
baserev='5.0'
bash=''
@@ -54,16 +49,16 @@
castflags='0'
cat='cat'
cc='cc'
-cccdlflags='-fpic'
-ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.10.0/armv4l-linux/CORE'
-ccflags='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
+cccdlflags='-fPIC'
+ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.10.0/armv5tel-linux-thread-multi/CORE'
+ccflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
-ccname='arm-linux-gcc'
-ccsymbols='__APCS_32__=1 __ARM_ARCH_3__=1 __CHAR_UNSIGNED__=1 __GNUC_MINOR__=95 __arm__=1 __linux=1 __linux__=1 __unix=1 __unix__=1 cpu=arm machine=arm system=posix system=unix'
+ccname='gcc'
+ccsymbols=''
ccversion=''
-cf_by='red'
-cf_email='red@criticalintegration.com'
-cf_time='Wed Sep 3 22:24:58 EDT 2003'
+cf_by=''
+cf_email=''
+cf_time=''
chgrp=''
chmod='chmod'
chown=''
@@ -75,18 +70,18 @@
cpio=''
cpp='cpp'
cpp_stuff='42'
-cppccsymbols='__ELF__=1 __GNUC__=2 linux=1 unix=1'
-cppflags='-fno-strict-aliasing -I/usr/local/include'
+cppccsymbols=''
+cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include'
cpplast='-'
cppminus='-'
cpprun='cc -E'
cppstdin='cc -E'
-cppsymbols='_FILE_OFFSET_BITS=64 __GLIBC__=2 __GLIBC_MINOR__=2 __GNUC_MINOR__=95 __GNU_LIBRARY__=6 _LARGEFILE_SOURCE=1 _POSIX_C_SOURCE=199506 _POSIX_SOURCE=1 __STDC__=1 __USE_BSD=1 __USE_FILE_OFFSET64=1 __USE_LARGEFILE=1 __USE_MISC=1 __USE_POSIX=1 __USE_POSIX199309=1 __USE_POSIX199506=1 __USE_POSIX2=1 __USE_SVID=1 __linux=1 __linux__=1 __unix=1 __unix__=1'
-crypt_r_proto='0'
+cppsymbols='_FILE_OFFSET_BITS=64 _GNU_SOURCE=1 _LARGEFILE64_SOURCE=1 _LARGEFILE_SOURCE=1 _POSIX_C_SOURCE=200112L _POSIX_SOURCE=1 _REENTRANT=1 _XOPEN_SOURCE=600 _XOPEN_SOURCE_EXTENDED=1 __APCS_32__=1 __ARMEL__=1 __ARM_ARCH_3__=1 __CHAR_BIT__=8 __CHAR_UNSIGNED__=1 __DBL_DENORM_MIN__=4.9406564584124654e-324 __DBL_DIG__=15 __DBL_EPSILON__=2.2204460492503131e-16 __DBL_HAS_DENORM__=1 __DBL_HAS_INFINITY__=1 __DBL_HAS_QUIET_NAN__=1 __DBL_MANT_DIG__=53 __DBL_MAX_10_EXP__=308 __DBL_MAX_EXP__=1024 __DBL_MAX__=1.7976931348623157e+308 __DBL_MIN_10_EXP__=(-307) __DBL_MIN_EXP__=(-1021) __DBL_MIN__=2.2250738585072014e-308 __DEC128_DEN__=0.000000000000000000000000000000001E-6143DL __DEC128_EPSILON__=1E-33DL __DEC128_MANT_DIG__=34 __DEC128_MAX_EXP__=6144 __DEC128_MAX__=9.999999999999999999999999999999999E6144DL __DEC128_MIN_EXP__=(-6143) __DEC128_MIN__=1E-6143DL __DEC32_DEN__=0.000001E-95DF __DEC32_EPSILON__=1E-6DF __DEC32_MANT_DIG__=7 __DEC32_MAX_EXP__=96 __DEC32_MAX__=9.999999E96DF __DEC32_MIN_EXP__=(-95) __DEC32_MIN__=1E-95DF __DEC64_DEN__=0.000000000000001E-383DD __DEC64_EPSILON__=1E-15DD __DEC64_MANT_DIG__=16 __DEC64_MAX_EXP__=384 __DEC64_MAX__=9.999999999999999E384DD __DEC64_MIN_EXP__=(-383) __DEC64_MIN__=1E-383DD __DECIMAL_DIG__=17 __DEC_EVAL_METHOD__=2 __ELF__=1 __FINITE_MATH_ONLY__=0 __FLT_DENORM_MIN__=1.40129846e-45F __FLT_DIG__=6 __FLT_EPSILON__=1.19209290e-7F __FLT_EVAL_METHOD__=0 __FLT_HAS_DENORM__=1 __FLT_HAS_INFINITY__=1 __FLT_HAS_QUIET_NAN__=1 __FLT_MANT_DIG__=24 __FLT_MAX_10_EXP__=38 __FLT_MAX_EXP__=128 __FLT_MAX__=3.40282347e+38F __FLT_MIN_10_EXP__=(-37) __FLT_MIN_EXP__=(-125) __FLT_MIN__=1.17549435e-38F __FLT_RADIX__=2 __GLIBC_MINOR__=9 __GLIBC__=2 __GNUC_GNU_INLINE__=1 __GNUC_MINOR__=3 __GNUC_PATCHLEVEL__=3 __GNUC__=4 __GNU_LIBRARY__=6 __GXX_ABI_VERSION=1002 __INTMAX_MAX__=9223372036854775807LL __INTMAX_TYPE__=long\ long\ int __INT_MAX__=2147483647 __LDBL_DENORM_MIN__=4.9406564584124654e-324L __LDBL_DIG__=15 __LDBL_EPSILON__=2.2204460492503131e-16L __LDBL_HAS_DENORM__=1 __LDBL_HAS_INFINITY__=1 __LDBL_HAS_QUIET_NAN__=1 __LDBL_MANT_DIG__=53 __LDBL_MAX_10_EXP__=308 __LDBL_MAX_EXP__=1024 __LDBL_MAX__=1.7976931348623157e+308L __LDBL_MIN_10_EXP__=(-307) __LDBL_MIN_EXP__=(-1021) __LDBL_MIN__=2.2250738585072014e-308L __LONG_LONG_MAX__=9223372036854775807LL __LONG_MAX__=2147483647L __PTRDIFF_TYPE__=int __REGISTER_PREFIX__= __SCHAR_MAX__=127 __SHRT_MAX__=32767 __SIZEOF_DOUBLE__=8 __SIZEOF_FLOAT__=4 __SIZEOF_INT__=4 __SIZEOF_LONG_DOUBLE__=8 __SIZEOF_LONG_LONG__=8 __SIZEOF_LONG__=4 __SIZEOF_POINTER__=4 __SIZEOF_PTRDIFF_T__=4 __SIZEOF_SHORT__=2 __SIZEOF_SIZE_T__=4 __SIZEOF_WCHAR_T__=4 __SIZEOF_WINT_T__=4 __SIZE_TYPE__=unsigned\ int __STDC_HOSTED__=1 __STDC__=1 __UINTMAX_TYPE__=long\ long\ unsigned\ int __USER_LABEL_PREFIX__= __USE_BSD=1 __USE_FILE_OFFSET64=1 __USE_GNU=1 __USE_LARGEFILE64=1 __USE_LARGEFILE=1 __USE_MISC=1 __USE_POSIX199309=1 __USE_POSIX199506=1 __USE_POSIX2=1 __USE_POSIX=1 __USE_REENTRANT=1 __USE_SVID=1 __USE_UNIX98=1 __USE_XOPEN=1 __USE_XOPEN_EXTENDED=1 __USING_SJLJ_EXCEPTIONS__=1 __VERSION__="4.3.3" __WCHAR_MAX__=2147483647 __WCHAR_TYPE__=long\ int __WINT_TYPE__=unsigned\ int __arm__=1 __gnu_linux__=1 __linux=1 __linux__=1 __unix=1 __unix__=1 linux=1 unix=1'
+crypt_r_proto='REENTRANT_PROTO_B_CCS'
cryptlib=''
csh='csh'
ctermid_r_proto='0'
-ctime_r_proto='0'
+ctime_r_proto='REENTRANT_PROTO_B_SB'
d_Gconvert='gcvt((x),(n),(b))'
d_PRIEUldbl='define'
d_PRIFUldbl='define'
@@ -107,25 +102,25 @@
d_aintl='undef'
d_alarm='define'
d_archlib='define'
-d_asctime_r='undef'
+d_asctime_r='define'
d_atolf='undef'
d_atoll='define'
-d_attribute_format='undef'
-d_attribute_malloc='undef'
-d_attribute_nonnull='undef'
-d_attribute_noreturn='undef'
-d_attribute_pure='undef'
-d_attribute_unused='undef'
-d_attribute_warn_unused_result='undef'
+d_attribute_format='define'
+d_attribute_malloc='define'
+d_attribute_nonnull='define'
+d_attribute_noreturn='define'
+d_attribute_pure='define'
+d_attribute_unused='define'
+d_attribute_warn_unused_result='define'
d_bcmp='define'
d_bcopy='define'
d_bsd='undef'
d_bsdgetpgrp='undef'
d_bsdsetpgrp='undef'
d_builtin_choose_expr='define'
-d_builtin_expect='define'
+d_builtin_expect='undef'
d_bzero='define'
-d_c99_variadic_macros='undef'
+d_c99_variadic_macros='define'
d_casti32='define'
d_castneg='define'
d_charvspr='undef'
@@ -140,11 +135,11 @@
d_copysignl='define'
d_cplusplus='undef'
d_crypt='define'
-d_crypt_r='undef'
-d_csh='define'
-d_ctermid='undef'
+d_crypt_r='define'
+d_csh='undef'
+d_ctermid='define'
d_ctermid_r='undef'
-d_ctime_r='undef'
+d_ctime_r='define'
d_cuserid='define'
d_dbl_dig='define'
d_dbminitproto='undef'
@@ -156,10 +151,10 @@
d_dlopen='define'
d_dlsymun='undef'
d_dosuid='undef'
-d_drand48_r='undef'
+d_drand48_r='define'
d_drand48proto='define'
d_dup2='define'
-d_eaccess='undef'
+d_eaccess='define'
d_endgrent='define'
d_endgrent_r='undef'
d_endhent='define'
@@ -174,7 +169,7 @@
d_endservent_r='undef'
d_eofnblk='define'
d_eunice='undef'
-d_faststdio='define'
+d_faststdio='undef'
d_fchdir='define'
d_fchmod='define'
d_fchown='define'
@@ -182,7 +177,7 @@
d_fcntl_can_lock='define'
d_fd_macros='define'
d_fd_set='define'
-d_fds_bits='undef'
+d_fds_bits='define'
d_fgetpos='define'
d_finite='define'
d_finitel='define'
@@ -205,34 +200,34 @@
d_fsync='define'
d_ftello='define'
d_ftime='undef'
-d_futimes='undef'
+d_futimes='define'
d_getcwd='define'
d_getespwnam='undef'
d_getfsstat='undef'
d_getgrent='define'
-d_getgrent_r='undef'
-d_getgrgid_r='undef'
-d_getgrnam_r='undef'
+d_getgrent_r='define'
+d_getgrgid_r='define'
+d_getgrnam_r='define'
d_getgrps='define'
d_gethbyaddr='define'
d_gethbyname='define'
d_gethent='define'
d_gethname='define'
-d_gethostbyaddr_r='undef'
-d_gethostbyname_r='undef'
-d_gethostent_r='undef'
+d_gethostbyaddr_r='define'
+d_gethostbyname_r='define'
+d_gethostent_r='define'
d_gethostprotos='define'
d_getitimer='define'
d_getlogin='define'
-d_getlogin_r='undef'
+d_getlogin_r='define'
d_getmnt='undef'
d_getmntent='define'
d_getnbyaddr='define'
d_getnbyname='define'
d_getnent='define'
-d_getnetbyaddr_r='undef'
-d_getnetbyname_r='undef'
-d_getnetent_r='undef'
+d_getnetbyaddr_r='define'
+d_getnetbyname_r='define'
+d_getnetent_r='define'
d_getnetprotos='define'
d_getpagsz='define'
d_getpbyname='define'
@@ -243,32 +238,32 @@
d_getpgrp='define'
d_getppid='define'
d_getprior='define'
-d_getprotobyname_r='undef'
-d_getprotobynumber_r='undef'
-d_getprotoent_r='undef'
+d_getprotobyname_r='define'
+d_getprotobynumber_r='define'
+d_getprotoent_r='define'
d_getprotoprotos='define'
d_getprpwnam='undef'
d_getpwent='define'
-d_getpwent_r='undef'
-d_getpwnam_r='undef'
-d_getpwuid_r='undef'
+d_getpwent_r='define'
+d_getpwnam_r='define'
+d_getpwuid_r='define'
d_getsbyname='define'
d_getsbyport='define'
d_getsent='define'
-d_getservbyname_r='undef'
-d_getservbyport_r='undef'
-d_getservent_r='undef'
+d_getservbyname_r='define'
+d_getservbyport_r='define'
+d_getservent_r='define'
d_getservprotos='define'
d_getspnam='define'
-d_getspnam_r='undef'
+d_getspnam_r='define'
d_gettimeod='define'
-d_gmtime_r='undef'
+d_gmtime_r='define'
d_gnulibc='define'
d_grpasswd='define'
d_hasmntopt='define'
d_htonl='define'
d_ilogbl='define'
-d_inc_version_list='define'
+d_inc_version_list='undef'
d_index='undef'
d_inetaton='define'
d_int64_t='define'
@@ -282,8 +277,8 @@
d_ldbl_dig='define'
d_libm_lib_version='define'
d_link='define'
-d_localtime_r='undef'
-d_localtime_r_needs_tzset='undef'
+d_localtime_r='define'
+d_localtime_r_needs_tzset='define'
d_locconv='define'
d_lockf='define'
d_longdbl='define'
@@ -329,8 +324,8 @@
d_nice='define'
d_nl_langinfo='define'
d_nv_preserves_uv='define'
-d_nv_zero_is_allbits_zero='undef'
-d_off64_t='undef'
+d_nv_zero_is_allbits_zero='define'
+d_off64_t='define'
d_old_pthread_create_joinable='undef'
d_oldpthreads='undef'
d_oldsock='undef'
@@ -342,12 +337,12 @@
d_pipe='define'
d_poll='define'
d_portable='define'
-d_printf_format_null='undef'
+d_printf_format_null='define'
d_procselfexe='define'
d_pseudofork='undef'
-d_pthread_atfork='undef'
+d_pthread_atfork='define'
d_pthread_attr_setscope='define'
-d_pthread_yield='undef'
+d_pthread_yield='define'
d_pwage='undef'
d_pwchange='undef'
d_pwclass='undef'
@@ -358,10 +353,10 @@
d_pwquota='undef'
d_qgcvt='define'
d_quad='define'
-d_random_r='undef'
-d_readdir64_r='undef'
+d_random_r='define'
+d_readdir64_r='define'
d_readdir='define'
-d_readdir_r='undef'
+d_readdir_r='define'
d_readlink='define'
d_readv='define'
d_recvmsg='define'
@@ -428,36 +423,36 @@
d_sigprocmask='define'
d_sigsetjmp='define'
d_sitearch='define'
-d_snprintf='undef'
-d_sockatmark='undef'
-d_sockatmarkproto='undef'
+d_snprintf='define'
+d_sockatmark='define'
+d_sockatmarkproto='define'
d_socket='define'
d_socklen_t='define'
d_sockpair='define'
d_socks5_init='undef'
d_sprintf_returns_strlen='define'
d_sqrtl='define'
-d_srand48_r='undef'
-d_srandom_r='undef'
-d_sresgproto='undef'
-d_sresuproto='undef'
+d_srand48_r='define'
+d_srandom_r='define'
+d_sresgproto='define'
+d_sresuproto='define'
d_statblks='define'
d_statfs_f_flags='undef'
d_statfs_s='define'
d_statvfs='define'
d_stdio_cnt_lval='undef'
-d_stdio_ptr_lval='define'
+d_stdio_ptr_lval='undef'
d_stdio_ptr_lval_nochange_cnt='undef'
-d_stdio_ptr_lval_sets_cnt='define'
+d_stdio_ptr_lval_sets_cnt='undef'
d_stdio_stream_array='undef'
-d_stdiobase='define'
-d_stdstdio='define'
+d_stdiobase='undef'
+d_stdstdio='undef'
d_strchr='define'
d_strcoll='define'
d_strctcpy='define'
d_strerrm='strerror(e)'
d_strerror='define'
-d_strerror_r='undef'
+d_strerror_r='define'
d_strftime='define'
d_strlcat='undef'
d_strlcpy='undef'
@@ -486,9 +481,9 @@
d_times='define'
d_tm_tm_gmtoff='define'
d_tm_tm_zone='define'
-d_tmpnam_r='undef'
+d_tmpnam_r='define'
d_truncate='define'
-d_ttyname_r='undef'
+d_ttyname_r='define'
d_tzname='define'
d_u32align='undef'
d_ualarm='define'
@@ -500,10 +495,10 @@
d_usleep='define'
d_usleepproto='define'
d_ustat='define'
-d_vendorarch='undef'
-d_vendorbin='undef'
-d_vendorlib='undef'
-d_vendorscript='undef'
+d_vendorarch='define'
+d_vendorbin='define'
+d_vendorlib='define'
+d_vendorscript='define'
d_vfork='undef'
d_void_closedir='undef'
d_voidsig='define'
@@ -529,8 +524,8 @@
dlsrc='dl_dlopen.xs'
doublesize='8'
drand01='drand48()'
-drand48_r_proto='0'
-dynamic_ext='B ByteLoader Cwd Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Time/HiRes Unicode/Normalize XS/APItest XS/Typemap attrs re threads threads/shared'
+drand48_r_proto='REENTRANT_PROTO_I_ST'
+dynamic_ext='attrs B Compress/Raw/Zlib Cwd Data/Dumper Devel/DProf Devel/Peek Devel/PPPort Digest/MD5 Digest/SHA Encode Fcntl File/Glob Filter/Util/Call Hash/Util I18N/Langinfo IO IPC/SysV List/Util Math/BigInt/FastCalc MIME/Base64 Opcode PerlIO/encoding PerlIO/scalar PerlIO/via POSIX re SDBM_File Socket Storable Sys/Hostname Sys/Syslog Text/Soundex threads Time/HiRes Time/Piece Unicode/Normalize XS/APItest XS/Typemap threads/shared Hash/Util/FieldHash'
eagain='EAGAIN'
ebcdic='undef'
echo='echo'
@@ -545,7 +540,7 @@
eunicefix=':'
exe_ext=''
expr='expr'
-extensions='B ByteLoader Cwd Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Time/HiRes Unicode/Normalize XS/APItest XS/Typemap attrs re threads threads/shared Errno'
+extensions='attrs B Compress/Raw/Zlib Cwd Data/Dumper Devel/DProf Devel/Peek Devel/PPPort Digest/MD5 Digest/SHA Encode Fcntl File/Glob Filter/Util/Call Hash/Util I18N/Langinfo IO IPC/SysV List/Util Math/BigInt/FastCalc MIME/Base64 Opcode PerlIO/encoding PerlIO/scalar PerlIO/via POSIX re SDBM_File Socket Storable Sys/Hostname Sys/Syslog Text/Soundex threads Time/HiRes Time/Piece Unicode/Normalize XS/APItest XS/Typemap threads/shared Hash/Util/FieldHash Compress/Zlib Errno IO_Compress_Base IO_Compress_Zlib'
extras=''
fflushNULL='define'
fflushall='undef'
@@ -557,39 +552,39 @@
freetype='void'
from=':'
full_ar='/usr/bin/ar'
-full_csh='/bin/csh'
+full_csh='csh'
full_sed='/bin/sed'
gccansipedantic=''
gccosandvers=''
-gccversion='2.95.3 20010125 (prerelease)'
-getgrent_r_proto='0'
-getgrgid_r_proto='0'
-getgrnam_r_proto='0'
-gethostbyaddr_r_proto='0'
-gethostbyname_r_proto='0'
-gethostent_r_proto='0'
-getlogin_r_proto='0'
-getnetbyaddr_r_proto='0'
-getnetbyname_r_proto='0'
-getnetent_r_proto='0'
-getprotobyname_r_proto='0'
-getprotobynumber_r_proto='0'
-getprotoent_r_proto='0'
-getpwent_r_proto='0'
-getpwnam_r_proto='0'
-getpwuid_r_proto='0'
-getservbyname_r_proto='0'
-getservbyport_r_proto='0'
-getservent_r_proto='0'
-getspnam_r_proto='0'
+gccversion='4.3.3'
+getgrent_r_proto='REENTRANT_PROTO_I_SBWR'
+getgrgid_r_proto='REENTRANT_PROTO_I_TSBWR'
+getgrnam_r_proto='REENTRANT_PROTO_I_CSBWR'
+gethostbyaddr_r_proto='REENTRANT_PROTO_I_TsISBWRE'
+gethostbyname_r_proto='REENTRANT_PROTO_I_CSBWRE'
+gethostent_r_proto='REENTRANT_PROTO_I_SBWRE'
+getlogin_r_proto='REENTRANT_PROTO_I_BW'
+getnetbyaddr_r_proto='REENTRANT_PROTO_I_uISBWRE'
+getnetbyname_r_proto='REENTRANT_PROTO_I_CSBWRE'
+getnetent_r_proto='REENTRANT_PROTO_I_SBWRE'
+getprotobyname_r_proto='REENTRANT_PROTO_I_CSBWR'
+getprotobynumber_r_proto='REENTRANT_PROTO_I_ISBWR'
+getprotoent_r_proto='REENTRANT_PROTO_I_SBWR'
+getpwent_r_proto='REENTRANT_PROTO_I_SBWR'
+getpwnam_r_proto='REENTRANT_PROTO_I_CSBWR'
+getpwuid_r_proto='REENTRANT_PROTO_I_TSBWR'
+getservbyname_r_proto='REENTRANT_PROTO_I_CCSBWR'
+getservbyport_r_proto='REENTRANT_PROTO_I_ICSBWR'
+getservent_r_proto='REENTRANT_PROTO_I_SBWR'
+getspnam_r_proto='REENTRANT_PROTO_I_CSBWR'
gidformat='"lu"'
gidsign='1'
gidsize='4'
gidtype='gid_t'
glibpth='/usr/shlib /lib /usr/lib /usr/lib/386 /lib/386 /usr/ccs/lib /usr/ucblib /usr/local/lib '
gmake='gmake'
-gmtime_r_proto='0'
-gnulibc_version='2.2.2'
+gmtime_r_proto='REENTRANT_PROTO_S_TS'
+gnulibc_version='2.9'
grep='grep'
groupcat='cat /etc/group'
groupstype='gid_t'
@@ -697,64 +692,65 @@
inc_version_list_init='0'
incpath=''
inews=''
-installarchlib='./install_me_here/usr/lib/perl5/5.10.0/armv4l-linux'
-installbin='./install_me_here/usr/bin'
+initialinstalllocation='/usr/bin'
+installarchlib='/usr/lib/perl5/5.10.0/armv5tel-linux-thread-multi'
+installbin='/usr/bin'
installhtml1dir=''
installhtml3dir=''
-installman1dir='./install_me_here/usr/share/man/man1'
-installman3dir='./install_me_here/usr/share/man/man3'
-installprefix='./install_me_here/usr'
-installprefixexp='./install_me_here/usr'
-installprivlib='./install_me_here/usr/lib/perl5/5.10.0'
-installscript='./install_me_here/usr/bin'
-installsitearch='./install_me_here/usr/lib/perl5/site_perl/5.10.0/armv4l-linux'
-installsitebin='./install_me_here/usr/bin'
+installman1dir='/usr/share/man/man1'
+installman3dir='/usr/share/man/man3'
+installprefix='/usr'
+installprefixexp='/usr'
+installprivlib='/usr/lib/perl5/5.10.0'
+installscript='/usr/bin'
+installsitearch='/usr/lib/perl5/site_perl/5.10.0/armv5tel-linux-thread-multi'
+installsitebin='/usr/bin'
installsitehtml1dir=''
installsitehtml3dir=''
-installsitelib='./install_me_here/usr/lib/perl5/site_perl/5.10.0'
-installsiteman1dir='./install_me_here/usr/share/man/man1'
-installsiteman3dir='./install_me_here/usr/share/man/man3'
-installsitescript='./install_me_here/usr/bin'
-installstyle='./install_me_herelib/perl5'
+installsitelib='/usr/lib/perl5/site_perl/5.10.0'
+installsiteman1dir='/usr/share/man/man1'
+installsiteman3dir='/usr/share/man/man3'
+installsitescript='/usr/bin'
+installstyle='lib/perl5'
installusrbinperl='undef'
-installvendorarch=''
-installvendorbin=''
+installvendorarch='/usr/lib/perl5/vendor_perl/5.10.0/armv5tel-linux-thread-multi'
+installvendorbin='/usr/bin'
installvendorhtml1dir=''
installvendorhtml3dir=''
-installvendorlib=''
-installvendorman1dir=''
-installvendorman3dir=''
-installvendorscript=''
+installvendorlib='/usr/lib/perl5/vendor_perl/5.10.0'
+installvendorman1dir='/usr/share/man/man1'
+installvendorman3dir='/usr/share/man/man3'
+installvendorscript='/usr/bin'
intsize='4'
-issymlink='/usr/bin/test -h'
+issymlink='test -h'
ivdformat='"ld"'
ivsize='4'
ivtype='long'
-known_extensions='B ByteLoader Cwd DB_File Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call GDBM_File I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 NDBM_File ODBM_File Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Time/HiRes Unicode/Normalize XS/APItest XS/Typemap attrs re threads threads/shared'
+known_extensions='attrs B Compress/Raw/Zlib Cwd Data/Dumper DB_File Devel/DProf Devel/Peek Devel/PPPort Digest/MD5 Digest/SHA Encode Fcntl File/Glob Filter/Util/Call GDBM_File Hash/Util I18N/Langinfo IO IPC/SysV List/Util Math/BigInt/FastCalc MIME/Base64 NDBM_File ODBM_File Opcode PerlIO/encoding PerlIO/scalar PerlIO/via POSIX re SDBM_File Socket Storable Sys/Hostname Sys/Syslog Text/Soundex threads Time/HiRes Time/Piece Unicode/Normalize Win32 Win32API/File Win32CORE XS/APItest XS/Typemap threads/shared Hash/Util/FieldHash'
ksh=''
ld='cc'
-lddlflags='-shared -L/usr/local/lib'
+lddlflags='-shared -O2 -L/usr/local/lib'
ldflags=' -L/usr/local/lib'
ldflags_uselargefiles=''
ldlibpthname='LD_LIBRARY_PATH'
less='less'
lib_ext='.a'
-libc='/lib/libc-2.2.2.so'
+libc='/lib/libc-2.9.so'
libperl='libperl.so'
libpth='/usr/local/lib /lib /usr/lib'
-libs='-lnsl -ldl -lm -lcrypt -lutil -lc'
+libs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc'
libsdirs=' /usr/lib'
-libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libc.so'
-libsfound=' /usr/lib/libnsl.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so'
+libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libpthread.so libc.so'
+libsfound=' /usr/lib/libnsl.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libpthread.so /usr/lib/libc.so'
libspath=' /usr/local/lib /lib /usr/lib'
-libswanted='sfio socket bind inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util c cposix posix ucb BSD'
+libswanted='sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util pthread c cposix posix ucb BSD'
libswanted_uselargefiles=''
line=''
lint=''
lkflags=''
ln='ln'
lns='/bin/ln -s'
-localtime_r_proto='0'
+localtime_r_proto='REENTRANT_PROTO_S_TS'
locincpth='/usr/local/include /opt/local/include /usr/gnu/include /opt/gnu/include /usr/GNU/include /opt/GNU/include'
loclibpth='/usr/local/lib /opt/local/lib /usr/gnu/lib /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib'
longdblsize='8'
@@ -766,6 +762,9 @@
lseeksize='8'
lseektype='off_t'
mad='undef'
+madlyh=''
+madlyobj=''
+madlysrc=''
mail=''
mailx=''
make='make'
@@ -787,10 +786,10 @@
more='more'
multiarch='undef'
mv=''
-myarchname='armv4l-linux'
-mydomain='.criticalintegration.com'
-myhostname='openzaurus'
-myuname='linux openzaurus.criticalintegration.com 2.4.6-rmk1-np2-embedix #15 Wed Aug 6 07:49:44 UTC 2003 armv4l unknown '
+myarchname='armv5tel-linux'
+mydomain=''
+myhostname=''
+myuname=''
n='-n'
need_va_copy='undef'
netdb_hlen_type='size_t'
@@ -800,7 +799,7 @@
nm='nm'
nm_opt=''
nm_so_opt='--dynamic'
-nonxs_ext='Errno'
+nonxs_ext='Compress/Zlib Errno IO_Compress_Base IO_Compress_Zlib'
nroff='nroff'
nvEUformat='"E"'
nvFUformat='"F"'
@@ -817,18 +816,18 @@
optimize='-O2'
orderlib='false'
osname='linux'
-osvers='2.4.6-rmk1-np2-embedix'
+osvers='2.6.24-rc7'
otherlibdirs=' '
package='perl5'
-pager='/usr/bin/less'
+pager='/bin/less -isR'
passcat='cat /etc/passwd'
-patchlevel='9'
+patchlevel='10'
path_sep=':'
-perl5='/usr/bin/perl'
+perl5=''
perl=''
perl_patchlevel=''
-perladmin='red@criticalintegration.com'
-perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc'
+perladmin=''
+perllibs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc'
perlpath='/usr/bin/perl'
pg='pg'
phostname='hostname'
@@ -847,14 +846,15 @@
quadtype='long long'
randbits='48'
randfunc='drand48'
-random_r_proto='0'
+random_r_proto='REENTRANT_PROTO_I_St'
randseedtype='long'
ranlib=':'
rd_nodata='-1'
-readdir64_r_proto='0'
-readdir_r_proto='0'
+readdir64_r_proto='REENTRANT_PROTO_I_TSR'
+readdir_r_proto='REENTRANT_PROTO_I_TSR'
revision='5'
rm='rm'
+rm_try='/bin/rm -f try try a.out .out try.[cho] try..o core core.try* try.core*'
rmail=''
run=''
runnm='false'
@@ -893,15 +893,15 @@
shortsize='2'
shrpenv=''
shsharp='true'
-sig_count='64'
-sig_name='ZERO HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT STOP TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS RTMIN NUM33 NUM34 NUM35 NUM36 NUM37 NUM38 NUM39 NUM40 NUM41 NUM42 NUM43 NUM44 NUM45 NUM46 NUM47 NUM48 NUM49 NUM50 NUM51 NUM52 NUM53 NUM54 NUM55 NUM56 NUM57 NUM58 NUM59 NUM60 NUM61 NUM62 RTMAX IOT CLD POLL UNUSED '
-sig_name_init='"ZERO", "HUP", "INT", "QUIT", "ILL", "TRAP", "ABRT", "BUS", "FPE", "KILL", "USR1", "SEGV", "USR2", "PIPE", "ALRM", "TERM", "STKFLT", "CHLD", "CONT", "STOP", "TSTP", "TTIN", "TTOU", "URG", "XCPU", "XFSZ", "VTALRM", "PROF", "WINCH", "IO", "PWR", "SYS", "RTMIN", "NUM33", "NUM34", "NUM35", "NUM36", "NUM37", "NUM38", "NUM39", "NUM40", "NUM41", "NUM42", "NUM43", "NUM44", "NUM45", "NUM46", "NUM47", "NUM48", "NUM49", "NUM50", "NUM51", "NUM52", "NUM53", "NUM54", "NUM55", "NUM56", "NUM57", "NUM58", "NUM59", "NUM60", "NUM61", "NUM62", "RTMAX", "IOT", "CLD", "POLL", "UNUSED", 0'
-sig_num='0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 6 17 29 31 '
-sig_num_init='0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 6, 17, 29, 31, 0'
-sig_size='68'
+sig_count='65'
+sig_name='ZERO HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT STOP TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS NUM32 NUM33 RTMIN NUM35 NUM36 NUM37 NUM38 NUM39 NUM40 NUM41 NUM42 NUM43 NUM44 NUM45 NUM46 NUM47 NUM48 NUM49 NUM50 NUM51 NUM52 NUM53 NUM54 NUM55 NUM56 NUM57 NUM58 NUM59 NUM60 NUM61 NUM62 NUM63 RTMAX IOT CLD POLL UNUSED '
+sig_name_init='"ZERO", "HUP", "INT", "QUIT", "ILL", "TRAP", "ABRT", "BUS", "FPE", "KILL", "USR1", "SEGV", "USR2", "PIPE", "ALRM", "TERM", "STKFLT", "CHLD", "CONT", "STOP", "TSTP", "TTIN", "TTOU", "URG", "XCPU", "XFSZ", "VTALRM", "PROF", "WINCH", "IO", "PWR", "SYS", "NUM32", "NUM33", "RTMIN", "NUM35", "NUM36", "NUM37", "NUM38", "NUM39", "NUM40", "NUM41", "NUM42", "NUM43", "NUM44", "NUM45", "NUM46", "NUM47", "NUM48", "NUM49", "NUM50", "NUM51", "NUM52", "NUM53", "NUM54", "NUM55", "NUM56", "NUM57", "NUM58", "NUM59", "NUM60", "NUM61", "NUM62", "NUM63", "RTMAX", "IOT", "CLD", "POLL", "UNUSED", 0'
+sig_num='0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 6 17 29 31 '
+sig_num_init='0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 6, 17, 29, 31, 0'
+sig_size='69'
signal_t='void'
-sitearch='/usr/lib/perl5/site_perl/5.10.0/armv4l-linux'
-sitearchexp='/usr/lib/perl5/site_perl/5.10.0/armv4l-linux'
+sitearch='/usr/lib/perl5/site_perl/5.10.0/armv5tel-linux-thread-multi'
+sitearchexp='/usr/lib/perl5/site_perl/5.10.0/armv5tel-linux-thread-multi'
sitebin='/usr/bin'
sitebinexp='/usr/bin'
sitehtml1dir=''
@@ -930,8 +930,8 @@
sort='sort'
spackage='Perl5'
spitshell='cat'
-srand48_r_proto='0'
-srandom_r_proto='0'
+srand48_r_proto='REENTRANT_PROTO_I_LS'
+srandom_r_proto='REENTRANT_PROTO_I_TS'
src='.'
ssizetype='ssize_t'
startperl='#!/usr/bin/perl'
@@ -944,10 +944,10 @@
stdio_filbuf=''
stdio_ptr='((fp)->_IO_read_ptr)'
stdio_stream_array=''
-strerror_r_proto='0'
+strerror_r_proto='REENTRANT_PROTO_B_IBW'
strings='/usr/include/string.h'
submit=''
-subversion='3'
+subversion='0'
sysman='/usr/share/man/man1'
tail=''
tar=''
@@ -957,13 +957,13 @@
test='test'
timeincl='/usr/include/sys/time.h /usr/include/time.h '
timetype='time_t'
-tmpnam_r_proto='0'
+tmpnam_r_proto='REENTRANT_PROTO_B_B'
to=':'
touch='touch'
tr='tr'
trnl='\n'
troff=''
-ttyname_r_proto='0'
+ttyname_r_proto='REENTRANT_PROTO_I_IBW'
u16size='2'
u16type='unsigned short'
u32size='4'
@@ -984,13 +984,13 @@
use64bitint='undef'
usecrosscompile='undef'
usedl='define'
-usefaststdio='define'
-useithreads='undef'
+usefaststdio='undef'
+useithreads='define'
uselargefiles='define'
uselongdouble='undef'
usemallocwrap='define'
usemorebits='undef'
-usemultiplicity='undef'
+usemultiplicity='define'
usemymalloc='n'
usenm='false'
useopcode='true'
@@ -1002,8 +1002,8 @@
useshrplib='true'
usesitecustomize='undef'
usesocks='undef'
-usethreads='undef'
-usevendorprefix='undef'
+usethreads='define'
+usevendorprefix='define'
usevfork='false'
usrinc='/usr/include'
uuname=''
@@ -1013,27 +1013,27 @@
uvtype='unsigned long'
uvuformat='"lu"'
uvxformat='"lx"'
-vendorarch=''
-vendorarchexp=''
-vendorbin=''
-vendorbinexp=''
+vendorarch='/usr/lib/perl5/vendor_perl/5.10.0/armv5tel-linux-thread-multi'
+vendorarchexp='/usr/lib/perl5/vendor_perl/5.10.0/armv5tel-linux-thread-multi'
+vendorbin='/usr/bin'
+vendorbinexp='/usr/bin'
vendorhtml1dir=' '
vendorhtml1direxp=''
vendorhtml3dir=' '
vendorhtml3direxp=''
-vendorlib=''
-vendorlib_stem=''
-vendorlibexp=''
-vendorman1dir=' '
-vendorman1direxp=''
-vendorman3dir=' '
-vendorman3direxp=''
-vendorprefix=''
-vendorprefixexp=''
-vendorscript=''
-vendorscriptexp=''
+vendorlib='/usr/lib/perl5/vendor_perl/5.10.0'
+vendorlib_stem='/usr/lib/perl5/vendor_perl'
+vendorlibexp='/usr/lib/perl5/vendor_perl/5.10.0'
+vendorman1dir='/usr/share/man/man1'
+vendorman1direxp='/usr/share/man/man1'
+vendorman3dir='/usr/share/man/man3'
+vendorman3direxp='/usr/share/man/man3'
+vendorprefix='/usr'
+vendorprefixexp='/usr'
+vendorscript='/usr/bin'
+vendorscriptexp='/usr/bin'
version='5.10.0'
-version_patchlevel_string='version 9 subversion 4'
+version_patchlevel_string='version 10 subversion 0'
versiononly='undef'
vi=''
voidflags='15'
@@ -1044,13 +1044,24 @@
zip='zip'
# Configure command line arguments.
config_arg0='Configure'
-config_args=''
-config_argc=0
+config_args='-ds -e -Dprefix=/usr -Dvendorprefix=/usr -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dpager=/bin/less -isR -Dusethreads -Duseshrplib'
+config_argc=9
+config_arg1='-ds'
+config_arg2='-e'
+config_arg3='-Dprefix=/usr'
+config_arg4='-Dvendorprefix=/usr'
+config_arg5='-Dman1dir=/usr/share/man/man1'
+config_arg6='-Dman3dir=/usr/share/man/man3'
+config_arg7='-Dpager=/bin/less -isR'
+config_arg8='-Dusethreads'
+config_arg9='-Duseshrplib'
PERL_REVISION=5
-PERL_VERSION=9
-PERL_SUBVERSION=4
+PERL_VERSION=10
+PERL_SUBVERSION=0
PERL_API_REVISION=5
-PERL_API_VERSION=9
+PERL_API_VERSION=10
PERL_API_SUBVERSION=0
PERL_PATCHLEVEL=
PERL_CONFIG_SH=true
+# Variables propagated from previous config.sh file.
+libdb_needs_pthread='N'
diff -Naur perl-5.10.0.orig/Cross/config.sh-arm-linux-n770 perl-5.10.0/Cross/config.sh-arm-linux-n770
--- perl-5.10.0.orig/Cross/config.sh-arm-linux-n770 2007-12-18 05:47:07.000000000 -0500
+++ perl-5.10.0/Cross/config.sh-arm-linux-n770 1969-12-31 19:00:00.000000000 -0500
@@ -1,1056 +0,0 @@
-#!/bin/sh
-#
-# This file was produced by running the Configure script. It holds all the
-# definitions figured out by Configure. Should you modify one of these values,
-# do not forget to propagate your changes by running "Configure -der". You may
-# instead choose to run each of the .SH files by yourself, or "Configure -S".
-#
-
-# Package name : perl5
-# Source directory : .
-# Configuration time: Wed Sep 3 22:24:58 EDT 2003
-# Configured by : vadrer
-# Target system : linux nokia770 armv5teji1
-
-Author=''
-Date='$Date'
-Header=''
-Id='$Id'
-Locker=''
-Log='$Log'
-Mcc='Mcc'
-RCSfile='$RCSfile'
-Revision='$Revision'
-Source=''
-State=''
-_a='.arma'
-_exe='.arm'
-_o='.armo'
-afs='false'
-afsroot='/afs'
-alignbytes='4'
-ansi2knr=''
-aphostname='/bin/hostname'
-api_revision='5'
-api_subversion='0'
-api_version='9'
-api_versionstring='5.10.0'
-ar='ar'
-archlib='/usr/lib/perl5/5.10.0/armv4l-linux'
-archlibexp='/usr/lib/perl5/5.10.0/armv4l-linux'
-archname64=''
-archname='armv4l-linux'
-archobjs=''
-asctime_r_proto='0'
-awk='awk'
-baserev='5.0'
-bash=''
-bin='/usr/bin'
-binexp='/usr/bin'
-bison='bison'
-byacc='byacc'
-byteorder='1234'
-c=''
-castflags='0'
-cat='cat'
-cc='arm-none-linux-gnueabi-gcc'
-cccdlflags='-fpic'
-ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.10.0/armv4l-linux/CORE'
-ccflags='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
-ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
-ccname='arm-linux-gcc'
-ccsymbols='__APCS_32__=1 __ARM_ARCH_3__=1 __CHAR_UNSIGNED__=1 __GNUC_MINOR__=95 __arm__=1 __linux=1 __linux__=1 __unix=1 __unix__=1 cpu=arm machine=arm system=posix system=unix'
-ccversion=''
-cf_by='red'
-cf_email='red@criticalintegration.com'
-cf_time='Wed Sep 3 22:24:58 EDT 2003'
-chgrp=''
-chmod='chmod'
-chown=''
-clocktype='clock_t'
-comm='comm'
-compress=''
-contains='grep'
-cp='cp'
-cpio=''
-cpp='cpp'
-cpp_stuff='42'
-cppccsymbols='__ELF__=1 __GNUC__=2 linux=1 unix=1'
-cppflags='-fno-strict-aliasing -I/usr/local/include'
-cpplast='-'
-cppminus='-'
-cpprun='arm-none-linux-gnueabi-gcc -E'
-cppstdin='arm-none-linux-gnueabi-gcc -E'
-cppsymbols='_FILE_OFFSET_BITS=64 __GLIBC__=2 __GLIBC_MINOR__=2 __GNUC_MINOR__=95 __GNU_LIBRARY__=6 _LARGEFILE_SOURCE=1 _POSIX_C_SOURCE=199506 _POSIX_SOURCE=1 __STDC__=1 __USE_BSD=1 __USE_FILE_OFFSET64=1 __USE_LARGEFILE=1 __USE_MISC=1 __USE_POSIX=1 __USE_POSIX199309=1 __USE_POSIX199506=1 __USE_POSIX2=1 __USE_SVID=1 __linux=1 __linux__=1 __unix=1 __unix__=1'
-crypt_r_proto='0'
-cryptlib=''
-csh='csh'
-ctermid_r_proto='0'
-ctime_r_proto='0'
-d_Gconvert='gcvt((x),(n),(b))'
-d_PRIEUldbl='define'
-d_PRIFUldbl='define'
-d_PRIGUldbl='define'
-d_PRIXU64='define'
-d_PRId64='define'
-d_PRIeldbl='define'
-d_PRIfldbl='define'
-d_PRIgldbl='define'
-d_PRIi64='define'
-d_PRIo64='define'
-d_PRIu64='define'
-d_PRIx64='define'
-d_SCNfldbl='define'
-d__fwalk='undef'
-d_access='define'
-d_accessx='undef'
-d_aintl='undef'
-d_alarm='define'
-d_archlib='define'
-d_asctime_r='undef'
-d_atolf='undef'
-d_atoll='define'
-d_attribute_format='undef'
-d_attribute_malloc='undef'
-d_attribute_nonnull='undef'
-d_attribute_noreturn='undef'
-d_attribute_pure='undef'
-d_attribute_unused='undef'
-d_attribute_warn_unused_result='undef'
-d_bcmp='define'
-d_bcopy='define'
-d_bsd='undef'
-d_bsdgetpgrp='undef'
-d_bsdsetpgrp='undef'
-d_builtin_choose_expr='define'
-d_builtin_expect='define'
-d_bzero='define'
-d_c99_variadic_macros='undef'
-d_casti32='define'
-d_castneg='define'
-d_charvspr='undef'
-d_chown='define'
-d_chroot='define'
-d_chsize='undef'
-d_class='undef'
-d_clearenv='define'
-d_closedir='define'
-d_cmsghdr_s='define'
-d_const='define'
-d_copysignl='define'
-d_cplusplus='undef'
-d_crypt='define'
-d_crypt_r='undef'
-d_csh='define'
-d_ctermid='undef'
-d_ctermid_r='undef'
-d_ctime_r='undef'
-d_cuserid='define'
-d_dbl_dig='define'
-d_dbminitproto='undef'
-d_difftime='define'
-d_dir_dd_fd='undef'
-d_dirfd='define'
-d_dirnamlen='undef'
-d_dlerror='define'
-d_dlopen='define'
-d_dlsymun='undef'
-d_dosuid='undef'
-d_drand48_r='undef'
-d_drand48proto='define'
-d_dup2='define'
-d_eaccess='undef'
-d_endgrent='define'
-d_endgrent_r='undef'
-d_endhent='define'
-d_endhostent_r='undef'
-d_endnent='define'
-d_endnetent_r='undef'
-d_endpent='define'
-d_endprotoent_r='undef'
-d_endpwent='define'
-d_endpwent_r='undef'
-d_endsent='define'
-d_endservent_r='undef'
-d_eofnblk='define'
-d_eunice='undef'
-d_faststdio='define'
-d_fchdir='define'
-d_fchmod='define'
-d_fchown='define'
-d_fcntl='define'
-d_fcntl_can_lock='define'
-d_fd_macros='define'
-d_fd_set='define'
-d_fds_bits='undef'
-d_fgetpos='define'
-d_finite='define'
-d_finitel='define'
-d_flexfnam='define'
-d_flock='define'
-d_flockproto='define'
-d_fork='define'
-d_fp_class='undef'
-d_fpathconf='define'
-d_fpclass='undef'
-d_fpclassify='undef'
-d_fpclassl='undef'
-d_fpos64_t='undef'
-d_frexpl='define'
-d_fs_data_s='undef'
-d_fseeko='define'
-d_fsetpos='define'
-d_fstatfs='define'
-d_fstatvfs='define'
-d_fsync='define'
-d_ftello='define'
-d_ftime='undef'
-d_futimes='undef'
-d_getcwd='define'
-d_getespwnam='undef'
-d_getfsstat='undef'
-d_getgrent='define'
-d_getgrent_r='undef'
-d_getgrgid_r='undef'
-d_getgrnam_r='undef'
-d_getgrps='define'
-d_gethbyaddr='define'
-d_gethbyname='define'
-d_gethent='define'
-d_gethname='define'
-d_gethostbyaddr_r='undef'
-d_gethostbyname_r='undef'
-d_gethostent_r='undef'
-d_gethostprotos='define'
-d_getitimer='define'
-d_getlogin='define'
-d_getlogin_r='undef'
-d_getmnt='undef'
-d_getmntent='define'
-d_getnbyaddr='define'
-d_getnbyname='define'
-d_getnent='define'
-d_getnetbyaddr_r='undef'
-d_getnetbyname_r='undef'
-d_getnetent_r='undef'
-d_getnetprotos='define'
-d_getpagsz='define'
-d_getpbyname='define'
-d_getpbynumber='define'
-d_getpent='define'
-d_getpgid='define'
-d_getpgrp2='undef'
-d_getpgrp='define'
-d_getppid='define'
-d_getprior='define'
-d_getprotobyname_r='undef'
-d_getprotobynumber_r='undef'
-d_getprotoent_r='undef'
-d_getprotoprotos='define'
-d_getprpwnam='undef'
-d_getpwent='define'
-d_getpwent_r='undef'
-d_getpwnam_r='undef'
-d_getpwuid_r='undef'
-d_getsbyname='define'
-d_getsbyport='define'
-d_getsent='define'
-d_getservbyname_r='undef'
-d_getservbyport_r='undef'
-d_getservent_r='undef'
-d_getservprotos='define'
-d_getspnam='define'
-d_getspnam_r='undef'
-d_gettimeod='define'
-d_gmtime_r='undef'
-d_gnulibc='define'
-d_grpasswd='define'
-d_hasmntopt='define'
-d_htonl='define'
-d_ilogbl='define'
-d_inc_version_list='define'
-d_index='undef'
-d_inetaton='define'
-d_int64_t='define'
-d_isascii='define'
-d_isfinite='undef'
-d_isinf='define'
-d_isnan='define'
-d_isnanl='define'
-d_killpg='define'
-d_lchown='define'
-d_ldbl_dig='define'
-d_libm_lib_version='define'
-d_link='define'
-d_localtime_r='undef'
-d_localtime_r_needs_tzset='undef'
-d_locconv='define'
-d_lockf='define'
-d_longdbl='define'
-d_longlong='define'
-d_lseekproto='define'
-d_lstat='define'
-d_madvise='define'
-d_malloc_good_size='undef'
-d_malloc_size='undef'
-d_mblen='define'
-d_mbstowcs='define'
-d_mbtowc='define'
-d_memchr='define'
-d_memcmp='define'
-d_memcpy='define'
-d_memmove='define'
-d_memset='define'
-d_mkdir='define'
-d_mkdtemp='define'
-d_mkfifo='define'
-d_mkstemp='define'
-d_mkstemps='undef'
-d_mktime='define'
-d_mmap='define'
-d_modfl='define'
-d_modfl_pow32_bug='undef'
-d_modflproto='undef'
-d_mprotect='define'
-d_msg='define'
-d_msg_ctrunc='define'
-d_msg_dontroute='define'
-d_msg_oob='define'
-d_msg_peek='define'
-d_msg_proxy='define'
-d_msgctl='define'
-d_msgget='define'
-d_msghdr_s='define'
-d_msgrcv='define'
-d_msgsnd='define'
-d_msync='define'
-d_munmap='define'
-d_mymalloc='undef'
-d_nice='define'
-d_nl_langinfo='define'
-d_nv_preserves_uv='define'
-d_nv_zero_is_allbits_zero='undef'
-d_off64_t='undef'
-d_old_pthread_create_joinable='undef'
-d_oldpthreads='undef'
-d_oldsock='undef'
-d_open3='define'
-d_pathconf='define'
-d_pause='define'
-d_perl_otherlibdirs='undef'
-d_phostname='undef'
-d_pipe='define'
-d_poll='define'
-d_portable='define'
-d_printf_format_null='undef'
-d_procselfexe='define'
-d_pseudofork='undef'
-d_pthread_atfork='undef'
-d_pthread_attr_setscope='define'
-d_pthread_yield='undef'
-d_pwage='undef'
-d_pwchange='undef'
-d_pwclass='undef'
-d_pwcomment='undef'
-d_pwexpire='undef'
-d_pwgecos='define'
-d_pwpasswd='define'
-d_pwquota='undef'
-d_qgcvt='define'
-d_quad='define'
-d_random_r='undef'
-d_readdir64_r='undef'
-d_readdir='define'
-d_readdir_r='undef'
-d_readlink='define'
-d_readv='define'
-d_recvmsg='define'
-d_rename='define'
-d_rewinddir='define'
-d_rmdir='define'
-d_safebcpy='undef'
-d_safemcpy='undef'
-d_sanemcmp='define'
-d_sbrkproto='define'
-d_scalbnl='define'
-d_sched_yield='define'
-d_scm_rights='define'
-d_seekdir='define'
-d_select='define'
-d_sem='define'
-d_semctl='define'
-d_semctl_semid_ds='define'
-d_semctl_semun='define'
-d_semget='define'
-d_semop='define'
-d_sendmsg='define'
-d_setegid='define'
-d_seteuid='define'
-d_setgrent='define'
-d_setgrent_r='undef'
-d_setgrps='define'
-d_sethent='define'
-d_sethostent_r='undef'
-d_setitimer='define'
-d_setlinebuf='define'
-d_setlocale='define'
-d_setlocale_r='undef'
-d_setnent='define'
-d_setnetent_r='undef'
-d_setpent='define'
-d_setpgid='define'
-d_setpgrp2='undef'
-d_setpgrp='define'
-d_setprior='define'
-d_setproctitle='undef'
-d_setprotoent_r='undef'
-d_setpwent='define'
-d_setpwent_r='undef'
-d_setregid='define'
-d_setresgid='define'
-d_setresuid='define'
-d_setreuid='define'
-d_setrgid='undef'
-d_setruid='undef'
-d_setsent='define'
-d_setservent_r='undef'
-d_setsid='define'
-d_setvbuf='define'
-d_sfio='undef'
-d_shm='define'
-d_shmat='define'
-d_shmatprototype='define'
-d_shmctl='define'
-d_shmdt='define'
-d_shmget='define'
-d_sigaction='define'
-d_signbit='define'
-d_sigprocmask='define'
-d_sigsetjmp='define'
-d_sitearch='define'
-d_snprintf='undef'
-d_sockatmark='undef'
-d_sockatmarkproto='undef'
-d_socket='define'
-d_socklen_t='define'
-d_sockpair='define'
-d_socks5_init='undef'
-d_sprintf_returns_strlen='define'
-d_sqrtl='define'
-d_srand48_r='undef'
-d_srandom_r='undef'
-d_sresgproto='undef'
-d_sresuproto='undef'
-d_statblks='define'
-d_statfs_f_flags='undef'
-d_statfs_s='define'
-d_statvfs='define'
-d_stdio_cnt_lval='undef'
-d_stdio_ptr_lval='define'
-d_stdio_ptr_lval_nochange_cnt='undef'
-d_stdio_ptr_lval_sets_cnt='define'
-d_stdio_stream_array='undef'
-d_stdiobase='define'
-d_stdstdio='define'
-d_strchr='define'
-d_strcoll='define'
-d_strctcpy='define'
-d_strerrm='strerror(e)'
-d_strerror='define'
-d_strerror_r='undef'
-d_strftime='define'
-d_strlcat='undef'
-d_strlcpy='undef'
-d_strtod='define'
-d_strtol='define'
-d_strtold='define'
-d_strtoll='define'
-d_strtoq='define'
-d_strtoul='define'
-d_strtoull='define'
-d_strtouq='define'
-d_strxfrm='define'
-d_suidsafe='undef'
-d_symlink='define'
-d_syscall='define'
-d_syscallproto='define'
-d_sysconf='define'
-d_sysernlst=''
-d_syserrlst='define'
-d_system='define'
-d_tcgetpgrp='define'
-d_tcsetpgrp='define'
-d_telldir='define'
-d_telldirproto='define'
-d_time='define'
-d_times='define'
-d_tm_tm_gmtoff='define'
-d_tm_tm_zone='define'
-d_tmpnam_r='undef'
-d_truncate='define'
-d_ttyname_r='undef'
-d_tzname='define'
-d_u32align='undef'
-d_ualarm='define'
-d_umask='define'
-d_uname='define'
-d_union_semun='undef'
-d_unordered='undef'
-d_unsetenv='define'
-d_usleep='define'
-d_usleepproto='define'
-d_ustat='define'
-d_vendorarch='undef'
-d_vendorbin='undef'
-d_vendorlib='undef'
-d_vendorscript='undef'
-d_vfork='undef'
-d_void_closedir='undef'
-d_voidsig='define'
-d_voidtty=''
-d_volatile='define'
-d_vprintf='define'
-d_vsnprintf='define'
-d_wait4='define'
-d_waitpid='define'
-d_wcstombs='define'
-d_wctomb='define'
-d_writev='define'
-d_xenix='undef'
-date='date'
-db_hashtype='u_int32_t'
-db_prefixtype='size_t'
-db_version_major=''
-db_version_minor=''
-db_version_patch=''
-defvoidused='15'
-direntrytype='struct dirent'
-dlext='so'
-dlsrc='dl_dlopen.xs'
-doublesize='8'
-drand01='drand48()'
-drand48_r_proto='0'
-dynamic_ext='B ByteLoader Cwd Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Time/HiRes Unicode/Normalize XS/APItest XS/Typemap attrs re threads threads/shared'
-eagain='EAGAIN'
-ebcdic='undef'
-echo='echo'
-egrep='egrep'
-emacs=''
-endgrent_r_proto='0'
-endhostent_r_proto='0'
-endnetent_r_proto='0'
-endprotoent_r_proto='0'
-endpwent_r_proto='0'
-endservent_r_proto='0'
-eunicefix=':'
-exe_ext=''
-expr='expr'
-extensions='B ByteLoader Cwd Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Time/HiRes Unicode/Normalize XS/APItest XS/Typemap attrs re threads threads/shared Errno'
-extras=''
-fflushNULL='define'
-fflushall='undef'
-find=''
-firstmakefile='makefile'
-flex=''
-fpossize='16'
-fpostype='fpos_t'
-freetype='void'
-from=':'
-full_ar='/usr/bin/ar'
-full_csh='/bin/csh'
-full_sed='/bin/sed'
-gccansipedantic=''
-gccosandvers=''
-gccversion='2.95.3 20010125 (prerelease)'
-getgrent_r_proto='0'
-getgrgid_r_proto='0'
-getgrnam_r_proto='0'
-gethostbyaddr_r_proto='0'
-gethostbyname_r_proto='0'
-gethostent_r_proto='0'
-getlogin_r_proto='0'
-getnetbyaddr_r_proto='0'
-getnetbyname_r_proto='0'
-getnetent_r_proto='0'
-getprotobyname_r_proto='0'
-getprotobynumber_r_proto='0'
-getprotoent_r_proto='0'
-getpwent_r_proto='0'
-getpwnam_r_proto='0'
-getpwuid_r_proto='0'
-getservbyname_r_proto='0'
-getservbyport_r_proto='0'
-getservent_r_proto='0'
-getspnam_r_proto='0'
-gidformat='"lu"'
-gidsign='1'
-gidsize='4'
-gidtype='gid_t'
-glibpth='/usr/shlib /lib /usr/lib /usr/lib/386 /lib/386 /usr/ccs/lib /usr/ucblib /usr/local/lib '
-gmake='gmake'
-gmtime_r_proto='0'
-gnulibc_version='2.2.2'
-grep='grep'
-groupcat='cat /etc/group'
-groupstype='gid_t'
-gzip='gzip'
-h_fcntl='false'
-h_sysfile='true'
-hint='recommended'
-hostcat='cat /etc/hosts'
-html1dir=' '
-html1direxp=''
-html3dir=' '
-html3direxp=''
-i16size='2'
-i16type='short'
-i32size='4'
-i32type='long'
-i64size='8'
-i64type='long long'
-i8size='1'
-i8type='char'
-i_arpainet='define'
-i_bsdioctl=''
-i_crypt='define'
-i_db='undef'
-i_dbm='undef'
-i_dirent='define'
-i_dld='undef'
-i_dlfcn='define'
-i_fcntl='undef'
-i_float='define'
-i_fp='undef'
-i_fp_class='undef'
-i_gdbm='undef'
-i_grp='define'
-i_ieeefp='undef'
-i_inttypes='define'
-i_langinfo='define'
-i_libutil='undef'
-i_limits='define'
-i_locale='define'
-i_machcthr='undef'
-i_malloc='define'
-i_math='define'
-i_memory='undef'
-i_mntent='define'
-i_ndbm='undef'
-i_netdb='define'
-i_neterrno='undef'
-i_netinettcp='define'
-i_niin='define'
-i_poll='define'
-i_prot='undef'
-i_pthread='define'
-i_pwd='define'
-i_rpcsvcdbm='undef'
-i_sfio='undef'
-i_sgtty='undef'
-i_shadow='define'
-i_socks='undef'
-i_stdarg='define'
-i_stddef='define'
-i_stdlib='define'
-i_string='define'
-i_sunmath='undef'
-i_sysaccess='undef'
-i_sysdir='define'
-i_sysfile='define'
-i_sysfilio='undef'
-i_sysin='undef'
-i_sysioctl='define'
-i_syslog='define'
-i_sysmman='define'
-i_sysmode='undef'
-i_sysmount='define'
-i_sysndir='undef'
-i_sysparam='define'
-i_sysresrc='define'
-i_syssecrt='undef'
-i_sysselct='define'
-i_syssockio='undef'
-i_sysstat='define'
-i_sysstatfs='define'
-i_sysstatvfs='define'
-i_systime='define'
-i_systimek='undef'
-i_systimes='define'
-i_systypes='define'
-i_sysuio='define'
-i_sysun='define'
-i_sysutsname='define'
-i_sysvfs='define'
-i_syswait='define'
-i_termio='undef'
-i_termios='define'
-i_time='define'
-i_unistd='define'
-i_ustat='define'
-i_utime='define'
-i_values='define'
-i_varargs='undef'
-i_varhdr='stdarg.h'
-i_vfork='undef'
-ignore_versioned_solibs='y'
-inc_version_list=' '
-inc_version_list_init='0'
-incpath=''
-inews=''
-installarchlib='./install_me_here/usr/lib/perl5/5.10.0/armv4l-linux'
-installbin='./install_me_here/usr/bin'
-installhtml1dir=''
-installhtml3dir=''
-installman1dir='./install_me_here/usr/share/man/man1'
-installman3dir='./install_me_here/usr/share/man/man3'
-installprefix='./install_me_here/usr'
-installprefixexp='./install_me_here/usr'
-installprivlib='./install_me_here/usr/lib/perl5/5.10.0'
-installscript='./install_me_here/usr/bin'
-installsitearch='./install_me_here/usr/lib/perl5/site_perl/5.10.0/armv4l-linux'
-installsitebin='./install_me_here/usr/bin'
-installsitehtml1dir=''
-installsitehtml3dir=''
-installsitelib='./install_me_here/usr/lib/perl5/site_perl/5.10.0'
-installsiteman1dir='./install_me_here/usr/share/man/man1'
-installsiteman3dir='./install_me_here/usr/share/man/man3'
-installsitescript='./install_me_here/usr/bin'
-installstyle='./install_me_herelib/perl5'
-installusrbinperl='undef'
-installvendorarch=''
-installvendorbin=''
-installvendorhtml1dir=''
-installvendorhtml3dir=''
-installvendorlib=''
-installvendorman1dir=''
-installvendorman3dir=''
-installvendorscript=''
-intsize='4'
-issymlink='/usr/bin/test -h'
-ivdformat='"ld"'
-ivsize='4'
-ivtype='long'
-known_extensions='B ByteLoader Cwd DB_File Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call GDBM_File I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 NDBM_File ODBM_File Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Time/HiRes Unicode/Normalize XS/APItest XS/Typemap attrs re threads threads/shared'
-ksh=''
-ld='arm-none-linux-gnueabi-gcc'
-lddlflags='-shared -L/usr/local/lib'
-ldflags=' -L/usr/local/lib'
-ldflags_uselargefiles=''
-ldlibpthname='LD_LIBRARY_PATH'
-less='less'
-lib_ext='.arma'
-libc='/lib/libc-2.2.2.so'
-libperl='libperl.arma'
-libpth='/usr/local/lib /lib /usr/lib'
-libs='-lnsl -ldl -lm -lcrypt -lutil -lc'
-libsdirs=' /usr/lib'
-libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libc.so'
-libsfound=' /usr/lib/libnsl.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so'
-libspath=' /usr/local/lib /lib /usr/lib'
-libswanted='sfio socket bind inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util c cposix posix ucb BSD'
-libswanted_uselargefiles=''
-line=''
-lint=''
-lkflags=''
-ln='ln'
-lns='/bin/ln -s'
-localtime_r_proto='0'
-locincpth='/usr/local/include /opt/local/include /usr/gnu/include /opt/gnu/include /usr/GNU/include /opt/GNU/include'
-loclibpth='/usr/local/lib /opt/local/lib /usr/gnu/lib /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib'
-longdblsize='8'
-longlongsize='8'
-longsize='4'
-lp=''
-lpr=''
-ls='ls'
-lseeksize='8'
-lseektype='off_t'
-mad='undef'
-mail=''
-mailx=''
-make='make'
-make_set_make='#'
-mallocobj=''
-mallocsrc=''
-malloctype='void *'
-man1dir='/usr/share/man/man1'
-man1direxp='/usr/share/man/man1'
-man1ext='1'
-man3dir='/usr/share/man/man3'
-man3direxp='/usr/share/man/man3'
-man3ext='3'
-mips_type=''
-mistrustnm=''
-mkdir='mkdir'
-mmaptype='void *'
-modetype='mode_t'
-more='more'
-multiarch='undef'
-mv=''
-myarchname='armv4l-linux'
-mydomain='.criticalintegration.com'
-myhostname='openzaurus'
-myuname='linux openzaurus.criticalintegration.com 2.4.6-rmk1-np2-embedix #15 Wed Aug 6 07:49:44 UTC 2003 armv4l unknown '
-n='-n'
-need_va_copy='undef'
-netdb_hlen_type='size_t'
-netdb_host_type='const void *'
-netdb_name_type='const char *'
-netdb_net_type='in_addr_t'
-nm='nm'
-nm_opt=''
-nm_so_opt='--dynamic'
-nonxs_ext='Errno'
-nroff='nroff'
-nvEUformat='"E"'
-nvFUformat='"F"'
-nvGUformat='"G"'
-nv_preserves_uv_bits='32'
-nveformat='"e"'
-nvfformat='"f"'
-nvgformat='"g"'
-nvsize='8'
-nvtype='double'
-o_nonblock='O_NONBLOCK'
-obj_ext='.armo'
-old_pthread_create_joinable=''
-optimize='-O2'
-orderlib='false'
-osname='linux'
-osvers='2.6'
-otherlibdirs=' '
-package='perl5'
-pager='/usr/bin/less'
-passcat='cat /etc/passwd'
-patchlevel='9'
-path_sep=':'
-perl5='/usr/bin/perl'
-perl=''
-perl_patchlevel=''
-perladmin='red@criticalintegration.com'
-perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc'
-perlpath='/usr/bin/perl'
-pg='pg'
-phostname='hostname'
-pidtype='pid_t'
-plibpth=''
-pmake=''
-pr=''
-prefix='/usr'
-prefixexp='/usr'
-privlib='/usr/lib/perl5/5.10.0'
-privlibexp='/usr/lib/perl5/5.10.0'
-procselfexe='"/proc/self/exe"'
-prototype='define'
-ptrsize='4'
-quadkind='3'
-quadtype='long long'
-randbits='48'
-randfunc='drand48'
-random_r_proto='0'
-randseedtype='long'
-ranlib=':'
-rd_nodata='-1'
-readdir64_r_proto='0'
-readdir_r_proto='0'
-revision='5'
-rm='rm'
-rmail=''
-run=''
-runnm='false'
-sPRIEUldbl='"E"'
-sPRIFUldbl='"F"'
-sPRIGUldbl='"G"'
-sPRIXU64='"LX"'
-sPRId64='"Ld"'
-sPRIeldbl='"e"'
-sPRIfldbl='"f"'
-sPRIgldbl='"g"'
-sPRIi64='"Li"'
-sPRIo64='"Lo"'
-sPRIu64='"Lu"'
-sPRIx64='"Lx"'
-sSCNfldbl='"f"'
-sched_yield='sched_yield()'
-scriptdir='/usr/bin'
-scriptdirexp='/usr/bin'
-sed='sed'
-seedfunc='srand48'
-selectminbits='32'
-selecttype='fd_set *'
-sendmail=''
-setgrent_r_proto='0'
-sethostent_r_proto='0'
-setlocale_r_proto='0'
-setnetent_r_proto='0'
-setprotoent_r_proto='0'
-setpwent_r_proto='0'
-setservent_r_proto='0'
-sh='/bin/sh'
-shar=''
-sharpbang='#!'
-shmattype='void *'
-shortsize='2'
-shrpenv=''
-shsharp='true'
-sig_count='64'
-sig_name='ZERO HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT STOP TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS RTMIN NUM33 NUM34 NUM35 NUM36 NUM37 NUM38 NUM39 NUM40 NUM41 NUM42 NUM43 NUM44 NUM45 NUM46 NUM47 NUM48 NUM49 NUM50 NUM51 NUM52 NUM53 NUM54 NUM55 NUM56 NUM57 NUM58 NUM59 NUM60 NUM61 NUM62 RTMAX IOT CLD POLL UNUSED '
-sig_name_init='"ZERO", "HUP", "INT", "QUIT", "ILL", "TRAP", "ABRT", "BUS", "FPE", "KILL", "USR1", "SEGV", "USR2", "PIPE", "ALRM", "TERM", "STKFLT", "CHLD", "CONT", "STOP", "TSTP", "TTIN", "TTOU", "URG", "XCPU", "XFSZ", "VTALRM", "PROF", "WINCH", "IO", "PWR", "SYS", "RTMIN", "NUM33", "NUM34", "NUM35", "NUM36", "NUM37", "NUM38", "NUM39", "NUM40", "NUM41", "NUM42", "NUM43", "NUM44", "NUM45", "NUM46", "NUM47", "NUM48", "NUM49", "NUM50", "NUM51", "NUM52", "NUM53", "NUM54", "NUM55", "NUM56", "NUM57", "NUM58", "NUM59", "NUM60", "NUM61", "NUM62", "RTMAX", "IOT", "CLD", "POLL", "UNUSED", 0'
-sig_num='0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 6 17 29 31 '
-sig_num_init='0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 6, 17, 29, 31, 0'
-sig_size='68'
-signal_t='void'
-sitearch='/usr/lib/perl5/site_perl/5.10.0/armv4l-linux'
-sitearchexp='/usr/lib/perl5/site_perl/5.10.0/armv4l-linux'
-sitebin='/usr/bin'
-sitebinexp='/usr/bin'
-sitehtml1dir=''
-sitehtml1direxp=''
-sitehtml3dir=''
-sitehtml3direxp=''
-sitelib='/usr/lib/perl5/site_perl/5.10.0'
-sitelib_stem='/usr/lib/perl5/site_perl'
-sitelibexp='/usr/lib/perl5/site_perl/5.10.0'
-siteman1dir='/usr/share/man/man1'
-siteman1direxp='/usr/share/man/man1'
-siteman3dir='/usr/share/man/man3'
-siteman3direxp='/usr/share/man/man3'
-siteprefix='/usr'
-siteprefixexp='/usr'
-sitescript='/usr/bin'
-sitescriptexp='/usr/bin'
-sizesize='4'
-sizetype='size_t'
-sleep=''
-smail=''
-so='so'
-sockethdr=''
-socketlib=''
-socksizetype='socklen_t'
-sort='sort'
-spackage='Perl5'
-spitshell='cat'
-srand48_r_proto='0'
-srandom_r_proto='0'
-src='.'
-ssizetype='ssize_t'
-startperl='#!/usr/bin/perl'
-startsh='#!/bin/sh'
-static_ext='DynaLoader '
-stdchar='char'
-stdio_base='((fp)->_IO_read_base)'
-stdio_bufsiz='((fp)->_IO_read_end - (fp)->_IO_read_base)'
-stdio_cnt='((fp)->_IO_read_end - (fp)->_IO_read_ptr)'
-stdio_filbuf=''
-stdio_ptr='((fp)->_IO_read_ptr)'
-stdio_stream_array=''
-strerror_r_proto='0'
-strings='/usr/include/string.h'
-submit=''
-subversion='3'
-sysman='/usr/share/man/man1'
-tail=''
-tar=''
-targetarch=''
-tbl=''
-tee=''
-test='test'
-timeincl='/usr/include/sys/time.h /usr/include/time.h '
-timetype='time_t'
-tmpnam_r_proto='0'
-to=':'
-touch='touch'
-tr='tr'
-trnl='\n'
-troff=''
-ttyname_r_proto='0'
-u16size='2'
-u16type='unsigned short'
-u32size='4'
-u32type='unsigned long'
-u64size='8'
-u64type='unsigned long long'
-u8size='1'
-u8type='unsigned char'
-uidformat='"lu"'
-uidsign='1'
-uidsize='4'
-uidtype='uid_t'
-uname='uname'
-uniq='uniq'
-uquadtype='unsigned long long'
-use5005threads='undef'
-use64bitall='undef'
-use64bitint='undef'
-usecrosscompile='undef'
-usedl='define'
-usefaststdio='define'
-useithreads='undef'
-uselargefiles='define'
-uselongdouble='undef'
-usemallocwrap='define'
-usemorebits='undef'
-usemultiplicity='undef'
-usemymalloc='n'
-usenm='false'
-useopcode='true'
-useperlio='define'
-useposix='true'
-usereentrant='undef'
-userelocatableinc='undef'
-usesfio='false'
-useshrplib='true'
-usesitecustomize='undef'
-usesocks='undef'
-usethreads='undef'
-usevendorprefix='undef'
-usevfork='false'
-usrinc='/usr/include'
-uuname=''
-uvXUformat='"lX"'
-uvoformat='"lo"'
-uvsize='4'
-uvtype='unsigned long'
-uvuformat='"lu"'
-uvxformat='"lx"'
-vendorarch=''
-vendorarchexp=''
-vendorbin=''
-vendorbinexp=''
-vendorhtml1dir=' '
-vendorhtml1direxp=''
-vendorhtml3dir=' '
-vendorhtml3direxp=''
-vendorlib=''
-vendorlib_stem=''
-vendorlibexp=''
-vendorman1dir=' '
-vendorman1direxp=''
-vendorman3dir=' '
-vendorman3direxp=''
-vendorprefix=''
-vendorprefixexp=''
-vendorscript=''
-vendorscriptexp=''
-version='5.10.0'
-version_patchlevel_string='version 9 subversion 4'
-versiononly='undef'
-vi=''
-voidflags='15'
-xlibpth='/usr/lib/386 /lib/386'
-yacc='yacc'
-yaccflags=''
-zcat=''
-zip='zip'
-# Configure command line arguments.
-config_arg0='Configure'
-config_args=''
-config_argc=0
-PERL_REVISION=5
-PERL_VERSION=9
-PERL_SUBVERSION=4
-PERL_API_REVISION=5
-PERL_API_VERSION=9
-PERL_API_SUBVERSION=0
-PERL_PATCHLEVEL=
-PERL_CONFIG_SH=true
diff -Naur perl-5.10.0.orig/Cross/config.sh-x86-linux perl-5.10.0/Cross/config.sh-x86-linux
--- perl-5.10.0.orig/Cross/config.sh-x86-linux 1969-12-31 19:00:00.000000000 -0500
+++ perl-5.10.0/Cross/config.sh-x86-linux 2009-04-05 13:38:02.485519728 -0400
@@ -0,0 +1,1067 @@
+#!/bin/sh
+#
+# This file was produced by running the Configure script. It holds all the
+# definitions figured out by Configure. Should you modify one of these values,
+# do not forget to propagate your changes by running "Configure -der". You may
+# instead choose to run each of the .SH files by yourself, or "Configure -S".
+#
+
+
+Author=''
+Date='$Date'
+Header=''
+Id='$Id'
+Locker=''
+Log='$Log'
+Mcc='Mcc'
+RCSfile='$RCSfile'
+Revision='$Revision'
+Source=''
+State=''
+_a='.a'
+_exe=''
+_o='.o'
+afs='false'
+afsroot='/afs'
+alignbytes='4'
+ansi2knr=''
+aphostname='/bin/hostname'
+api_revision='5'
+api_subversion='0'
+api_version='10'
+api_versionstring='5.10.0'
+ar='ar'
+archlib='/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi'
+archlibexp='/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi'
+archname64=''
+archname='x86_64-linux-thread-multi'
+archobjs=''
+asctime_r_proto='REENTRANT_PROTO_B_SB'
+awk='awk'
+baserev='5.0'
+bash=''
+bin='/usr/bin'
+binexp='/usr/bin'
+bison='bison'
+byacc='byacc'
+byteorder='1234'
+c=''
+castflags='0'
+cat='cat'
+cc='cc'
+cccdlflags='-fPIC'
+ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/CORE'
+ccflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
+ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
+ccname='gcc'
+ccsymbols=''
+ccversion=''
+cf_by=''
+cf_email=''
+cf_time=''
+chgrp=''
+chmod='chmod'
+chown=''
+clocktype='clock_t'
+comm='comm'
+compress=''
+contains='grep'
+cp='cp'
+cpio=''
+cpp='cpp'
+cpp_stuff='42'
+cppccsymbols=''
+cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include'
+cpplast='-'
+cppminus='-'
+cpprun='cc -E'
+cppstdin='cc -E'
+cppsymbols='_FILE_OFFSET_BITS=64 _GNU_SOURCE=1 _LARGEFILE64_SOURCE=1 _LARGEFILE_SOURCE=1 _POSIX_C_SOURCE=200112L _POSIX_SOURCE=1 _REENTRANT=1 _XOPEN_SOURCE=600 _XOPEN_SOURCE_EXTENDED=1 __CHAR_BIT__=8 __DBL_DENORM_MIN__=4.9406564584124654e-324 __DBL_DIG__=15 __DBL_EPSILON__=2.2204460492503131e-16 __DBL_HAS_DENORM__=1 __DBL_HAS_INFINITY__=1 __DBL_HAS_QUIET_NAN__=1 __DBL_MANT_DIG__=53 __DBL_MAX_10_EXP__=308 __DBL_MAX_EXP__=1024 __DBL_MAX__=1.7976931348623157e+308 __DBL_MIN_10_EXP__=(-307) __DBL_MIN_EXP__=(-1021) __DBL_MIN__=2.2250738585072014e-308 __DEC128_DEN__=0.000000000000000000000000000000001E-6143DL __DEC128_EPSILON__=1E-33DL __DEC128_MANT_DIG__=34 __DEC128_MAX_EXP__=6144 __DEC128_MAX__=9.999999999999999999999999999999999E6144DL __DEC128_MIN_EXP__=(-6143) __DEC128_MIN__=1E-6143DL __DEC32_DEN__=0.000001E-95DF __DEC32_EPSILON__=1E-6DF __DEC32_MANT_DIG__=7 __DEC32_MAX_EXP__=96 __DEC32_MAX__=9.999999E96DF __DEC32_MIN_EXP__=(-95) __DEC32_MIN__=1E-95DF __DEC64_DEN__=0.000000000000001E-383DD __DEC64_EPSILON__=1E-15DD __DEC64_MANT_DIG__=16 __DEC64_MAX_EXP__=384 __DEC64_MAX__=9.999999999999999E384DD __DEC64_MIN_EXP__=(-383) __DEC64_MIN__=1E-383DD __DECIMAL_BID_FORMAT__=1 __DECIMAL_DIG__=21 __DEC_EVAL_METHOD__=2 __ELF__=1 __FINITE_MATH_ONLY__=0 __FLT_DENORM_MIN__=1.40129846e-45F __FLT_DIG__=6 __FLT_EPSILON__=1.19209290e-7F __FLT_EVAL_METHOD__=2 __FLT_HAS_DENORM__=1 __FLT_HAS_INFINITY__=1 __FLT_HAS_QUIET_NAN__=1 __FLT_MANT_DIG__=24 __FLT_MAX_10_EXP__=38 __FLT_MAX_EXP__=128 __FLT_MAX__=3.40282347e+38F __FLT_MIN_10_EXP__=(-37) __FLT_MIN_EXP__=(-125) __FLT_MIN__=1.17549435e-38F __FLT_RADIX__=2 __GLIBC_MINOR__=9 __GLIBC__=2 __GNUC_GNU_INLINE__=1 __GNUC_MINOR__=3 __GNUC_PATCHLEVEL__=3 __GNUC__=4 __GNU_LIBRARY__=6 __GXX_ABI_VERSION=1002 __INTMAX_MAX__=9223372036854775807LL __INTMAX_TYPE__=long\ long\ int __INT_MAX__=2147483647 __LDBL_DENORM_MIN__=3.64519953188247460253e-4951L __LDBL_DIG__=18 __LDBL_EPSILON__=1.08420217248550443401e-19L __LDBL_HAS_DENORM__=1 __LDBL_HAS_INFINITY__=1 __LDBL_HAS_QUIET_NAN__=1 __LDBL_MANT_DIG__=64 __LDBL_MAX_10_EXP__=4932 __LDBL_MAX_EXP__=16384 __LDBL_MAX__=1.18973149535723176502e+4932L __LDBL_MIN_10_EXP__=(-4931) __LDBL_MIN_EXP__=(-16381) __LDBL_MIN__=3.36210314311209350626e-4932L __LONG_LONG_MAX__=9223372036854775807LL __LONG_MAX__=2147483647L __PTRDIFF_TYPE__=int __REGISTER_PREFIX__= __SCHAR_MAX__=127 __SHRT_MAX__=32767 __SIZEOF_DOUBLE__=8 __SIZEOF_FLOAT__=4 __SIZEOF_INT__=4 __SIZEOF_LONG_DOUBLE__=12 __SIZEOF_LONG_LONG__=8 __SIZEOF_LONG__=4 __SIZEOF_POINTER__=4 __SIZEOF_PTRDIFF_T__=4 __SIZEOF_SHORT__=2 __SIZEOF_SIZE_T__=4 __SIZEOF_WCHAR_T__=4 __SIZEOF_WINT_T__=4 __SIZE_TYPE__=unsigned\ int __STDC_HOSTED__=1 __STDC__=1 __UINTMAX_TYPE__=long\ long\ unsigned\ int __USER_LABEL_PREFIX__= __USE_BSD=1 __USE_FILE_OFFSET64=1 __USE_GNU=1 __USE_LARGEFILE64=1 __USE_LARGEFILE=1 __USE_MISC=1 __USE_POSIX199309=1 __USE_POSIX199506=1 __USE_POSIX2=1 __USE_POSIX=1 __USE_REENTRANT=1 __USE_SVID=1 __USE_UNIX98=1 __USE_XOPEN=1 __USE_XOPEN_EXTENDED=1 __VERSION__="4.3.3" __WCHAR_MAX__=2147483647 __WCHAR_TYPE__=long\ int __WINT_TYPE__=unsigned\ int __gnu_linux__=1 __i386=1 __i386__=1 __linux=1 __linux__=1 __unix=1 __unix__=1 i386=1 linux=1 unix=1'
+crypt_r_proto='REENTRANT_PROTO_B_CCS'
+cryptlib=''
+csh='csh'
+ctermid_r_proto='0'
+ctime_r_proto='REENTRANT_PROTO_B_SB'
+d_Gconvert='gcvt((x),(n),(b))'
+d_PRIEUldbl='define'
+d_PRIFUldbl='define'
+d_PRIGUldbl='define'
+d_PRIXU64='define'
+d_PRId64='define'
+d_PRIeldbl='define'
+d_PRIfldbl='define'
+d_PRIgldbl='define'
+d_PRIi64='define'
+d_PRIo64='define'
+d_PRIu64='define'
+d_PRIx64='define'
+d_SCNfldbl='define'
+d__fwalk='undef'
+d_access='define'
+d_accessx='undef'
+d_aintl='undef'
+d_alarm='define'
+d_archlib='define'
+d_asctime_r='define'
+d_atolf='undef'
+d_atoll='define'
+d_attribute_format='define'
+d_attribute_malloc='define'
+d_attribute_nonnull='define'
+d_attribute_noreturn='define'
+d_attribute_pure='define'
+d_attribute_unused='define'
+d_attribute_warn_unused_result='define'
+d_bcmp='define'
+d_bcopy='define'
+d_bsd='undef'
+d_bsdgetpgrp='undef'
+d_bsdsetpgrp='undef'
+d_builtin_choose_expr='define'
+d_builtin_expect='undef'
+d_bzero='define'
+d_c99_variadic_macros='define'
+d_casti32='undef'
+d_castneg='define'
+d_charvspr='undef'
+d_chown='define'
+d_chroot='define'
+d_chsize='undef'
+d_class='undef'
+d_clearenv='define'
+d_closedir='define'
+d_cmsghdr_s='define'
+d_const='define'
+d_copysignl='define'
+d_cplusplus='undef'
+d_crypt='define'
+d_crypt_r='define'
+d_csh='undef'
+d_ctermid='define'
+d_ctermid_r='undef'
+d_ctime_r='define'
+d_cuserid='define'
+d_dbl_dig='define'
+d_dbminitproto='undef'
+d_difftime='define'
+d_dir_dd_fd='undef'
+d_dirfd='define'
+d_dirnamlen='undef'
+d_dlerror='define'
+d_dlopen='define'
+d_dlsymun='undef'
+d_dosuid='undef'
+d_drand48_r='define'
+d_drand48proto='define'
+d_dup2='define'
+d_eaccess='define'
+d_endgrent='define'
+d_endgrent_r='undef'
+d_endhent='define'
+d_endhostent_r='undef'
+d_endnent='define'
+d_endnetent_r='undef'
+d_endpent='define'
+d_endprotoent_r='undef'
+d_endpwent='define'
+d_endpwent_r='undef'
+d_endsent='define'
+d_endservent_r='undef'
+d_eofnblk='define'
+d_eunice='undef'
+d_faststdio='undef'
+d_fchdir='define'
+d_fchmod='define'
+d_fchown='define'
+d_fcntl='define'
+d_fcntl_can_lock='define'
+d_fd_macros='define'
+d_fd_set='define'
+d_fds_bits='define'
+d_fgetpos='define'
+d_finite='define'
+d_finitel='define'
+d_flexfnam='define'
+d_flock='define'
+d_flockproto='define'
+d_fork='define'
+d_fp_class='undef'
+d_fpathconf='define'
+d_fpclass='undef'
+d_fpclassify='undef'
+d_fpclassl='undef'
+d_fpos64_t='undef'
+d_frexpl='define'
+d_fs_data_s='undef'
+d_fseeko='define'
+d_fsetpos='define'
+d_fstatfs='define'
+d_fstatvfs='define'
+d_fsync='define'
+d_ftello='define'
+d_ftime='undef'
+d_futimes='define'
+d_getcwd='define'
+d_getespwnam='undef'
+d_getfsstat='undef'
+d_getgrent='define'
+d_getgrent_r='define'
+d_getgrgid_r='define'
+d_getgrnam_r='define'
+d_getgrps='define'
+d_gethbyaddr='define'
+d_gethbyname='define'
+d_gethent='define'
+d_gethname='define'
+d_gethostbyaddr_r='define'
+d_gethostbyname_r='define'
+d_gethostent_r='define'
+d_gethostprotos='define'
+d_getitimer='define'
+d_getlogin='define'
+d_getlogin_r='define'
+d_getmnt='undef'
+d_getmntent='define'
+d_getnbyaddr='define'
+d_getnbyname='define'
+d_getnent='define'
+d_getnetbyaddr_r='define'
+d_getnetbyname_r='define'
+d_getnetent_r='define'
+d_getnetprotos='define'
+d_getpagsz='define'
+d_getpbyname='define'
+d_getpbynumber='define'
+d_getpent='define'
+d_getpgid='define'
+d_getpgrp2='undef'
+d_getpgrp='define'
+d_getppid='define'
+d_getprior='define'
+d_getprotobyname_r='define'
+d_getprotobynumber_r='define'
+d_getprotoent_r='define'
+d_getprotoprotos='define'
+d_getprpwnam='undef'
+d_getpwent='define'
+d_getpwent_r='define'
+d_getpwnam_r='define'
+d_getpwuid_r='define'
+d_getsbyname='define'
+d_getsbyport='define'
+d_getsent='define'
+d_getservbyname_r='define'
+d_getservbyport_r='define'
+d_getservent_r='define'
+d_getservprotos='define'
+d_getspnam='define'
+d_getspnam_r='define'
+d_gettimeod='define'
+d_gmtime_r='define'
+d_gnulibc='define'
+d_grpasswd='define'
+d_hasmntopt='define'
+d_htonl='define'
+d_ilogbl='define'
+d_inc_version_list='undef'
+d_index='undef'
+d_inetaton='define'
+d_int64_t='define'
+d_isascii='define'
+d_isfinite='undef'
+d_isinf='define'
+d_isnan='define'
+d_isnanl='define'
+d_killpg='define'
+d_lchown='define'
+d_ldbl_dig='define'
+d_libm_lib_version='define'
+d_link='define'
+d_localtime_r='define'
+d_localtime_r_needs_tzset='define'
+d_locconv='define'
+d_lockf='define'
+d_longdbl='define'
+d_longlong='define'
+d_lseekproto='define'
+d_lstat='define'
+d_madvise='define'
+d_malloc_good_size='undef'
+d_malloc_size='undef'
+d_mblen='define'
+d_mbstowcs='define'
+d_mbtowc='define'
+d_memchr='define'
+d_memcmp='define'
+d_memcpy='define'
+d_memmove='define'
+d_memset='define'
+d_mkdir='define'
+d_mkdtemp='define'
+d_mkfifo='define'
+d_mkstemp='define'
+d_mkstemps='undef'
+d_mktime='define'
+d_mmap='define'
+d_modfl='define'
+d_modfl_pow32_bug='undef'
+d_modflproto='define'
+d_mprotect='define'
+d_msg='define'
+d_msg_ctrunc='define'
+d_msg_dontroute='define'
+d_msg_oob='define'
+d_msg_peek='define'
+d_msg_proxy='define'
+d_msgctl='define'
+d_msgget='define'
+d_msghdr_s='define'
+d_msgrcv='define'
+d_msgsnd='define'
+d_msync='define'
+d_munmap='define'
+d_mymalloc='undef'
+d_nice='define'
+d_nl_langinfo='define'
+d_nv_preserves_uv='define'
+d_nv_zero_is_allbits_zero='define'
+d_off64_t='define'
+d_old_pthread_create_joinable='undef'
+d_oldpthreads='undef'
+d_oldsock='undef'
+d_open3='define'
+d_pathconf='define'
+d_pause='define'
+d_perl_otherlibdirs='undef'
+d_phostname='undef'
+d_pipe='define'
+d_poll='define'
+d_portable='define'
+d_printf_format_null='define'
+d_procselfexe='undef'
+d_pseudofork='undef'
+d_pthread_atfork='define'
+d_pthread_attr_setscope='define'
+d_pthread_yield='define'
+d_pwage='undef'
+d_pwchange='undef'
+d_pwclass='undef'
+d_pwcomment='undef'
+d_pwexpire='undef'
+d_pwgecos='define'
+d_pwpasswd='define'
+d_pwquota='undef'
+d_qgcvt='define'
+d_quad='define'
+d_random_r='define'
+d_readdir64_r='define'
+d_readdir='define'
+d_readdir_r='define'
+d_readlink='define'
+d_readv='define'
+d_recvmsg='define'
+d_rename='define'
+d_rewinddir='define'
+d_rmdir='define'
+d_safebcpy='undef'
+d_safemcpy='undef'
+d_sanemcmp='define'
+d_sbrkproto='define'
+d_scalbnl='define'
+d_sched_yield='define'
+d_scm_rights='define'
+d_seekdir='define'
+d_select='define'
+d_sem='define'
+d_semctl='define'
+d_semctl_semid_ds='define'
+d_semctl_semun='define'
+d_semget='define'
+d_semop='define'
+d_sendmsg='define'
+d_setegid='define'
+d_seteuid='define'
+d_setgrent='define'
+d_setgrent_r='undef'
+d_setgrps='define'
+d_sethent='define'
+d_sethostent_r='undef'
+d_setitimer='define'
+d_setlinebuf='define'
+d_setlocale='define'
+d_setlocale_r='undef'
+d_setnent='define'
+d_setnetent_r='undef'
+d_setpent='define'
+d_setpgid='define'
+d_setpgrp2='undef'
+d_setpgrp='define'
+d_setprior='define'
+d_setproctitle='undef'
+d_setprotoent_r='undef'
+d_setpwent='define'
+d_setpwent_r='undef'
+d_setregid='define'
+d_setresgid='define'
+d_setresuid='define'
+d_setreuid='define'
+d_setrgid='undef'
+d_setruid='undef'
+d_setsent='define'
+d_setservent_r='undef'
+d_setsid='define'
+d_setvbuf='define'
+d_sfio='undef'
+d_shm='define'
+d_shmat='define'
+d_shmatprototype='define'
+d_shmctl='define'
+d_shmdt='define'
+d_shmget='define'
+d_sigaction='define'
+d_signbit='define'
+d_sigprocmask='define'
+d_sigsetjmp='define'
+d_sitearch='define'
+d_snprintf='define'
+d_sockatmark='define'
+d_sockatmarkproto='define'
+d_socket='define'
+d_socklen_t='define'
+d_sockpair='define'
+d_socks5_init='undef'
+d_sprintf_returns_strlen='define'
+d_sqrtl='define'
+d_srand48_r='define'
+d_srandom_r='define'
+d_sresgproto='define'
+d_sresuproto='define'
+d_statblks='define'
+d_statfs_f_flags='undef'
+d_statfs_s='define'
+d_statvfs='define'
+d_stdio_cnt_lval='undef'
+d_stdio_ptr_lval='undef'
+d_stdio_ptr_lval_nochange_cnt='undef'
+d_stdio_ptr_lval_sets_cnt='undef'
+d_stdio_stream_array='undef'
+d_stdiobase='undef'
+d_stdstdio='undef'
+d_strchr='define'
+d_strcoll='define'
+d_strctcpy='define'
+d_strerrm='strerror(e)'
+d_strerror='define'
+d_strerror_r='define'
+d_strftime='define'
+d_strlcat='undef'
+d_strlcpy='undef'
+d_strtod='define'
+d_strtol='define'
+d_strtold='define'
+d_strtoll='define'
+d_strtoq='define'
+d_strtoul='define'
+d_strtoull='define'
+d_strtouq='define'
+d_strxfrm='define'
+d_suidsafe='undef'
+d_symlink='define'
+d_syscall='define'
+d_syscallproto='define'
+d_sysconf='define'
+d_sysernlst=''
+d_syserrlst='define'
+d_system='define'
+d_tcgetpgrp='define'
+d_tcsetpgrp='define'
+d_telldir='define'
+d_telldirproto='define'
+d_time='define'
+d_times='define'
+d_tm_tm_gmtoff='define'
+d_tm_tm_zone='define'
+d_tmpnam_r='define'
+d_truncate='define'
+d_ttyname_r='define'
+d_tzname='define'
+d_u32align='undef'
+d_ualarm='define'
+d_umask='define'
+d_uname='define'
+d_union_semun='undef'
+d_unordered='undef'
+d_unsetenv='define'
+d_usleep='define'
+d_usleepproto='define'
+d_ustat='define'
+d_vendorarch='define'
+d_vendorbin='define'
+d_vendorlib='define'
+d_vendorscript='define'
+d_vfork='undef'
+d_void_closedir='undef'
+d_voidsig='define'
+d_voidtty=''
+d_volatile='define'
+d_vprintf='define'
+d_vsnprintf='define'
+d_wait4='define'
+d_waitpid='define'
+d_wcstombs='define'
+d_wctomb='define'
+d_writev='define'
+d_xenix='undef'
+date='date'
+db_hashtype='u_int32_t'
+db_prefixtype='size_t'
+db_version_major=''
+db_version_minor=''
+db_version_patch=''
+defvoidused='15'
+direntrytype='struct dirent'
+dlext='so'
+dlsrc='dl_dlopen.xs'
+doublesize='8'
+drand01='drand48()'
+drand48_r_proto='REENTRANT_PROTO_I_ST'
+dynamic_ext='attrs B Compress/Raw/Zlib Cwd Data/Dumper Devel/DProf Devel/Peek Devel/PPPort Digest/MD5 Digest/SHA Encode Fcntl File/Glob Filter/Util/Call Hash/Util I18N/Langinfo IO IPC/SysV List/Util Math/BigInt/FastCalc MIME/Base64 Opcode PerlIO/encoding PerlIO/scalar PerlIO/via POSIX re SDBM_File Socket Storable Sys/Hostname Sys/Syslog Text/Soundex threads Time/HiRes Time/Piece Unicode/Normalize XS/APItest XS/Typemap threads/shared Hash/Util/FieldHash'
+eagain='EAGAIN'
+ebcdic='undef'
+echo='echo'
+egrep='egrep'
+emacs=''
+endgrent_r_proto='0'
+endhostent_r_proto='0'
+endnetent_r_proto='0'
+endprotoent_r_proto='0'
+endpwent_r_proto='0'
+endservent_r_proto='0'
+eunicefix=':'
+exe_ext=''
+expr='expr'
+extensions='attrs B Compress/Raw/Zlib Cwd Data/Dumper Devel/DProf Devel/Peek Devel/PPPort Digest/MD5 Digest/SHA Encode Fcntl File/Glob Filter/Util/Call Hash/Util I18N/Langinfo IO IPC/SysV List/Util Math/BigInt/FastCalc MIME/Base64 Opcode PerlIO/encoding PerlIO/scalar PerlIO/via POSIX re SDBM_File Socket Storable Sys/Hostname Sys/Syslog Text/Soundex threads Time/HiRes Time/Piece Unicode/Normalize XS/APItest XS/Typemap threads/shared Hash/Util/FieldHash Compress/Zlib Errno IO_Compress_Base IO_Compress_Zlib'
+extras=''
+fflushNULL='define'
+fflushall='undef'
+find=''
+firstmakefile='makefile'
+flex=''
+fpossize='16'
+fpostype='fpos_t'
+freetype='void'
+from=':'
+full_ar='/usr/bin/ar'
+full_csh='csh'
+full_sed='/bin/sed'
+gccansipedantic=''
+gccosandvers=''
+gccversion='4.3.3'
+getgrent_r_proto='REENTRANT_PROTO_I_SBWR'
+getgrgid_r_proto='REENTRANT_PROTO_I_TSBWR'
+getgrnam_r_proto='REENTRANT_PROTO_I_CSBWR'
+gethostbyaddr_r_proto='REENTRANT_PROTO_I_TsISBWRE'
+gethostbyname_r_proto='REENTRANT_PROTO_I_CSBWRE'
+gethostent_r_proto='REENTRANT_PROTO_I_SBWRE'
+getlogin_r_proto='REENTRANT_PROTO_I_BW'
+getnetbyaddr_r_proto='REENTRANT_PROTO_I_uISBWRE'
+getnetbyname_r_proto='REENTRANT_PROTO_I_CSBWRE'
+getnetent_r_proto='REENTRANT_PROTO_I_SBWRE'
+getprotobyname_r_proto='REENTRANT_PROTO_I_CSBWR'
+getprotobynumber_r_proto='REENTRANT_PROTO_I_ISBWR'
+getprotoent_r_proto='REENTRANT_PROTO_I_SBWR'
+getpwent_r_proto='REENTRANT_PROTO_I_SBWR'
+getpwnam_r_proto='REENTRANT_PROTO_I_CSBWR'
+getpwuid_r_proto='REENTRANT_PROTO_I_TSBWR'
+getservbyname_r_proto='REENTRANT_PROTO_I_CCSBWR'
+getservbyport_r_proto='REENTRANT_PROTO_I_ICSBWR'
+getservent_r_proto='REENTRANT_PROTO_I_SBWR'
+getspnam_r_proto='REENTRANT_PROTO_I_CSBWR'
+gidformat='"lu"'
+gidsign='1'
+gidsize='4'
+gidtype='gid_t'
+glibpth='/usr/shlib /lib /usr/lib /usr/lib/386 /lib/386 /usr/ccs/lib /usr/ucblib /usr/local/lib '
+gmake='gmake'
+gmtime_r_proto='REENTRANT_PROTO_S_TS'
+gnulibc_version='2.9'
+grep='grep'
+groupcat='cat /etc/group'
+groupstype='gid_t'
+gzip='gzip'
+h_fcntl='false'
+h_sysfile='true'
+hint='recommended'
+hostcat='cat /etc/hosts'
+html1dir=' '
+html1direxp=''
+html3dir=' '
+html3direxp=''
+i16size='2'
+i16type='short'
+i32size='4'
+i32type='long'
+i64size='8'
+i64type='long long'
+i8size='1'
+i8type='char'
+i_arpainet='define'
+i_bsdioctl=''
+i_crypt='define'
+i_db='undef'
+i_dbm='undef'
+i_dirent='define'
+i_dld='undef'
+i_dlfcn='define'
+i_fcntl='undef'
+i_float='define'
+i_fp='undef'
+i_fp_class='undef'
+i_gdbm='undef'
+i_grp='define'
+i_ieeefp='undef'
+i_inttypes='define'
+i_langinfo='define'
+i_libutil='undef'
+i_limits='define'
+i_locale='define'
+i_machcthr='undef'
+i_malloc='define'
+i_math='define'
+i_memory='undef'
+i_mntent='define'
+i_ndbm='undef'
+i_netdb='define'
+i_neterrno='undef'
+i_netinettcp='define'
+i_niin='define'
+i_poll='define'
+i_prot='undef'
+i_pthread='define'
+i_pwd='define'
+i_rpcsvcdbm='undef'
+i_sfio='undef'
+i_sgtty='undef'
+i_shadow='define'
+i_socks='undef'
+i_stdarg='define'
+i_stddef='define'
+i_stdlib='define'
+i_string='define'
+i_sunmath='undef'
+i_sysaccess='undef'
+i_sysdir='define'
+i_sysfile='define'
+i_sysfilio='undef'
+i_sysin='undef'
+i_sysioctl='define'
+i_syslog='define'
+i_sysmman='define'
+i_sysmode='undef'
+i_sysmount='define'
+i_sysndir='undef'
+i_sysparam='define'
+i_sysresrc='define'
+i_syssecrt='undef'
+i_sysselct='define'
+i_syssockio='undef'
+i_sysstat='define'
+i_sysstatfs='define'
+i_sysstatvfs='define'
+i_systime='define'
+i_systimek='undef'
+i_systimes='define'
+i_systypes='define'
+i_sysuio='define'
+i_sysun='define'
+i_sysutsname='define'
+i_sysvfs='define'
+i_syswait='define'
+i_termio='undef'
+i_termios='define'
+i_time='define'
+i_unistd='define'
+i_ustat='define'
+i_utime='define'
+i_values='define'
+i_varargs='undef'
+i_varhdr='stdarg.h'
+i_vfork='undef'
+ignore_versioned_solibs='y'
+inc_version_list=' '
+inc_version_list_init='0'
+incpath=''
+inews=''
+initialinstalllocation='/usr/bin'
+installarchlib='/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi'
+installbin='/usr/bin'
+installhtml1dir=''
+installhtml3dir=''
+installman1dir='/usr/share/man/man1'
+installman3dir='/usr/share/man/man3'
+installprefix='/usr'
+installprefixexp='/usr'
+installprivlib='/usr/lib/perl5/5.10.0'
+installscript='/usr/bin'
+installsitearch='/usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi'
+installsitebin='/usr/bin'
+installsitehtml1dir=''
+installsitehtml3dir=''
+installsitelib='/usr/lib/perl5/site_perl/5.10.0'
+installsiteman1dir='/usr/share/man/man1'
+installsiteman3dir='/usr/share/man/man3'
+installsitescript='/usr/bin'
+installstyle='lib/perl5'
+installusrbinperl='undef'
+installvendorarch='/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi'
+installvendorbin='/usr/bin'
+installvendorhtml1dir=''
+installvendorhtml3dir=''
+installvendorlib='/usr/lib/perl5/vendor_perl/5.10.0'
+installvendorman1dir='/usr/share/man/man1'
+installvendorman3dir='/usr/share/man/man3'
+installvendorscript='/usr/bin'
+intsize='4'
+issymlink='test -h'
+ivdformat='"ld"'
+ivsize='4'
+ivtype='long'
+known_extensions='attrs B Compress/Raw/Zlib Cwd Data/Dumper DB_File Devel/DProf Devel/Peek Devel/PPPort Digest/MD5 Digest/SHA Encode Fcntl File/Glob Filter/Util/Call GDBM_File Hash/Util I18N/Langinfo IO IPC/SysV List/Util Math/BigInt/FastCalc MIME/Base64 NDBM_File ODBM_File Opcode PerlIO/encoding PerlIO/scalar PerlIO/via POSIX re SDBM_File Socket Storable Sys/Hostname Sys/Syslog Text/Soundex threads Time/HiRes Time/Piece Unicode/Normalize Win32 Win32API/File Win32CORE XS/APItest XS/Typemap threads/shared Hash/Util/FieldHash'
+ksh=''
+ld='cc'
+lddlflags='-shared -O2 -L/usr/local/lib'
+ldflags=' -L/usr/local/lib'
+ldflags_uselargefiles=''
+ldlibpthname='LD_LIBRARY_PATH'
+less='less'
+lib_ext='.a'
+libc='/lib/libc-2.9.so'
+libperl='libperl.so'
+libpth='/usr/local/lib /lib /usr/lib'
+libs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc'
+libsdirs=' /usr/lib'
+libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libpthread.so libc.so'
+libsfound=' /usr/lib/libnsl.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libpthread.so /usr/lib/libc.so'
+libspath=' /usr/local/lib /lib /usr/lib'
+libswanted='sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util pthread c cposix posix ucb BSD'
+libswanted_uselargefiles=''
+line=''
+lint=''
+lkflags=''
+ln='ln'
+lns='/bin/ln -s'
+localtime_r_proto='REENTRANT_PROTO_S_TS'
+locincpth='/usr/local/include /opt/local/include /usr/gnu/include /opt/gnu/include /usr/GNU/include /opt/GNU/include'
+loclibpth='/usr/local/lib /opt/local/lib /usr/gnu/lib /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib'
+longdblsize='12'
+longlongsize='8'
+longsize='4'
+lp=''
+lpr=''
+ls='ls'
+lseeksize='8'
+lseektype='off_t'
+mad='undef'
+madlyh=''
+madlyobj=''
+madlysrc=''
+mail=''
+mailx=''
+make='make'
+make_set_make='#'
+mallocobj=''
+mallocsrc=''
+malloctype='void *'
+man1dir='/usr/share/man/man1'
+man1direxp='/usr/share/man/man1'
+man1ext='1'
+man3dir='/usr/share/man/man3'
+man3direxp='/usr/share/man/man3'
+man3ext='3'
+mips_type=''
+mistrustnm=''
+mkdir='mkdir'
+mmaptype='void *'
+modetype='mode_t'
+more='more'
+multiarch='undef'
+mv=''
+myarchname='x86_64-linux'
+mydomain=''
+myhostname=''
+myuname=''
+n='-n'
+need_va_copy='undef'
+netdb_hlen_type='size_t'
+netdb_host_type='const void *'
+netdb_name_type='const char *'
+netdb_net_type='in_addr_t'
+nm='nm'
+nm_opt=''
+nm_so_opt='--dynamic'
+nonxs_ext='Compress/Zlib Errno IO_Compress_Base IO_Compress_Zlib'
+nroff='nroff'
+nvEUformat='"E"'
+nvFUformat='"F"'
+nvGUformat='"G"'
+nv_preserves_uv_bits='32'
+nveformat='"e"'
+nvfformat='"f"'
+nvgformat='"g"'
+nvsize='8'
+nvtype='double'
+o_nonblock='O_NONBLOCK'
+obj_ext='.o'
+old_pthread_create_joinable=''
+optimize='-O2'
+orderlib='false'
+osname='linux'
+osvers='2.6.27.10-r4'
+otherlibdirs=' '
+package='perl5'
+pager='/bin/less -isR'
+passcat='cat /etc/passwd'
+patchlevel='10'
+path_sep=':'
+perl5=''
+perl=''
+perl_patchlevel=''
+perladmin=''
+perllibs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc'
+perlpath='/usr/bin/perl'
+pg='pg'
+phostname='hostname'
+pidtype='pid_t'
+plibpth=''
+pmake=''
+pr=''
+prefix='/usr'
+prefixexp='/usr'
+privlib='/usr/lib/perl5/5.10.0'
+privlibexp='/usr/lib/perl5/5.10.0'
+procselfexe=''
+prototype='define'
+ptrsize='4'
+quadkind='3'
+quadtype='long long'
+randbits='48'
+randfunc='drand48'
+random_r_proto='REENTRANT_PROTO_I_St'
+randseedtype='long'
+ranlib=':'
+rd_nodata='-1'
+readdir64_r_proto='REENTRANT_PROTO_I_TSR'
+readdir_r_proto='REENTRANT_PROTO_I_TSR'
+revision='5'
+rm='rm'
+rm_try='/bin/rm -f try try a.out .out try.[cho] try..o core core.try* try.core*'
+rmail=''
+run=''
+runnm='false'
+sPRIEUldbl='"LE"'
+sPRIFUldbl='"LF"'
+sPRIGUldbl='"LG"'
+sPRIXU64='"LX"'
+sPRId64='"Ld"'
+sPRIeldbl='"Le"'
+sPRIfldbl='"Lf"'
+sPRIgldbl='"Lg"'
+sPRIi64='"Li"'
+sPRIo64='"Lo"'
+sPRIu64='"Lu"'
+sPRIx64='"Lx"'
+sSCNfldbl='"Lf"'
+sched_yield='sched_yield()'
+scriptdir='/usr/bin'
+scriptdirexp='/usr/bin'
+sed='sed'
+seedfunc='srand48'
+selectminbits='32'
+selecttype='fd_set *'
+sendmail=''
+setgrent_r_proto='0'
+sethostent_r_proto='0'
+setlocale_r_proto='0'
+setnetent_r_proto='0'
+setprotoent_r_proto='0'
+setpwent_r_proto='0'
+setservent_r_proto='0'
+sh='/bin/sh'
+shar=''
+sharpbang='#!'
+shmattype='void *'
+shortsize='2'
+shrpenv=''
+shsharp='true'
+sig_count='65'
+sig_name='ZERO HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT STOP TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS NUM32 NUM33 RTMIN NUM35 NUM36 NUM37 NUM38 NUM39 NUM40 NUM41 NUM42 NUM43 NUM44 NUM45 NUM46 NUM47 NUM48 NUM49 NUM50 NUM51 NUM52 NUM53 NUM54 NUM55 NUM56 NUM57 NUM58 NUM59 NUM60 NUM61 NUM62 NUM63 RTMAX IOT CLD POLL UNUSED '
+sig_name_init='"ZERO", "HUP", "INT", "QUIT", "ILL", "TRAP", "ABRT", "BUS", "FPE", "KILL", "USR1", "SEGV", "USR2", "PIPE", "ALRM", "TERM", "STKFLT", "CHLD", "CONT", "STOP", "TSTP", "TTIN", "TTOU", "URG", "XCPU", "XFSZ", "VTALRM", "PROF", "WINCH", "IO", "PWR", "SYS", "NUM32", "NUM33", "RTMIN", "NUM35", "NUM36", "NUM37", "NUM38", "NUM39", "NUM40", "NUM41", "NUM42", "NUM43", "NUM44", "NUM45", "NUM46", "NUM47", "NUM48", "NUM49", "NUM50", "NUM51", "NUM52", "NUM53", "NUM54", "NUM55", "NUM56", "NUM57", "NUM58", "NUM59", "NUM60", "NUM61", "NUM62", "NUM63", "RTMAX", "IOT", "CLD", "POLL", "UNUSED", 0'
+sig_num='0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 6 17 29 31 '
+sig_num_init='0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 6, 17, 29, 31, 0'
+sig_size='69'
+signal_t='void'
+sitearch='/usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi'
+sitearchexp='/usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi'
+sitebin='/usr/bin'
+sitebinexp='/usr/bin'
+sitehtml1dir=''
+sitehtml1direxp=''
+sitehtml3dir=''
+sitehtml3direxp=''
+sitelib='/usr/lib/perl5/site_perl/5.10.0'
+sitelib_stem='/usr/lib/perl5/site_perl'
+sitelibexp='/usr/lib/perl5/site_perl/5.10.0'
+siteman1dir='/usr/share/man/man1'
+siteman1direxp='/usr/share/man/man1'
+siteman3dir='/usr/share/man/man3'
+siteman3direxp='/usr/share/man/man3'
+siteprefix='/usr'
+siteprefixexp='/usr'
+sitescript='/usr/bin'
+sitescriptexp='/usr/bin'
+sizesize='4'
+sizetype='size_t'
+sleep=''
+smail=''
+so='so'
+sockethdr=''
+socketlib=''
+socksizetype='socklen_t'
+sort='sort'
+spackage='Perl5'
+spitshell='cat'
+srand48_r_proto='REENTRANT_PROTO_I_LS'
+srandom_r_proto='REENTRANT_PROTO_I_TS'
+src='.'
+ssizetype='ssize_t'
+startperl='#!/usr/bin/perl'
+startsh='#!/bin/sh'
+static_ext=' '
+stdchar='char'
+stdio_base='((fp)->_IO_read_base)'
+stdio_bufsiz='((fp)->_IO_read_end - (fp)->_IO_read_base)'
+stdio_cnt='((fp)->_IO_read_end - (fp)->_IO_read_ptr)'
+stdio_filbuf=''
+stdio_ptr='((fp)->_IO_read_ptr)'
+stdio_stream_array=''
+strerror_r_proto='REENTRANT_PROTO_B_IBW'
+strings='/usr/include/string.h'
+submit=''
+subversion='0'
+sysman='/usr/share/man/man1'
+tail=''
+tar=''
+targetarch=''
+tbl=''
+tee=''
+test='test'
+timeincl='/usr/include/sys/time.h /usr/include/time.h '
+timetype='time_t'
+tmpnam_r_proto='REENTRANT_PROTO_B_B'
+to=':'
+touch='touch'
+tr='tr'
+trnl='\n'
+troff=''
+ttyname_r_proto='REENTRANT_PROTO_I_IBW'
+u16size='2'
+u16type='unsigned short'
+u32size='4'
+u32type='unsigned long'
+u64size='8'
+u64type='unsigned long long'
+u8size='1'
+u8type='unsigned char'
+uidformat='"lu"'
+uidsign='1'
+uidsize='4'
+uidtype='uid_t'
+uname='uname'
+uniq='uniq'
+uquadtype='unsigned long long'
+use5005threads='undef'
+use64bitall='undef'
+use64bitint='undef'
+usecrosscompile='undef'
+usedl='define'
+usefaststdio='undef'
+useithreads='define'
+uselargefiles='define'
+uselongdouble='undef'
+usemallocwrap='define'
+usemorebits='undef'
+usemultiplicity='define'
+usemymalloc='n'
+usenm='false'
+useopcode='true'
+useperlio='define'
+useposix='true'
+usereentrant='undef'
+userelocatableinc='undef'
+usesfio='false'
+useshrplib='true'
+usesitecustomize='undef'
+usesocks='undef'
+usethreads='define'
+usevendorprefix='define'
+usevfork='false'
+usrinc='/usr/include'
+uuname=''
+uvXUformat='"lX"'
+uvoformat='"lo"'
+uvsize='4'
+uvtype='unsigned long'
+uvuformat='"lu"'
+uvxformat='"lx"'
+vendorarch='/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi'
+vendorarchexp='/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi'
+vendorbin='/usr/bin'
+vendorbinexp='/usr/bin'
+vendorhtml1dir=' '
+vendorhtml1direxp=''
+vendorhtml3dir=' '
+vendorhtml3direxp=''
+vendorlib='/usr/lib/perl5/vendor_perl/5.10.0'
+vendorlib_stem='/usr/lib/perl5/vendor_perl'
+vendorlibexp='/usr/lib/perl5/vendor_perl/5.10.0'
+vendorman1dir='/usr/share/man/man1'
+vendorman1direxp='/usr/share/man/man1'
+vendorman3dir='/usr/share/man/man3'
+vendorman3direxp='/usr/share/man/man3'
+vendorprefix='/usr'
+vendorprefixexp='/usr'
+vendorscript='/usr/bin'
+vendorscriptexp='/usr/bin'
+version='5.10.0'
+version_patchlevel_string='version 10 subversion 0'
+versiononly='undef'
+vi=''
+voidflags='15'
+xlibpth='/usr/lib/386 /lib/386'
+yacc='yacc'
+yaccflags=''
+zcat=''
+zip='zip'
+# Configure command line arguments.
+config_arg0='Configure'
+config_args='-ds -e -Dprefix=/usr -Dvendorprefix=/usr -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dpager=/bin/less -isR -Dusethreads -Duseshrplib'
+config_argc=9
+config_arg1='-ds'
+config_arg2='-e'
+config_arg3='-Dprefix=/usr'
+config_arg4='-Dvendorprefix=/usr'
+config_arg5='-Dman1dir=/usr/share/man/man1'
+config_arg6='-Dman3dir=/usr/share/man/man3'
+config_arg7='-Dpager=/bin/less -isR'
+config_arg8='-Dusethreads'
+config_arg9='-Duseshrplib'
+PERL_REVISION=5
+PERL_VERSION=10
+PERL_SUBVERSION=0
+PERL_API_REVISION=5
+PERL_API_VERSION=10
+PERL_API_SUBVERSION=0
+PERL_PATCHLEVEL=
+PERL_CONFIG_SH=true
+# Variables propagated from previous config.sh file.
+libdb_needs_pthread='N'
diff -Naur perl-5.10.0.orig/Cross/generate_config_sh perl-5.10.0/Cross/generate_config_sh
--- perl-5.10.0.orig/Cross/generate_config_sh 2007-12-18 05:47:07.000000000 -0500
+++ perl-5.10.0/Cross/generate_config_sh 1969-12-31 19:00:00.000000000 -0500
@@ -1,132 +0,0 @@
-#!/usr/bin/perl
-
-##############################################################################
-#
-# generate_config_sh
-# Process that takes an automatically generated config.sh
-# file and allows the environment to overload the values
-# automatically discovered by Configure on our target platform.
-#
-# Author Redvers Davies <red@criticalintegration.com>
-#
-##############################################################################
-
-my $config = shift;
-
-my $sys = $ENV{SYS};
-
-my $callbacks = {};
-$callbacks->{'ar'} = [\&simple_process, ["AR", "arm-linux-ar"]];
-$callbacks->{'archname'} = [\&simple_process, ["SYS", "armv4l-linux"]];
-$callbacks->{'cc'} = [\&simple_process, ["CC", "arm-linux-gcc"]];
-$callbacks->{'cccdlflags'} = [\&simple_process, ["CFLAGS", ""]];
-$callbacks->{'ccdlflags'} = [\&simple_process, ["CFLAGS", ""]];
-$callbacks->{'ccflags'} = [\&simple_process, ["CFLAGS", "-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"]];
-$callbacks->{'ccflags_uselargefiles'} = [\&simple_process, ["CFLAGS", "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"]];
-$callbacks->{'ccname'} = [\&simple_process, ["CC", "arm-linux-gcc"]];
-$callbacks->{'cpp'} = [\&simple_process, ["CCP", "arm-linux-cpp"]];
-$callbacks->{'cppflags'} = [\&simple_process, ["CCPFLAGS", "-fno-strict-aliasing"]];
-$callbacks->{'cpprun'} = [\&simple_process_append, ["CC", "arm-linux-gcc -E", "-E"]];
-$callbacks->{'cppstdin'} = [\&simple_process_append, ["CC", "arm-linux-gcc -E", "-E"]];
-$callbacks->{'full_ar'} = [\&backtick, ["AR", "which $ENV{AR}", "/usr/local/arm/2.95.3/bin/arm-linux-ar"]];
-$callbacks->{'ld'} = [\&simple_process, ["LD", "arm-linux-ld"]];
-$callbacks->{'ldflags'} = [\&simple_process, ["LDFLAGS", ""]];
-$callbacks->{'ldflags_uselargefiles'} = [\&simple_process, ["LDFLAGS", ""]];
-$callbacks->{'myarchname'} = [\&simple_process, ["SYS", "armv4l-linux"]];
-$callbacks->{'archlib'} = [\&library_munge, ["SYS", "armv4l-linux"]];
-$callbacks->{'archlibexp'} = [\&library_munge, ["SYS", "armv4l-linux"]];
-$callbacks->{'installarchlib'} = [\&library_munge, ["SYS", "armv4l-linux"]];
-$callbacks->{'installsitearch'} = [\&library_munge, ["SYS", "armv4l-linux"]];
-$callbacks->{'sitearch'} = [\&library_munge, ["SYS", "armv4l-linux"]];
-$callbacks->{'sitearchexp'} = [\&library_munge, ["SYS", "armv4l-linux"]];
-
-if ($config eq "") {
- die("Please run me as generate_config_sh path/to/original/config.sh");
-}
-
-open(FILE, "$config") || die("Unable to open $config");
-
-my $line_in;
-while ($line_in = <FILE>) {
- if ($line_in =~ /^#/) {
- next;
- }
-
- if ($line_in !~ /./) {
- next;
- }
-
- $line_in =~ /^([^=]+)=(.*)/;
- my $key = $1;
- my $value = $2;
- if (ref($callbacks->{$key}) eq "ARRAY") {
- ($callbacks->{$key}[0])->($key,$value);
- } else {
- print($line_in);
- }
-}
-
-sub backtick {
- my $key = shift;
- my $value = shift;
- my $envvar = $callbacks->{$key}->[1][0];
-
- if ($ENV{$envvar}) {
- my $rawtext = `$callbacks->{$key}->[1][1]`;
- chomp($rawtext);
- print("$key=\'$rawtext\'\n");
- } else {
- print("$key=\'$callbacks->{$key}->[1][2]\'\n");
- }
-}
-
-
-sub simple_process {
- my $key = shift;
- my $envvar = $callbacks->{$key}->[1][0];
-
- if ($ENV{$envvar}) {
- print("$key=\"$ENV{$envvar}\"\n");
- } else {
- print("$key=\'$callbacks->{$key}->[1][1]\'\n");
- }
-
-}
-
-sub simple_process_append {
- my $key = shift;
- my $envvar = $callbacks->{$key}->[1][0];
-
- if ($ENV{$envvar}) {
- print("$key=\"$ENV{$envvar} $callbacks->{$key}->[1][2]\"\n");
- } else {
- print("$key=\'$callbacks->{$key}->[1][1]\'\n");
- }
-
-}
-
-sub library_munge {
- my $key = shift;
- my $value = shift;
- my $envvar = $callbacks->{$key}->[1][0];
-
- if ($ENV{$envvar}) {
- $value =~ s/$callbacks->{$key}->[1][1]/$ENV{$envvar}/g;
- print("$key=$value\n");
- } else {
- print("$key=$value\n");
- }
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
diff -Naur perl-5.10.0.orig/Cross/installperl.patch perl-5.10.0/Cross/installperl.patch
--- perl-5.10.0.orig/Cross/installperl.patch 2007-12-18 05:47:07.000000000 -0500
+++ perl-5.10.0/Cross/installperl.patch 1969-12-31 19:00:00.000000000 -0500
@@ -1,22 +0,0 @@
---- ../installperl 2003-08-31 11:58:48.000000000 -0500
-+++ installperl 2003-09-05 02:38:40.000000000 -0500
-@@ -3,8 +3,8 @@
- BEGIN {
- require 5.004;
- chdir '..' if !-d 'lib' and -d '../lib';
-- @INC = 'lib';
-- $ENV{PERL5LIB} = 'lib';
-+# @INC = 'lib';
-+# $ENV{PERL5LIB} = 'lib';
- }
-
- use strict;
-@@ -946,7 +946,7 @@
- print " " if (@opts);
- print "$file\n";
- }
-- system("strip", @opts, $file);
-+ system("XXSTRIPXX-strip", @opts, $file);
- } else {
- print "# file '$file' skipped\n" if $verbose;
- }
diff -Naur perl-5.10.0.orig/Cross/Makefile perl-5.10.0/Cross/Makefile
--- perl-5.10.0.orig/Cross/Makefile 2007-12-18 05:47:07.000000000 -0500
+++ perl-5.10.0/Cross/Makefile 2009-04-05 13:27:24.455076604 -0400
@@ -1,64 +1,84 @@
-## Toplevel Makefile for cross-compilation of perl
-#
-## $Id: Makefile,v 1.5 2003/12/12 00:48:19 red Exp red $
-
-export TOPDIR=${shell pwd}
-include $(TOPDIR)/config
-export CFLAGS
-export SYS=$(ARCH)-$(OS)
-export CROSS=$(ARCH)-$(OS)-
-export FULL_OPTIMIZATION = -fexpensive-optimizations -fomit-frame-pointer -O2
-export OPTIMIZATION = -O2
-
-export CC = $(CROSS)gcc
-export CXX = $(CROSS)g++
-export LD = $(CROSS)ld
-export STRIP = $(CROSS)strip
-export AR = $(CROSS)ar
-export RANLIB = $(CROSS)ranlib
-
-
-## Optimisation work
-ifeq ($(ARCH),arm)
- ifdef CONFIG_TARGET_ARM_SA11X0
- ifndef Architecture
- Architecture = armv4l-strongarm
- endif
- FULL_OPTIMIZATION += -march=armv4 -mtune=strongarm1100 -mapcs-32
- OPTIMIZATION += -march=armv4 -mtune=strongarm1100 -mapcs-32
- endif
-endif
-
-CFLAGS+=$(FULL_OPTIMIZATION)
-
-all:
- @echo Please read the README file before doing anything else.
-
-gen_patch:
- diff -Bbur ../Makefile.SH Makefile.SH > Makefile.SH.patch
- diff -Bbur ../installperl installperl > installperl.patch
-
-patch:
- cd .. ; if [ ! -e ./CROSS_PATCHED ] ; then \
- patch -p1 < Cross/Makefile.SH.patch; \
- patch -p1 < Cross/installperl.patch ; mv installperl installperl-patched; \
- sed -e 's/XXSTRIPXX/$(SYS)/' installperl-patched > installperl; \
- touch CROSS_PATCHED ; fi
-
-perl:
- @echo Perl cross-build directory is $(TOPDIR)
- @echo Target arch is $(SYS)
- @echo toolchain: $(CC), $(CXX), $(LD), $(STRIP), $(AR), $(RANLIB)
- @echo Optimizations: $(FULL_OPTIMIZATION)
-
- $(TOPDIR)/generate_config_sh config.sh-$(SYS) > $(TOPDIR)/../config.sh
- cd $(TOPDIR)/.. ; ./Configure -S ; make depend ; make ; make more
- cd $(TOPDIR)/.. ; mkdir -p fake_config_library ; cp lib/Config.pm lib/Config_heavy.pl fake_config_library
- cd $(TOPDIR)/.. ; $(MAKE) more2 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig"
- cd $(TOPDIR)/.. ; $(MAKE) more3 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig"
- cd $(TOPDIR)/.. ; $(MAKE) more4 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig"
- cd $(TOPDIR)/.. ; rm -rf install_me_here
- cd $(TOPDIR)/.. ; make install-strip
- cd $(TOPDIR)/.. ; sh -x Cross/warp
+PWD := $(shell pwd)
+TOP := $(shell dirname $(PWD))
+VERSION := $(shell awk '/define[ ]PERL_REVISION/ {printf $$3"."} /define[ ]PERL_VERSION/ {printf $$3"."} /define[ ]PERL_SUBVERSION/ {print $$3}' $(TOP)/patchlevel.h)
+CROSS_COMPILE := arm-unknown-linux-gnu-
+
+ARCH := arm
+OS := linux
+
+SYS := $(ARCH)-$(OS)
+
+AR := $(CROSS_COMPILE)ar
+CC := $(CROSS_COMPILE)gcc
+CXX := $(CROSS_COMPILE)g++
+CPP := $(CROSS_COMPILE)cpp
+LD := $(CROSS_COMPILE)gcc
+RANLIB := $(CROSS_COMPILE)ranlib
+STRIP := $(CROSS_COMPILE)strip
+
+ARCHNAME := $(SYS)-thread-multi
+MYARCHNAME := $(SYS)
+
+HOSTNAME := none
+DOMAIN := .nonet
+CFBY := root
+EMAIL := $(CFBY)@$(HOSTNAME)$(DOMAIN)
+UNAME :=
+CFTIME :=
+
+.PHONY: all install create-config.sh
+
+all: $(TOP)/miniperl-cross
+ # Do the final build
+ $(MAKE) create-config.sh
+ cd $(TOP); ./Configure -S
+ $(MAKE) -C $(TOP)
+
+$(TOP)/miniperl-cross:
+ cd $(TOP); CC=gcc ./configure.gnu
+
+ # Make miniperl
+ $(MAKE) -C $(TOP) miniperl
+ mv -v $(TOP)/miniperl $(TOP)/miniperl-cross
+ $(MAKE) -C $(TOP) clean
+
+install:
+ $(MAKE) -C $(TOP) install
+
+create-config.sh:
+ sed -e "s@\(^archname=\).*@\1'$(ARCHNAME)'@g" \
+ -e "s@\(^myarchname=\).*@\1'$(MYARCHNAME)'@g" \
+ -e "s@\(^ar=\).*@\1'$(AR)'@g" \
+ -e "s@\(^cc=\).*@\1'$(CC)'@g" \
+ -e "s@\(^ccname=\).*@\1'$(CC)'@g" \
+ -e "s@\(^cpp=\).*@\1'$(CPP)'@g" \
+ -e "s@\(^cpprun=\).*@\1'$(CC) -E'@g" \
+ -e "s@\(^cppstdin=\).*@\1'$(CC) -E'@g" \
+ -e "s@\(^ld=\).*@\1'$(LD)'@g" \
+ -e "s@\(^ranlib=\).*@\1'$(RANLIB)'@g" \
+ -e "s@\(^full_ar=\).*@\1'$(shell which $(AR))'@g" \
+ -e "s@\(^full_sed=\).*@\1'$(shell which sed)'@g" \
+ -e "s@\(^ccdlflags=\).*@\1'-Wl,-E -Wl,-rpath,/usr/lib/perl5/$(VERSION)/$(ARCHNAME)/CORE'@g" \
+ -e "/^ccflags=/s@-I/usr/local/include@@g" \
+ -e "/^cppflags=/s@-I/usr/local/include@@g" \
+ -e "/^ldflags=/s@-L/usr/local/lib@@g" \
+ -e "/^lddlflags=/s@-L/usr/local/lib@@g" \
+ -e "/^archlib=/s@$(VERSION).*@$(VERSION)/$(ARCHNAME)'@" \
+ -e "/^archlibexp=/s@$(VERSION).*@$(VERSION)/$(ARCHNAME)'@" \
+ -e "/^installarchlib=/s@$(VERSION).*@$(VERSION)/$(ARCHNAME)'@" \
+ -e "/^installsitearch=/s@$(VERSION).*@$(VERSION)/$(ARCHNAME)'@" \
+ -e "/^installvendorarch=/s@$(VERSION).*@$(VERSION)/$(ARCHNAME)'@" \
+ -e "/^sitearch/s@$(VERSION).*@$(VERSION)/$(ARCHNAME)'@" \
+ -e "/^sitearchexp/s@$(VERSION).*@$(VERSION)/$(ARCHNAME)'@" \
+ -e "/^vendorarch/s@$(VERSION).*@$(VERSION)/$(ARCHNAME)'@" \
+ -e "/^vendorarchexp/s@$(VERSION).*@$(VERSION)/$(ARCHNAME)'@" \
+ -e "s@\(^myhostname=\).*@\1'$(HOSTNAME)'@g" \
+ -e "s@\(^mydomain=\).*@\1'$(DOMAIN)'@g" \
+ -e "s@\(^cf_by=\).*@\1'$(CFBY)'@g" \
+ -e "s|\(^cf_email=\).*|\1'$(EMAIL)'|g" \
+ -e "s|\(^perladmin=\).*|\1'$(EMAIL)'|g" \
+ -e "s@\(^myuname=\).*@\1'$(UNAME)'@g" \
+ -e "s@\(^cf_time=\).*@\1'$(CFTIME)'@g" \
+ $(PWD)/config.sh-$(SYS) > $(TOP)/config.sh
diff -Naur perl-5.10.0.orig/Cross/Makefile-cross-SH perl-5.10.0/Cross/Makefile-cross-SH
--- perl-5.10.0.orig/Cross/Makefile-cross-SH 2007-12-18 05:47:07.000000000 -0500
+++ perl-5.10.0/Cross/Makefile-cross-SH 1969-12-31 19:00:00.000000000 -0500
@@ -1,1406 +0,0 @@
-#! /bin/sh
-
-# This file is used to create generic Makefile for cross-compile
-# (borrowed from Makefile.SH)
-# (now only small changes are done to establish cross-compilation)
-# miniperl removed from here, as this is built on HOST
-
-Makefile=Makefile-cross-$CROSS_NAME
-
-. Cross/config-${CROSS_NAME}.sh
-
-# H.Merijn Brand [17 Feb 2004]
-# This comment is just to ensure that Configure will find variables that
-# are removed/replaced in patches on blead, but are still needed in the
-# 5.8.x, 5.6.x and 5.005.x maintainance tracks.
-# metaconfig -m will scan all .SH files on this level (not deeper), and
-# not in x2p and other subfolders. This file is as good as any .SH
-# patch references
-# #22227 $baserev
-# #22302 $yacc $byacc
-
-# H.Merijn Brand [30 Oct 2004]
-# Mentioned for the same reason for future reference
-# #23434 $d_strlcat $d_strlcpy
-
-: This forces SH files to create target in same directory as SH file.
-: This is so that make depend always knows where to find SH derivatives.
-case "$0" in
-*/*) cd `expr X$0 : 'X\(.*\)/'` ;;
-esac
-
-case "$d_dosuid" in
-*define*) suidperl='suidperl' ;;
-*) suidperl='';;
-esac
-
-linklibperl='$(LIBPERL)'
-shrpldflags='$(LDDLFLAGS)'
-ldlibpth=''
-DPERL_EXTERNAL_GLOB='-DPERL_EXTERNAL_GLOB'
-case "$useshrplib" in
-true)
- # Prefix all runs of 'miniperl' and 'perl' with
- # $ldlibpth so that ./perl finds *this* shared libperl.
- case "$LD_LIBRARY_PATH" in
- '')
- ldlibpth="LD_LIBRARY_PATH=`pwd`";;
- *)
- ldlibpth="LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}";;
- esac
-
- pldlflags="$cccdlflags"
- static_target='static_pic'
- case "${osname}${osvers}" in
- next4*)
- ld=libtool
- lddlflags="-dynamic -undefined warning -framework System \
- -compatibility_version 1 -current_version $patchlevel \
- -prebind -seg1addr 0x27000000 -install_name \$(shrpdir)/\$@"
- ;;
- rhapsody*|darwin*)
- shrpldflags="${ldflags} -dynamiclib \
- -compatibility_version \
- ${api_revision}.${api_version}.${api_subversion} \
- -current_version \
- ${revision}.${patchlevel}.${subversion} \
- -install_name \$(shrpdir)/\$@"
- ;;
- cygwin*)
- linklibperl="-lperl"
- ;;
- sunos*)
- linklibperl="-lperl"
- ;;
- netbsd*|freebsd[234]*|openbsd*|dragonfly*)
- linklibperl="-L. -lperl"
- ;;
- interix*)
- linklibperl="-L. -lperl"
- shrpldflags="$shrpldflags -Wl,--image-base,0x57000000"
- ;;
- linux*)
- shrpldflags="$shrpldflags $ldflags $perllibs $cryptlib"
- ;;
- aix*)
- shrpldflags="-H512 -T512 -bhalt:4 -bM:SRE -bE:perl.exp"
- case "$osvers" in
- 3*) shrpldflags="$shrpldflags -e _nostart"
- ;;
- *) shrpldflags="$shrpldflags -b noentry"
- ;;
- esac
- shrpldflags="$shrpldflags $ldflags $perllibs $cryptlib"
- linklibperl="-L $archlibexp/CORE -L `pwd | sed 's/\/UU$//'` -lperl"
- ;;
- hpux*)
- linklibperl="-L `pwd | sed 's/\/UU$//'` -Wl,+s -Wl,+b$archlibexp/CORE -lperl"
- ;;
- os390*)
- shrpldflags='-W l,XPLINK,dll'
- linklibperl='libperl.x'
- DPERL_EXTERNAL_GLOB=''
- ;;
- esac
- case "$ldlibpthname" in
- '') ;;
- *)
- case "$osname" in
- os2)
- ldlibpth=''
- ;;
- *)
- eval "ldlibpth=\"$ldlibpthname=`pwd`:\$$ldlibpthname\""
- ;;
- esac
- # Strip off any trailing :'s
- ldlibpth=`echo $ldlibpth | sed 's/:*$//'`
- ;;
- esac
-
- case "$ldlibpth" in
- # Protect any spaces
- *" "*) ldlibpth=`echo $ldlibpth|sed 's/ /\\\\ /g'` ;;
- esac
-
- case "$osname" in
- linux)
- # If there is a pre-existing $libperl from a previous
- # installation, Linux needs to use LD_PRELOAD to
- # override the LD_LIBRARY_PATH setting. See the
- # INSTALL file, under "Building a shared perl library".
- # If there is no pre-existing $libperl, we don't need
- # to do anything further.
- if test -f $archlib/CORE/$libperl; then
- rm -f preload
- cat <<'EOT' > preload
-#! /bin/sh
-lib=$1
-shift
-test -r $lib && export LD_PRELOAD="$lib $LD_PRELOAD"
-exec "$@"
-EOT
- chmod 755 preload
- ldlibpth="$ldlibpth `pwd`/preload `pwd`/$libperl"
- fi
- ;;
- os390) test -f /bin/env && ldlibpth="/bin/env $ldlibpth"
- ;;
- esac
-
- ;;
-
-*) pldlflags=''
- static_target='static'
- ;;
-esac
-
-: Prepare dependency lists for Makefile.
-dynamic_list=' '
-extra_dep=''
-for f in $dynamic_ext; do
- : the dependency named here will never exist
- base=`echo "$f" | sed 's/.*\///'`
- this_target="lib/auto/$f/$base.$dlext"
- dynamic_list="$dynamic_list $this_target"
-
- : Parallel makes reveal that we have some interdependencies
- case $f in
- Math/BigInt/FastCalc) extra_dep="$extra_dep
-$this_target: lib/auto/List/Util/Util.$dlext" ;;
- Unicode/Normalize) extra_dep="$extra_dep
-$this_target: uni.data" ;;
- esac
-done
-
-static_list=' '
-for f in $static_ext; do
- base=`echo "$f" | sed 's/.*\///'`
- static_list="$static_list lib/auto/$f/$base\$(LIB_EXT)"
-done
-
-nonxs_list=' '
-for f in $nonxs_ext; do
- base=`echo "$f" | sed 's/.*\///'`
- nonxs_list="$nonxs_list ext/$f/pm_to_blib"
-done
-
-echo "Extracting $Makefile (with variable substitutions)"
-$spitshell >$Makefile <<!GROK!THIS!
-# $Makefile.SH
-# This file is derived from $Makefile.SH. Any changes made here will
-# be lost the next time you run Configure.
-# $Makefile is used to generate $firstmakefile. The only difference
-# is that $firstmakefile has the dependencies filled in at the end.
-
-CC = $cc
-LD = $ld
-
-LDFLAGS = $ldflags
-CLDFLAGS = $ldflags
-
-mallocsrc = $mallocsrc
-mallocobj = $mallocobj
-madlysrc = $madlysrc
-madlyobj = $madlyobj
-LNS = $lns
-# NOTE: some systems don't grok "cp -f". XXX Configure test needed?
-CPS = $cp
-RMS = rm -f
-ranlib = $ranlib
-
-# The following are mentioned only to make metaconfig include the
-# appropriate questions in Configure. If you want to change these,
-# edit config.sh instead, or specify --man1dir=/wherever on
-# installman commandline.
-bin = $installbin
-scriptdir = $scriptdir
-shrpdir = $archlibexp/CORE
-privlib = $installprivlib
-man1dir = $man1dir
-man1ext = $man1ext
-man3dir = $man3dir
-man3ext = $man3ext
-
-# The following are used to build and install shared libraries for
-# dynamic loading.
-LDDLFLAGS = $lddlflags
-SHRPLDFLAGS = $shrpldflags
-CCDLFLAGS = $ccdlflags
-DLSUFFIX = .$dlext
-PLDLFLAGS = $pldlflags
-LIBPERL = $libperl
-LLIBPERL= $linklibperl
-SHRPENV = $shrpenv
-
-# Static targets are ordinarily built without CCCDLFLAGS. However,
-# if building a shared libperl.so that might later be linked into
-# another application, then it might be appropriate to also build static
-# extensions (usually just DynaLoader) with relocatable code (e.g. -fPIC
-# for GNU cc). This is handled by ext/util/make_ext.
-STATIC = $static_target
-
-# The following is used to include the current directory in
-# the dynamic loader path you are building a shared libperl.
-LDLIBPTH = $ldlibpth
-
-dynamic_ext = $dynamic_list
-static_ext = $static_list
-nonxs_ext = $nonxs_list
-ext = \$(dynamic_ext) \$(static_ext) \$(nonxs_ext)
-DYNALOADER = DynaLoader\$(OBJ_EXT)
-
-libs = $perllibs $cryptlib
-
-public = perl\$(EXE_EXT) $suidperl utilities translators
-
-shellflags = $shellflags
-
-# This is set to MAKE=$make if your $make command doesn't
-# do it for you.
-$make_set_make
-
-# Mention $gmake here so it gets probed for by Configure.
-
-# These variables may need to be manually set for non-Unix systems.
-AR = $full_ar
-EXE_EXT = $_exe
-LIB_EXT = $_a
-OBJ_EXT = $_o
-PATH_SEP = $p_
-
-# If you're going to use valgrind and it can't be invoked as plain valgrind
-# then you'll need to change this, or override it on the make command line.
-VALGRIND=valgrind
-
-FIRSTMAKEFILE = $firstmakefile
-
-# Any special object files needed by this architecture, e.g. os2/os2.obj
-ARCHOBJS = $archobjs
-
-.SUFFIXES: .c \$(OBJ_EXT) .i .s
-
-# grrr
-SHELL = $sh
-
-# how to tr(anslate) newlines
-TRNL = '$trnl'
-
-OPTIMIZE = $optimize
-
-EXTRAS = $extras
-
-INSTALLPREFIXEXP = $prefix
-
-!GROK!THIS!
-# not used by Makefile but by installperl;
-# mentioned here so that metaconfig picks these up
-# $installusrbinperl
-# $versiononly
-
-case "${osname}:${osvers}" in
-darwin:*)
-$spitshell >>$Makefile <<EOF
-
-# Your locales are broken (osname $osname, osvers $osvers)
-# and to avoid the numerous
-# perl: warning: Setting locale failed.
-# warnings during the build process we reset the locale variables.
-
-LC_ALL=C
-LANG=C
-LANGUAGE=C
-EOF
- ;;
-esac
-
-$spitshell >>$Makefile <<!GROK!THIS!
-CROSS_NAME = ${CROSS_NAME}
-CROSS_LIB = xlib/${CROSS_NAME}
-
-CCCMD = \`sh \$(shellflags) cflags-cross-${CROSS_NAME} "optimize='\$(OPTIMIZE)'" \$@\`
-
-CCCMDSRC = \`sh \$(shellflags) cflags-cross-${CROSS_NAME} "optimize='\$(OPTIMIZE)'" \$<\`
-
-!GROK!THIS!
-
-## In the following dollars and backticks do not need the extra backslash.
-$spitshell >>$Makefile <<'!NO!SUBS!'
-
-CONFIGPM = xlib/$(CROSS_NAME)/Config.pm
-
-private = preplibrary $(CONFIGPM) $(CROSS_LIB)/Config.pod
-
-shextract = Makefile cflags config.h makeaperl makedepend \
- makedir myconfig writemain pod/Makefile
-
-# Files to be built with variable substitution after miniperl is
-# available. Dependencies handled manually below (for now).
-
-pl = pod/pod2html.PL pod/pod2latex.PL pod/pod2man.PL pod/pod2text.PL \
- pod/pod2usage.PL pod/podchecker.PL pod/podselect.PL
-
-# lib/lib.pm is not listed here because it has a rule of its own.
-plextract = pod/pod2html pod/pod2latex pod/pod2man pod/pod2text \
- pod/pod2usage pod/podchecker pod/podselect
-
-addedbyconf = UU $(shextract) $(plextract) lib/lib.pm pstruct
-
-# Unicode data files generated by mktables
-unidatafiles = lib/unicore/Canonical.pl lib/unicore/Exact.pl \
- lib/unicore/Properties lib/unicore/Decomposition.pl \
- lib/unicore/CombiningClass.pl lib/unicore/Name.pl lib/unicore/PVA.pl
-
-# Directories of Unicode data files generated by mktables
-unidatadirs = lib/unicore/To lib/unicore/lib
-
-h1 = EXTERN.h INTERN.h XSUB.h av.h xconfig.h cop.h cv.h dosish.h
-h2 = embed.h form.h gv.h handy.h hv.h keywords.h mg.h op.h opcode.h
-h3 = pad.h patchlevel.h perl.h perlapi.h perly.h pp.h proto.h regcomp.h
-h4 = regexp.h scope.h sv.h unixish.h util.h iperlsys.h thread.h
-h5 = utf8.h warnings.h
-h = $(h1) $(h2) $(h3) $(h4) $(h5)
-
-c1 = av.c scope.c op.c doop.c doio.c dump.c gv.c hv.c mg.c reentr.c mro.c perl.c
-c2 = perly.c pp.c pp_hot.c pp_ctl.c pp_sys.c regcomp.c regexec.c utf8.c sv.c
-c3 = taint.c toke.c util.c deb.c run.c universal.c xsutils.c pad.c globals.c
-c4 = perlio.c perlapi.c numeric.c mathoms.c locale.c pp_pack.c pp_sort.c
-c5 = $(madlysrc) $(mallocsrc)
-
-c = $(c1) $(c2) $(c3) $(c4) $(c5) miniperlmain.c perlmain.c opmini.c
-
-obj1 = $(madlyobj) $(mallocobj) gv$(OBJ_EXT) toke$(OBJ_EXT) perly$(OBJ_EXT) op$(OBJ_EXT) pad$(OBJ_EXT) regcomp$(OBJ_EXT) dump$(OBJ_EXT) util$(OBJ_EXT) mg$(OBJ_EXT) reentr$(OBJ_EXT) mro$(OBJ_EXT)
-obj2 = hv$(OBJ_EXT) av$(OBJ_EXT) perl$(OBJ_EXT) run$(OBJ_EXT) pp_hot$(OBJ_EXT) sv$(OBJ_EXT) pp$(OBJ_EXT) scope$(OBJ_EXT) pp_ctl$(OBJ_EXT) pp_sys$(OBJ_EXT)
-obj3 = doop$(OBJ_EXT) doio$(OBJ_EXT) regexec$(OBJ_EXT) utf8$(OBJ_EXT) taint$(OBJ_EXT) deb$(OBJ_EXT) universal$(OBJ_EXT) xsutils$(OBJ_EXT) globals$(OBJ_EXT) perlio$(OBJ_EXT) perlapi$(OBJ_EXT) numeric$(OBJ_EXT) mathoms$(OBJ_EXT) locale$(OBJ_EXT) pp_pack$(OBJ_EXT) pp_sort$(OBJ_EXT)
-
-obj = $(obj1) $(obj2) $(obj3) $(ARCHOBJS)
-
-lintflags = \
- -b \
- -n \
- -p \
- -Ncheck=%all \
- -Nlevel=4 \
- -errchk=parentheses \
- -errhdr=%all \
- -errfmt=src \
- -errtags \
- -erroff=E_ASSIGN_NARROW_CONV \
- -erroff=E_BAD_PTR_CAST \
- -erroff=E_BAD_PTR_CAST_ALIGN \
- -erroff=E_BAD_PTR_INT_COMBINATION \
- -erroff=E_BAD_SIGN_EXTEND \
- -erroff=E_BLOCK_DECL_UNUSED \
- -erroff=E_CASE_FALLTHRU \
- -erroff=E_CONST_EXPR \
- -erroff=E_CONSTANT_CONDITION \
- -erroff=E_END_OF_LOOP_CODE_NOT_REACHED \
- -erroff=E_EQUALITY_NOT_ASSIGNMENT \
- -erroff=E_EXPR_NULL_EFFECT \
- -erroff=E_FALSE_LOGICAL_EXPR \
- -erroff=E_INCL_NUSD \
- -erroff=E_LOOP_EMPTY \
- -erroff=E_MAIN_PARAM \
- -erroff=E_POINTER_TO_OBJECT \
- -erroff=E_PTRDIFF_OVERFLOW \
- -erroff=E_SHIFT_CNT_NEG_TOO_BIG_L \
- -erroff=E_STATIC_UNUSED \
- -erroff=E_TRUE_LOGICAL_EXPR
-
-splintflags = \
- -I/usr/lib/gcc/i486-linux-gnu/4.0.2/include/ \
- -D__builtin_va_list=va_list \
- -Dsigjmp_buf=jmp_buf \
- -warnposix \
- \
- +boolint \
- +charintliteral \
- -fixedformalarray \
- -mustfreefresh \
- -nestedextern \
- -predboolint \
- -predboolothers \
- -preproc \
- -boolops \
- -shadow \
- -nullstate \
- +longintegral \
- +matchanyintegral \
- -type \
- \
- +line-len 999 \
- +weak
-
-splintfiles = $(c1)
-
-.c$(OBJ_EXT):
- $(CCCMD) -I$(CROSS_LIB) $(PLDLFLAGS) $*.c
-
-.c.i:
- $(CCCMDSRC) -E $*.c > $*.i
-
-.c.s:
- $(CCCMDSRC) -S $*.c
-
-all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT) extra.pods $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make
- @echo " ";
- @echo " Everything is up to date. Type '$(MAKE) test' to run test suite."
-
-.PHONY: all
-
-
-# This is now done by installman only if you actually want the man pages.
-# @echo " "; echo " Making docs"; cd pod; $(MAKE) all;
-
-# Phony target to force checking subdirectories.
-# Apparently some makes require an action for the FORCE target.
-.PHONY: FORCE
-FORCE:
- @sh -c true
-!NO!SUBS!
-$spitshell >>$Makefile <<!GROK!THIS!
-
-# We do a copy of the op.c instead of a symlink because gcc gets huffy
-# if we have a symlink forest to another disk (it complains about too many
-# levels of symbolic links, even if we have only two)
-
-opmini.c: op.c
- \$(RMS) opmini.c
- \$(CPS) op.c opmini.c
-
-opmini\$(OBJ_EXT): opmini.c
- \$(CCCMD) \$(PLDLFLAGS) $DPERL_EXTERNAL_GLOB opmini.c
-
-globals\$(OBJ_EXT):
-
-!GROK!THIS!
-$spitshell >>$Makefile <<'!NO!SUBS!'
-miniperlmain$(OBJ_EXT): miniperlmain.c patchlevel.h
- $(CCCMD) $(PLDLFLAGS) $*.c
-
-perlmain.c: miniperlmain.c config.sh $(FIRSTMAKEFILE)
- sh writemain $(DYNALOADER) $(static_ext) > perlmain.c
-
-!NO!SUBS!
-case "$osname" in
-cygwin)
- ;; # Let cygwin/Makefile.SHs do its work.
-*)
- $spitshell >>$Makefile <<'!NO!SUBS!'
-perlmain$(OBJ_EXT): perlmain.c
- $(CCCMD) $(PLDLFLAGS) $*.c
-
-!NO!SUBS!
- ;;
-esac
-$spitshell >>$Makefile <<'!NO!SUBS!'
-# The file ext.libs is a list of libraries that must be linked in
-# for static extensions, e.g. -lm -lgdbm, etc. The individual
-# static extension Makefile's add to it.
-ext.libs: $(static_ext)
- -@test -f ext.libs || touch ext.libs
-
-!NO!SUBS!
-
-# How to build libperl. This is still rather convoluted.
-# Load up custom Makefile.SH fragment for shared loading and executables:
-case "$osname" in
-*)
- Makefile_s="$osname/Makefile.SHs"
- ;;
-esac
-
-case "$osname" in
-aix)
- $spitshell >>$Makefile <<!GROK!THIS!
-LIBS = $perllibs
-# In AIX we need to change this for building Perl itself from
-# its earlier definition (which is for building external
-# extensions *after* Perl has been built and installed)
-CCDLFLAGS = `echo $ccdlflags|sed -e 's@-bE:.*/perl\.exp@-bE:perl.exp@'`
-
-!GROK!THIS!
- case "$useshrplib" in
- define|true|[yY]*)
- $spitshell >>$Makefile <<'!NO!SUBS!'
-
-LIBPERL_NONSHR = libperl_nonshr$(LIB_EXT)
-MINIPERL_NONSHR = miniperl_nonshr$(EXE_EXT)
-
-$(LIBPERL_NONSHR): $(obj)
- $(RMS) $(LIBPERL_NONSHR)
- $(AR) rcu $(LIBPERL_NONSHR) $(obj)
-
-$(MINIPERL_NONSHR): $(LIBPERL_NONSHR) miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT)
- $(CC) $(LDFLAGS) -o $(MINIPERL_NONSHR) miniperlmain$(OBJ_EXT) \
- opmini$(OBJ_EXT) $(LIBPERL_NONSHR) $(LIBS)
-
-MINIPERLEXP = $(MINIPERL_NONSHR)
-
-LIBPERLEXPORT = perl.exp
-
-!NO!SUBS!
-
- ;;
- *)
- $spitshell >>$Makefile <<'!NO!SUBS!'
-MINIPERLEXP = miniperl$(EXE_EXT)
-
-PERLEXPORT = perl.exp
-
-!NO!SUBS!
- ;;
- esac
- $spitshell >>$Makefile <<'!NO!SUBS!'
-perl.exp: $(MINIPERLEXP) makedef.pl config.sh $(SYM) $(SYMH)
- ./$(MINIPERLEXP) makedef.pl PLATFORM=aix CC_FLAGS="$(OPTIMIZE)" | sort -u | sort -f > perl.exp
-
-!NO!SUBS!
- ;;
-os2)
- $spitshell >>$Makefile <<'!NO!SUBS!'
-MINIPERLEXP = miniperl
-
-perl5.def: $(MINIPERLEXP) makedef.pl config.sh $(SYM) $(SYMH) miniperl.map
- ./$(MINIPERLEXP) makedef.pl PLATFORM=os2 -DPERL_DLL=$(PERL_DLL) CC_FLAGS="$(OPTIMIZE)" > perl5.def
-
-!NO!SUBS!
- ;;
-esac
-
-if test -r $Makefile_s ; then
- . $Makefile_s
- $spitshell >>$Makefile <<!GROK!THIS!
-
-$Makefile: $Makefile_s
-!GROK!THIS!
-else
- $spitshell >>$Makefile <<'!NO!SUBS!'
-$(LIBPERL): $& $(obj) $(DYNALOADER) $(LIBPERLEXPORT)
-!NO!SUBS!
- case "$useshrplib" in
- true)
- $spitshell >>$Makefile <<'!NO!SUBS!'
- rm -f $@
- $(LD) -o $@ $(SHRPLDFLAGS) $(obj) $(DYNALOADER) $(libs)
-!NO!SUBS!
- case "$osname" in
- aix)
- $spitshell >>$Makefile <<'!NO!SUBS!'
- rm -f libperl$(OBJ_EXT)
- mv $@ libperl$(OBJ_EXT)
- $(AR) qv $(LIBPERL) libperl$(OBJ_EXT)
-!NO!SUBS!
- ;;
- esac
- ;;
- *)
- $spitshell >>$Makefile <<'!NO!SUBS!'
- rm -f $(LIBPERL)
- $(AR) rcu $(LIBPERL) $(obj) $(DYNALOADER)
- @$(ranlib) $(LIBPERL)
-!NO!SUBS!
- ;;
- esac
- $spitshell >>$Makefile <<'!NO!SUBS!'
-
-# How to build executables.
-
-# The $& notation tells Sequent machines that it can do a parallel make,
-# and is harmless otherwise.
-# The miniperl -w -MExporter line is a basic cheap test to catch errors
-# before make goes on to run preplibrary and then MakeMaker on extensions.
-# This is very handy because later errors are often caused by miniperl
-# build problems but that's not obvious to the novice.
-# The Module used here must not depend on Config or any extensions.
-
-!NO!SUBS!
-
-
- $spitshell >>$Makefile <<'!NO!SUBS!'
-
-perl$(EXE_EXT): $& perlmain$(OBJ_EXT) $(LIBPERL) $(static_ext) ext.libs $(PERLEXPORT)
- -@rm -f miniperl.xok
- $(SHRPENV) $(LDLIBPTH) $(CC) -o perl$(PERL_SUFFIX)dyn$(EXE_EXT) $(PERL_PROFILE_LDFLAGS) $(CLDFLAGS) $(CCDLFLAGS) perlmain$(OBJ_EXT) $(static_ext) $(LLIBPERL) `cat ext.libs` $(libs)
- $(SHRPENV) $(LDLIBPTH) $(CC) -o perl$(PERL_SUFFIX)$(EXE_EXT) $(PERL_PROFILE_LDFLAGS) $(CLDFLAGS) perlmain$(OBJ_EXT) $(static_ext) $(LLIBPERL) `cat ext.libs` $(libs)
-
-# Purify/Quantify Perls.
-
-pureperl$(EXE_EXT): $& perlmain$(OBJ_EXT) $(LIBPERL) $(static_ext) ext.libs $(PERLEXPORT)
- $(SHRPENV) $(LDLIBPTH) purify $(CC) -o pureperl $(CLDFLAGS) $(CCDLFLAGS) perlmain$(OBJ_EXT) $(static_ext) $(LLIBPERL) `cat ext.libs` $(libs)
-
-purecovperl$(EXE_EXT): $& perlmain$(OBJ_EXT) $(LIBPERL) $(static_ext) ext.libs $(PERLEXPORT)
- $(SHRPENV) $(LDLIBPTH) purecov $(CC) -o purecovperl $(CLDFLAGS) $(CCDLFLAGS) perlmain$(OBJ_EXT) $(static_ext) $(LLIBPERL) `cat ext.libs` $(libs)
-
-quantperl$(EXE_EXT): $& perlmain$(OBJ_EXT) $(LIBPERL) $(static_ext) ext.libs $(PERLEXPORT)
- $(SHRPENV) $(LDLIBPTH) quantify $(CC) -o quantperl $(CLDFLAGS) $(CCDLFLAGS) perlmain$(OBJ_EXT) $(static_ext) $(LLIBPERL) `cat ext.libs` $(libs)
-
-# Valgrind perl (currently Linux only)
-
-perl.valgrind.config: config.sh
- @echo "To build perl.valgrind you must Configure -Doptimize=-g -Uusemymalloc, checking..."
- @$(MAKE) perl.config.dashg
- @echo "Checking usemymalloc='n' in config.sh..."
- @grep "^usemymalloc=" config.sh
- @grep "^usemymalloc='n'" config.sh >/dev/null || exit 1
- @echo "And of course you have to have valgrind..."
- $(VALGRIND) ./perl -e 1 2>/dev/null || exit 1
-
-# Third Degree Perl (Tru64 only)
-
-perl.config.dashg:
- @echo "Checking optimize='-g' in config.sh..."
- @grep "^optimize=" config.sh
- @egrep "^optimize='(.*-g.*)'" config.sh >/dev/null || exit 1
-
-perl.third.config: config.sh
- @echo "To build perl.third you must Configure -Doptimize=-g -Uusemymalloc, checking..."
- @$(MAKE) perl.config.dashg
- @echo "Checking usemymalloc='n' in config.sh..."
- @grep "^usemymalloc=" config.sh
- @grep "^usemymalloc='n'" config.sh >/dev/null || exit 1
-
-perl.third: /usr/bin/atom perl.third.config perl
- atom -tool third -L. -all -gp -toolargs="-invalid -uninit heap+stack+copy -min 0" perl
- @echo "Now you may run perl.third and then study perl.3log."
-
-# Pixie Perls (Tru64 and IRIX only)
-
-perl.pixie.config: config.sh
- @echo "To build perl.pixie you must Configure -Doptimize=-g, checking..."
- @$(MAKE) perl.config.dashg
-
-perl.pixie.atom: /usr/bin/atom perl
- atom -tool pixie -L. -all -toolargs="-quiet" perl
-
-perl.pixie.irix: perl
- pixie perl
-
-perl.pixie: /usr/bin/pixie perl.pixie.config perl
- if test -x /usr/bin/atom; then \
- $(MAKE) perl.pixie.atom; \
- else \
- $(MAKE) perl.pixie.irix; \
- fi
- @echo "Now you may run perl.pixie and then run pixie."
-
-# Gprof Perl
-
-perl.config.dashpg:
- @echo "Checking optimize='-pg' in config.sh..."
- @grep "^optimize=" config.sh
- @grep "^optimize='.*-pg.*'" config.sh >/dev/null || exit 1
-
-perl.gprof.config: config.sh
- @echo "To build perl.gprof you must Configure -Doptimize=-pg, checking..."
- @$(MAKE) perl.config.dashpg
-
-perl.gprof: /usr/bin/gprof perl.gprof.config
- @-rm -f perl
- $(MAKE) PERL_SUFFIX=.gprof PERL_PROFILE_LDFLAGS=-pg perl
- @echo "Now you may run perl.gprof and then run gprof perl.gprof."
-
-# Gcov Perl
-
-perl.config.gcov:
- @echo "To build perl.gcov you must use gcc 3.0 or newer, checking..."
- @echo "Checking gccversion in config.sh..."
- @grep "^gccversion=" config.sh
- @grep "^gccversion='[3-9]\." config.sh >/dev/null || exit 1
- @echo "To build perl.gcov you must Configure -Dccflags=-fprofile-arcs -ftest-coverage, checking..."
- @echo "Checking ccflags='-fprofile-arcs -ftest-coverage' in config.sh..."
- @grep "^ccflags=" config.sh
- @grep "^ccflags='.*-fprofile-arcs -ftest-coverage.*'" config.sh >/dev/null || exit 1
-
-perl.gcov: perl.config.gcov
- @-rm -f perl
- $(MAKE) PERL_SUFFIX=.gcov PERL_PROFILE_LDFLAGS='' perl
- @echo "Now you may run perl.gcov and then run gcov some.c."
-
-# Microperl. This is just a convenience thing if one happens to
-# build also the full Perl and therefore the real big Makefile:
-# usually one should manually explicitly issue the below command.
-
-.PHONY: microperl
-microperl:
- $(MAKE) -f Makefile.micro
-
-# This version, if specified in Configure, does ONLY those scripts which need
-# set-id emulation. Suidperl must be setuid root. It contains the "taint"
-# checks as well as the special code to validate that the script in question
-# has been invoked correctly.
-
-suidperl$(EXE_EXT): $& sperl$(OBJ_EXT) perlmain$(OBJ_EXT) $(LIBPERL) $(static_ext) ext.libs $(PERLEXPORT)
- $(SHRPENV) $(LDLIBPTH) $(CC) -o suidperl $(CLDFLAGS) $(CCDLFLAGS) perlmain$(OBJ_EXT) sperl$(OBJ_EXT) $(static_ext) $(LLIBPERL) `cat ext.libs` $(libs)
-
-!NO!SUBS!
-
-fi
-
-$spitshell >>$Makefile <<'!NO!SUBS!'
-
-sperl$(OBJ_EXT): perl.c $(h)
- $(RMS) sperl.c
- $(LNS) perl.c sperl.c
- $(CCCMD) -DIAMSUID sperl.c
- $(RMS) sperl.c
-
-# We have to call our ./makedir because Ultrix 4.3 make can't handle the line
-# test -d lib/auto || mkdir lib/auto
-# We need to autosplit in two steps because VOS can't handle so many args
-#
-.PHONY: preplibrary
-preplibrary: miniperl $(CONFIGPM) lib/lib.pm $(PREPLIBRARY_LIBPERL)
- @sh ./makedir lib/auto
- @echo " AutoSplitting perl library"
- $(LDLIBPTH) ./miniperl -Ilib -MCross -e 'use AutoSplit; \
- autosplit_lib_modules(@ARGV)' lib/*.pm
- $(LDLIBPTH) ./miniperl -Ilib -MCross -e 'use AutoSplit; \
- autosplit_lib_modules(@ARGV)' lib/*/*.pm
- $(MAKE) lib/re.pm
-
-.PHONY: makeppport
-makeppport: miniperl$(EXE_EXT) $(CONFIGPM)
- $(LDLIBPTH) ./miniperl$(EXE_EXT) -Ilib mkppport
-
-$(CROSS_LIB)/Config.pod: config.sh miniperl configpm Porting/Glossary
- $(LDLIBPTH) ./miniperl -Ilib configpm --cross=$(CROSS_NAME)
- cp *.h $(CROSS_LIB)/
- cp ext/re/re.pm $(LIBDIR)/
-
-$(CONFIGPM): $(CROSS_LIB)/Config.pod xconfig.h
-
-lib/re.pm: ext/re/re.pm
- @-rm -f $@
- cp ext/re/re.pm lib/re.pm
-
-$(plextract): miniperl $(CONFIGPM) x2p/s2p
- @-rm -f $@
- $(LDLIBPTH) ./miniperl -I`pwd`/lib $@.PL
-
-lib/lib.pm: miniperl $(CONFIGPM)
- @-rm -f $@
- $(LDLIBPTH) ./miniperl -Ilib -MCross lib/lib_pm.PL
-
-unidatafiles $(unidatafiles): uni.data
-
-uni.data: miniperl$(EXE_EXT) $(CONFIGPM) lib/unicore/mktables
- cd lib/unicore && $(LDLIBPTH) ../../miniperl -I../../lib mktables -w
- touch uni.data
-
-extra.pods: miniperl
- -@test ! -f extra.pods || rm -f `cat extra.pods`
- -@rm -f extra.pods
- -@for x in `grep -l '^=[a-z]' README.* | grep -v README.vms` ; do \
- nx=`echo $$x | sed -e "s/README\.//"`; \
- cd pod ; $(LNS) ../$$x "perl"$$nx".pod" ; cd .. ; \
- echo "pod/perl"$$nx".pod" >> extra.pods ; \
- done
- -@rm -f pod/perlvms.pod
- -@test -f vms/perlvms.pod && cd pod && $(LNS) ../vms/perlvms.pod perlvms.pod && cd .. && echo "pod/perlvms.pod" >> extra.pods
- -@rm -f pod/perldelta.pod
- -@test -f pod/perl5100delta.pod && cd pod && $(LNS) perl5100delta.pod perldelta.pod && cd .. && echo "pod/perldelta.pod" >> extra.pods # See buildtoc
-
-extras.make: perl$(EXE_EXT)
- -@test ! -s extras.lst || PATH="`pwd`:${PATH}" PERL5LIB="`pwd`/lib" $(LDLIBPTH) ./perl -Ilib -MCPAN -e '@ARGV&&make(@ARGV)' `cat extras.lst`
-
-extras.test: perl$(EXE_EXT)
- -@test ! -s extras.lst || PATH="`pwd`:${PATH}" PERL5LIB="`pwd`/lib" $(LDLIBPTH) ./perl -Ilib -MCPAN -e '@ARGV&&test(@ARGV)' `cat extras.lst`
-
-extras.install: perl$(EXE_EXT)
- -@test ! -s extras.lst || PATH="`pwd`:${PATH}" PERL5LIB="`pwd`/lib" $(LDLIBPTH) ./perl -Ilib -MCPAN -e '@ARGV&&install(@ARGV)' `cat extras.lst`
-
-.PHONY: install install-strip install-all install-verbose install-silent \
- no-install install.perl install.man install.html
-
-META.yml: Porting/makemeta Porting/Maintainers.pl Porting/Maintainers.pm
- $(LDLIBPTH) ./miniperl -Ilib Porting/makemeta
-
-install-strip:
- $(MAKE) STRIPFLAGS=-s install DESTDIR="$(DESTDIR)"
-
-install install-all:
- $(MAKE) install.perl install.man STRIPFLAGS=$(STRIPFLAGS) DESTDIR="$(DESTDIR)"
-
-install-verbose:
- $(MAKE) install.perl install.man STRIPFLAGS=$(STRIPFLAGS) INSTALLFLAGS=-V DESTDIR="$(DESTDIR)"
-
-install-silent:
- $(MAKE) install.perl install.man STRIPFLAGS=$(STRIPFLAGS) INSTALLFLAGS=-S DESTDIR="$(DESTDIR)"
-
-no-install:
- $(MAKE) install.perl install.man STRIPFLAGS=$(STRIPFLAGS) INSTALLFLAGS=-n DESTDIR="$(DESTDIR)"
-
-# Set this to an empty string to avoid an attempt of rebuild before install
-INSTALL_DEPENDENCE = all
-
-install.perl: $(INSTALL_DEPENDENCE) installperl
- $(LDLIBPTH) ./perl installperl --destdir=$(DESTDIR) $(INSTALLFLAGS) $(STRIPFLAGS)
- -@test ! -s extras.lst || $(MAKE) extras.install
-
-install.man: all installman
- $(LDLIBPTH) ./perl installman --destdir=$(DESTDIR) $(INSTALLFLAGS)
-
-# XXX Experimental. Hardwired values, but useful for testing.
-# Eventually Configure could ask for some of these values.
-install.html: all installhtml
- -@test -f README.vms && cd vms && $(LNS) ../README.vms README_vms.pod && cd ..
- $(LDLIBPTH) ./perl installhtml \
- --podroot=. --podpath=. --recurse \
- --htmldir=$(privlib)/html \
- --htmlroot=$(privlib)/html \
- --splithead=pod/perlipc \
- --splititem=pod/perlfunc \
- --libpods=perlfunc:perlguts:perlvar:perlrun:perlop \
- --ignore=Porting/Maintainers.pm,Porting/patching.pod,Porting/pumpkin.pod,Porting/repository.pod \
- --verbose
-
-
-# I now supply perly.c with the kits, so the following section is
-# used only if you force bison to run by saying
-# make regen_perly
-# You normally shouldn't remake perly.[ch].
-
-.PHONY: regen_perly
-
-run_byacc:
- @echo "run_byacc is obsolete; try 'make regen_perly' instead"
-
-# this outputs perly.h, perly.act and perly.tab
-regen_perly:
- perl regen_perly.pl
-
-# We don't want to regenerate perly.c and perly.h, but they might
-# appear out-of-date after a patch is applied or a new distribution is
-# made.
-perly.c: perly.y
- -@sh -c true
-
-perly.h: perly.y
- -@sh -c true
-
-# No compat3.sym here since and including the 5.004_50.
-# No interp.sym since 5.005_03.
-SYM = global.sym globvar.sym perlio.sym pp.sym
-
-SYMH = perlvars.h intrpvar.h
-
-CHMOD_W = chmod +w
-
-# The following files are generated automatically
-# autodoc.pl: pod/perlapi.pod pod/perlintern.pod
-# embed.pl: proto.h embed.h embedvar.h global.sym
-# perlapi.h perlapi.c
-# [* embed.pl needs pp.sym generated by opcode.pl! *]
-# keywords.pl: keywords.h
-# opcode.pl: opcode.h opnames.h pp_proto.h pp.sym
-# regcomp.pl: regnodes.h
-# warnings.pl: warnings.h lib/warnings.pm
-# The correct versions should be already supplied with the perl kit,
-# in case you don't have perl available.
-# To force them to be regenerated, run
-# perl regen.pl
-# with your existing copy of perl
-# (make regen_headers is kept for backwards compatibility)
-
-AUTOGEN_FILES = keywords.h opcode.h opnames.h pp_proto.h pp.sym proto.h \
- embed.h embedvar.h global.sym \
- pod/perlintern.pod pod/perlapi.pod \
- perlapi.h perlapi.c regnodes.h \
- warnings.h lib/warnings.pm
-
-.PHONY: regen_headers regen_pods regen_all
-
-regen regen_headers: FORCE
- -perl regen.pl
-
-regen_pods: FORCE
- -cd pod; $(LDLIBPTH) $(MAKE) regen_pods
-
-regen_all: regen regen_pods
-
-.PHONY: manisort manicheck
-
-manisort: FORCE
- LC_ALL=C sort -fdc MANIFEST || (echo "WARNING: re-sorting MANIFEST"; \
- LC_ALL=C sort -fdo MANIFEST MANIFEST)
-
-manicheck: FORCE
- perl Porting/manicheck
-
-# Extensions:
-# Names added to $(dynamic_ext) or $(static_ext) or $(nonxs_ext) will
-# automatically get built. There should ordinarily be no need to change
-# any of this part of makefile.
-#
-# The dummy dependency is a place holder in case $(dynamic_ext) or
-# $(static_ext) is empty.
-#
-# DynaLoader may be needed for extensions that use Makefile.PL.
-
-###$(DYNALOADER).c: $(EXTDIR)/DynaLoader/dl_dld.xs $(CONFIGPM)
-### if not exist $(AUTODIR) mkdir $(AUTODIR)
-### cd $(EXTDIR)\$(*B)
-### $(HPERL) -I..\..\lib -MCross=$(CROSS_NAME) $(*B)_pm.PL
-### $(HPERL) -I..\..\lib -MCross=$(CROSS_NAME) XSLoader_pm.PL
-### cd ..\..\win32
-### $(XCOPY) $(EXTDIR)\$(*B)\$(*B).pm $(LIBDIR)\$(NULL)
-### $(XCOPY) $(EXTDIR)\$(*B)\XSLoader.pm $(LIBDIR)\$(NULL)
-### cd $(EXTDIR)\$(*B)
-### $(XSUBPP) dl_win32.xs > $(*B).c
-### cd ..\..\win32
-###
-###$(EXTDIR)\DynaLoader\dl_win32.xs: dl_win32.xs
-### $(COPY) dl_win32.xs $(EXTDIR)\DynaLoader\dl_win32.xs
-
-
-
-$(DYNALOADER): preplibrary FORCE
- @$(LDLIBPTH) sh ext/util/make_ext_cross $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
-
-d_dummy $(dynamic_ext): miniperl$(EXE_EXT) preplibrary makeppport $(DYNALOADER) FORCE
- @$(LDLIBPTH) sh ext/util/make_ext_cross dynamic $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
-
-s_dummy $(static_ext): miniperl$(EXE_EXT) preplibrary makeppport $(DYNALOADER) FORCE
- @$(LDLIBPTH) sh ext/util/make_ext_cross $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
-
-n_dummy $(nonxs_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE
- @$(LDLIBPTH) sh ext/util/make_ext_cross nonxs $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
-!NO!SUBS!
-
-$spitshell >>$Makefile <<EOF
-$extra_dep
-EOF
-
-$spitshell >>$Makefile <<'!NO!SUBS!'
-
-.PHONY: printconfig
-printconfig:
- @eval `$(LDLIBPTH) ./perl -Ilib -V:$(CONFIGVAR)`; echo $$$(CONFIGVAR)
-
-.PHONY: clean _tidy _mopup _cleaner1 _cleaner2 \
- realclean _realcleaner clobber _clobber \
- distclean veryclean _verycleaner \
- cleanup_unpacked_files unpack_files
-
-clean: cleanup_unpacked_files _tidy _mopup
-
-realclean: cleanup_unpacked_files _realcleaner _mopup
- @echo "Note that '$(MAKE) realclean' does not delete config.sh or Policy.sh"
-
-_clobber:
- -@rm -f Cross/run-* Cross/to-* Cross/from-*
- rm -f config.sh cppstdin Policy.sh extras.lst
-
-clobber: cleanup_unpacked_files _realcleaner _mopup _clobber
-
-distclean: clobber
-
-# Like distclean but also removes emacs backups and *.orig.
-veryclean: _verycleaner _mopup _clobber
- -@rm -f Obsolete Wanted
-
-# Do not 'make _mopup' directly.
-_mopup:
- rm -f *$(OBJ_EXT) *$(LIB_EXT) all perlmain.c opmini.c uudmap.h generate_uudmap$(EXE_EXT)
- -rmdir .depending
- -@test -f extra.pods && rm -f `cat extra.pods`
- -@test -f vms/README_vms.pod && rm -f vms/README_vms.pod
- -rm -f perl.exp ext.libs extra.pods uni.data opmini.o
- -rm -f perl.export perl.dll perl.libexp perl.map perl.def
- -rm -f perl.loadmap miniperl.loadmap perl.prelmap miniperl.prelmap
- -rm -f perl.third lib*.so.perl.third perl.3log t/perl.third t/perl.3log
- -rm -f perl.pixie lib*.so.perl.pixie lib*.so.Addrs
- -rm -f perl.Addrs perl.Counts t/perl.Addrs t/perl.Counts *perl.xok
- -rm -f cygwin.c libperl*.def libperl*.dll cygperl*.dll *.exe.stackdump
- -rm -f perl$(EXE_EXT) suidperl$(EXE_EXT) miniperl$(EXE_EXT) $(LIBPERL) libperl.* microperl
- -rm -f opcode.h-old opnames.h-old pp.sym-old pp_proto.h-old
- -rm -f config.over
-
-# Do not 'make _tidy' directly.
-_tidy:
- -cd pod; $(LDLIBPTH) $(MAKE) clean
- -cd utils; $(LDLIBPTH) $(MAKE) clean
- -cd x2p; $(LDLIBPTH) $(MAKE) clean
- -@for x in $(DYNALOADER) $(dynamic_ext) $(static_ext) $(nonxs_ext) ; do \
- $(LDLIBPTH) sh ext/util/make_ext clean $$x MAKE=$(MAKE) ; \
- done
-
-_cleaner1:
- -cd os2; rm -f Makefile
- -cd pod; $(LDLIBPTH) $(MAKE) $(CLEAN)
- -cd utils; $(LDLIBPTH) $(MAKE) $(CLEAN)
- -cd x2p; $(LDLIBPTH) $(MAKE) $(CLEAN)
- -@for x in $(DYNALOADER) $(dynamic_ext) $(static_ext) $(nonxs_ext) ; do \
- $(LDLIBPTH) sh ext/util/make_ext $(CLEAN) $$x MAKE=$(MAKE) ; \
- done
- -@test ! -f ./miniperl$(EXE_EXT) || $(LDLIBPTH) ./miniperl$(EXE_EXT) -Ilib mkppport --clean
-
-# Some systems do not support "?", so keep these files separate.
-_cleaner2:
- -rm -f core.*perl.*.? t/core.perl.*.? .?*.c
- rm -f core *perl.core t/core t/*perl.core core.* t/core.*
- rm -f t/misctmp* t/forktmp* t/tmp* t/c t/perl$(EXE_EXT) t/rantests
- rm -f so_locations $(LIBPERL_NONSHR) $(MINIPERL_NONSHR)
- rm -rf $(addedbyconf)
- rm -f $(FIRSTMAKEFILE) $(FIRSTMAKEFILE).old makefile.old
- rm -f $(private)
- rm -rf $(unidatafiles) $(unidatadirs)
- rm -rf lib/auto
- rm -f lib/.exists lib/*/.exists lib/*/*/.exists
- rm -f h2ph.man pstruct
- rm -rf .config
- rm -f preload
- rm -rf lib/Encode lib/Compress lib/Hash lib/re
- rm -rf lib/IO/Compress lib/IO/Uncompress
- rm -f lib/ExtUtils/ParseXS/t/XSTest.c
- rm -f lib/ExtUtils/ParseXS/t/XSTest$(OBJ_EXT)
- rm -f lib/ExtUtils/ParseXS/t/XSTest$(DLSUFFIX)
- -rmdir lib/B lib/Data
- -rmdir lib/Filter/Util lib/IO/Socket
- -rmdir lib/List lib/MIME lib/Scalar lib/Sys
- -rmdir lib/threads lib/XS
-
-_realcleaner:
- @$(LDLIBPTH) $(MAKE) _cleaner1 CLEAN=realclean
- @$(LDLIBPTH) $(MAKE) _cleaner2
-
-_verycleaner:
- @$(LDLIBPTH) $(MAKE) _cleaner1 CLEAN=veryclean
- @$(LDLIBPTH) $(MAKE) _cleaner2
- -rm -f *~ *.orig */*~ */*.orig */*/*~ */*/*.orig
-
-.PHONY: lint
-lint: $(c)
- rm -f *.ln
- lint $(lintflags) -DPERL_CORE -D_REENTRANT -DDEBUGGING -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(c)
-
-.PHONY: splint
-splint: $(c)
- splint $(splintflags) -DPERL_CORE -D_REENTRANT -DDEBUGGING -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(splintfiles)
-
-# Need to unset during recursion to go out of loop.
-# The README below ensures that the dependency list is never empty and
-# that when MAKEDEPEND is empty $(FIRSTMAKEFILE) doesn't need rebuilding.
-
-MAKEDEPEND = Makefile makedepend
-
-$(FIRSTMAKEFILE): README $(MAKEDEPEND)
- $(MAKE) depend MAKEDEPEND=
-
-config.h: config_h.SH config.sh
- $(SHELL) config_h.SH
- # TODO - improve following line
- cp config.h $(CROSS_LIB)/
-
-xconfig.h: config_h.SH Cross/config-$(CROSS_NAME).sh
- CONFIG_SH=Cross/config-$(CROSS_NAME).sh CONFIG_H=xconfig.h $(SHELL) config_h.SH
- #TODO $(LDLIBPTH) ./miniperl -Ilib -MCross=$(CROSS_NAME) config_h.PL "INST_VER=$(INST_VER)" "CORE_DIR=$(CROSS_LIB)" "CONFIG_H=xconfig.h"
- cp xconfig.h $(CROSS_LIB)/
- cp xconfig.h $(CROSS_LIB)/config.h
-
-# When done, touch perlmain.c so that it doesn't get remade each time.
-.PHONY: depend
-depend: makedepend
- sh ./makedepend MAKE=$(MAKE)
- - test -s perlmain.c && touch perlmain.c
- cd x2p; $(MAKE) depend
-
-# Cannot postpone this until $firstmakefile is ready ;-)
-makedepend: makedepend.SH config.sh
- sh ./makedepend.SH
-
-.PHONY: test check test_prep test_prep_nodll test_prep_pre _test_prep \
- test_tty test-tty _test_tty test_notty test-notty _test_notty \
- utest ucheck test.utf8 check.utf8 test.torture torturetest \
- test.utf16 check.utf16 utest.utf16 ucheck.utf16 \
- test.third check.third utest.third ucheck.third test_notty.third \
- test.deparse test_notty.deparse test_harness test_harness_notty \
- minitest coretest test.taintwarn
-
-# Cannot delegate rebuilding of t/perl to make
-# to allow interlaced test and minitest
-
-TESTFILE=TEST
-
-_test_prep: unpack_files
- cd t && (rm -f $(PERL)$(EXE_EXT); $(LNS) ../$(PERL)$(EXE_EXT) $(PERL)$(EXE_EXT))
-
-# Architecture-neutral stuff:
-
-test_prep_pre: preplibrary utilities $(nonxs_ext)
-
-test_prep: test_prep_pre miniperl$(EXE_EXT) $(unidatafiles) perl$(EXE_EXT) $(dynamic_ext) $(TEST_PERL_DLL)
- PERL=./perl $(MAKE) _test_prep
-
-_test_tty:
- cd t && $(PERL_DEBUG) $(LDLIBPTH) $(PERL) $(TESTFILE) $(TEST_ARGS) </dev/tty
-
-_test_notty:
- cd t && $(PERL_DEBUG) PERL_SKIP_TTY_TEST=1 $(LDLIBPTH) $(PERL) $(TESTFILE) $(TEST_ARGS)
-
-unpack_files:
- $(LDLIBPTH) ./miniperl$(EXE_EXT) -Ilib uupacktool.pl -u -m
-
-cleanup_unpacked_files:
- -@test ! -f ./miniperl$(EXE_EXT) || $(LDLIBPTH) ./miniperl$(EXE_EXT) -Ilib uupacktool.pl -c
-
-# The second branch is for testing without a tty or controlling terminal,
-# see t/op/stat.t
-_test:
- if (true </dev/tty) >/dev/null 2>&1; then \
- $(MAKE) TEST_ARGS=$(TEST_ARGS) TESTFILE=$(TESTFILE) _test_tty ; \
- else \
- $(MAKE) TEST_ARGS=$(TEST_ARGS) TESTFILE=$(TESTFILE) _test_notty ; \
- fi
- @echo "Ran tests" > t/rantests
-
-test check: test_prep
- PERL=./perl $(MAKE) _test
-
-test_tty: test_prep
- PERL=./perl $(MAKE) _test_tty
-
-test_notty: test_prep
- PERL=./perl $(MAKE) _test_notty
-
-utest ucheck test.utf8 check.utf8: test_prep
- PERL=./perl TEST_ARGS=-utf8 $(MAKE) _test
-
-coretest: test_prep
- PERL=./perl TEST_ARGS=-core $(MAKE) _test
-
-test-prep: test_prep
-
-test-tty: test_tty
-
-test-notty: test_notty
-
-# Torture testing
-
-test.torture torturetest: test_prep
- PERL=./perl TEST_ARGS=-torture $(MAKE) _test
-
-# Targets for UTF16 testing:
-
-minitest.utf16: minitest.prep
- - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl$(EXE_EXT) perl$(EXE_EXT)) \
- && $(LDLIBPTH) ./perl TEST -minitest -utf16 base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t </dev/tty
-
-test.utf16 check.utf16: test_prep
- PERL=./perl $(MAKE) TEST_ARGS=-utf16 _test
-
-utest.utf16 ucheck.utf16: test_prep
- PERL=./perl $(MAKE) TEST_ARGS="-utf8 -utf16" _test
-
-# Targets for valgrind testing:
-
-test_prep.valgrind: test_prep perl.valgrind
- PERL=./perl $(MAKE) _test_prep
-
-test.valgrind check.valgrind: test_prep perl.valgrind.config
- PERL=./perl PERL_DEBUG=PERL_VALGRIND=1 VALGRIND='$(VALGRIND)' $(MAKE) _test
-
-utest.valgrind ucheck.valgrind: test_prep.valgrind perl.valgrind.config
- PERL=./perl PERL_DEBUG=PERL_VALGRIND=1 TEST_ARGS=-utf8 $(MAKE) _test
-
-test_notty.valgrind: test_prep.valgrind perl.valgrind.config
- PERL=./perl $(MAKE) PERL_DEBUG=PERL_VALGRIND=1 _test_notty
-
-# Targets for Third Degree testing.
-
-test_prep.third: test_prep perl.third
- PERL=./perl.third $(MAKE) _test_prep
-
-test.third check.third: test_prep.third perl.third
- PERL=./perl.third PERL_DEBUG=PERL_3LOG=1 $(MAKE) _test
-
-utest.third ucheck.third: test_prep.third perl.third
- PERL=./perl.third PERL_DEBUG=PERL_3LOG=1 TEST_ARGS=-utf8 $(MAKE) _test
-
-test_notty.third: test_prep.third perl.third
- PERL=./perl.third $(MAKE) PERL_DEBUG=PERL_3LOG=1 _test_notty
-
-# Targets for Deparse testing.
-
-test.deparse: test_prep
- PERL=./perl TEST_ARGS=-deparse $(MAKE) _test
-
-test_notty.deparse: test_prep
- PERL=./perl TEST_ARGS=-deparse $(MAKE) _test_notty
-
-# Targets to run the test suite with -t
-
-test.taintwarn: test_prep
- PERL=./perl TEST_ARGS=-taintwarn $(MAKE) _test
-
-minitest.prep:
- -@test -f lib/lib.pm && test -f lib/Config.pm || \
- $(MAKE) lib/Config.pm lib/lib.pm $(unidatafiles)
- @echo " "
- @echo "You may see some irrelevant test failures if you have been unable"
- @echo "to build lib/Config.pm, lib/lib.pm or the Unicode data files."
- @echo " "
-
-# Can't depend on lib/Config.pm because that might be where miniperl
-# is crashing.
-minitest: miniperl$(EXE_EXT) lib/re.pm minitest.prep
- - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl$(EXE_EXT) perl$(EXE_EXT)) \
- && $(LDLIBPTH) ./perl TEST -minitest base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t </dev/tty
-
-# Test via harness
-
-test_harness: test_prep
- PERL=./perl $(MAKE) TESTFILE=harness _test
-
-test_harness_notty: test_prep
- PERL=./perl HARNESS_NOTTY=1 $(MAKE) TESTFILE=harness _test
-
-# Handy way to run perlbug -ok without having to install and run the
-# installed perlbug. We don't re-run the tests here - we trust the user.
-# Please *don't* use this unless all tests pass.
-# If you want to report test failures, use "make nok" instead.
-
-.PHONY: ok okfile oknack okfilenack nok nokfile noknack nokfilenack
-
-ok: utilities
- $(LDLIBPTH) ./perl -Ilib utils/perlbug -ok -s '(UNINSTALLED)'
-
-okfile: utilities
- $(LDLIBPTH) ./perl -Ilib utils/perlbug -ok -s '(UNINSTALLED)' -F perl.ok
-
-oknack: utilities
- $(LDLIBPTH) ./perl -Ilib utils/perlbug -ok -s '(UNINSTALLED)' -A
-
-okfilenack: utilities
- $(LDLIBPTH) ./perl -Ilib utils/perlbug -ok -s '(UNINSTALLED)' -F perl.ok -A
-
-nok: utilities
- $(LDLIBPTH) ./perl -Ilib utils/perlbug -nok -s '(UNINSTALLED)'
-
-nokfile: utilities
- $(LDLIBPTH) ./perl -Ilib utils/perlbug -nok -s '(UNINSTALLED)' -F perl.nok
-
-noknack: utilities
- $(LDLIBPTH) ./perl -Ilib utils/perlbug -nok -s '(UNINSTALLED)' -A
-
-nokfilenack: utilities
- $(LDLIBPTH) ./perl -Ilib utils/perlbug -nok -s '(UNINSTALLED)' -F perl.nok -A
-
-.PHONY: clist hlist shlist pllist
-
-clist: $(c)
- echo $(c) | tr ' ' $(TRNL) >.clist
-
-hlist: $(h)
- echo $(h) | tr ' ' $(TRNL) >.hlist
-
-shlist: $(sh)
- echo $(sh) | tr ' ' $(TRNL) >.shlist
-
-pllist: $(pl)
- echo $(pl) | tr ' ' $(TRNL) >.pllist
-
-Makefile: Makefile.SH ./config.sh
- $(SHELL) Makefile.SH
-
-.PHONY: distcheck
-distcheck: FORCE
- perl '-MExtUtils::Manifest=&fullcheck' -e 'fullcheck()'
-
-.PHONY: elc
-elc: emacs/cperl-mode.elc
-
-emacs/cperl-mode.elc: emacs/cperl-mode.el
- -cd emacs; emacs -batch -q -no-site-file -f batch-byte-compile cperl-mode.el
-
-.PHONY: etags ctags tags
-
-etags: TAGS
-
-TAGS: emacs/cperl-mode.elc
- sh emacs/ptags
-
-# Let's hope make will not go into an infinite loop on case-unsensitive systems
-# This may also fail if . is in the head of the path, since perl will
-# require -Ilib
-tags: TAGS
- perl emacs/e2ctags.pl TAGS > tags
-
-ctags:
- ctags -f Tags -N --totals --languages=c --langmap=c:+.h --exclude=opmini.c *.c *.h
-
-# AUTOMATICALLY GENERATED MAKE DEPENDENCIES--PUT NOTHING BELOW THIS LINE
-# If this runs make out of memory, delete /usr/include lines.
-!NO!SUBS!
-
-$eunicefix $Makefile
-case `pwd` in
-*SH)
- $rm -f ../$Makefile
- $ln $Makefile ../$Makefile
- ;;
-esac
-$rm -f $firstmakefile
-
-# Now do any special processing required before building.
-
-case "$ebcdic" in
-define)
- xxx=''
- echo "This is an EBCDIC system, checking if any parser files need regenerating." >&2
-case "$osname" in
-os390|posix-bc)
- if cd x2p
- then
- rm -f y.tab.c y.tab.h
- case "$osname" in
- posix-bc)
- # we are using two different yaccs in BS2000 Posix!
- byacc a2p.y >/dev/null 2>&1
- ;;
- *) # e.g. os390
- yacc a2p.y >/dev/null 2>&1
- ;;
- esac
- if cmp -s y.tab.c a2p.c
- then
- rm -f y.tab.c
- else
- echo "a2p.y -> a2p.c" >&2
- mv -f y.tab.c a2p.c
- chmod u+w a2p.c
- sed -e 's/fprintf *( *stderr *,/PerlIO_printf(Perl_debug_log,/g' \
- -e 's|^static void __YY_YACC_MAIN.*BS2000.*|/*static main deleted*/|' \
- -e 's/y\.tab/a2p/g' a2p.c >a2p.tmp && mv a2p.tmp a2p.c
- xxx="$xxx a2p.c"
- fi
- # In case somebody yacc -d:ed the a2p.y.
- if test -f y.tab.h
- then
- if cmp -s y.tab.h a2p.h
- then
- rm -f y.tab.h
- else
- echo "a2p.h -> a2p.h" >&2
- mv -f y.tab.h a2p.h
- xxx="$xxx a2p.h"
- fi
- fi
- cd ..
- fi
- ;;
-vmesa)
- # Do nothing in VM/ESA.
- ;;
-*)
- echo "'$osname' is an EBCDIC system I don't know that well." >&4
- ;;
-esac
- case "$xxx" in
- '') echo "No parser files were regenerated. That's okay." >&2 ;;
- esac
- ;;
-esac
-
-# ex: set ts=8 sts=4 sw=4 noet:
diff -Naur perl-5.10.0.orig/Cross/Makefile.SH.patch perl-5.10.0/Cross/Makefile.SH.patch
--- perl-5.10.0.orig/Cross/Makefile.SH.patch 2007-12-18 05:47:07.000000000 -0500
+++ perl-5.10.0/Cross/Makefile.SH.patch 1969-12-31 19:00:00.000000000 -0500
@@ -1,189 +0,0 @@
---- ../Makefile.SH
-+++ ../Makefile.SH
-@@ -129,18 +129,7 @@
- # INSTALL file, under "Building a shared perl library".
- # If there is no pre-existing $libperl, we don't need
- # to do anything further.
-- if test -f $archlib/CORE/$libperl; then
-- rm -f preload
-- cat <<'EOT' > preload
--#! /bin/sh
--lib=$1
--shift
--test -r $lib && export LD_PRELOAD="$lib $LD_PRELOAD"
--exec "$@"
--EOT
-- chmod 755 preload
-- ldlibpth="$ldlibpth `pwd`/preload `pwd`/$libperl"
-- fi
-+ echo linux libraries overwritten by cross-compile patches
- ;;
- os390) test -f /bin/env && ldlibpth="/bin/env $ldlibpth"
- ;;
-@@ -389,9 +378,21 @@
- .c.s:
- $(CCCMDSRC) -S $*.c
-
--all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT) extra.pods $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make
-- @echo " ";
-- @echo " Everything is up to date. Type '$(MAKE) test' to run test suite."
-+#all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT) extra.pods $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make
-+# @echo " ";
-+# @echo " Everything is up to date. Type '$(MAKE) test' to run test suite."
-+
-+all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT)
-+ mv miniperl miniperl-arm
-+ ln -s /usr/bin/perl miniperl
-+
-+more: extra.pods $(private) $(public)
-+
-+more2: $(dynamic_ext)
-+
-+more3: $(nonxs_ext)
-+
-+more4: extras.make
-
- .PHONY: all compile translators utilities
-
-@@ -401,10 +402,10 @@
- cd x2p; $(MAKE) compile;
- cd pod; $(MAKE) compile;
-
--translators: miniperl$(EXE_EXT) $(CONFIGPM) FORCE
-+translators: $(CONFIGPM) FORCE
- @echo " "; echo " Making x2p stuff"; cd x2p; $(LDLIBPTH) $(MAKE) all
-
--utilities: miniperl$(EXE_EXT) $(CONFIGPM) $(plextract) lib/lib.pm FORCE
-+utilities: $(CONFIGPM) $(plextract) lib/lib.pm FORCE
- @echo " "; echo " Making utilities"; cd utils; $(LDLIBPTH) $(MAKE) all
-
-
-@@ -579,7 +580,7 @@
- $(CC) -o miniperl $(CLDFLAGS) \
- `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
- miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perl$(OBJ_EXT) $(libs)
-- $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
-+# $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
- !NO!SUBS!
- ;;
- next4*)
-@@ -587,7 +588,7 @@
- miniperl: $& miniperlmain$(OBJ_EXT) $(LIBPERL) opmini$(OBJ_EXT)
- $(CC) -o miniperl `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
- miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perl$(OBJ_EXT) $(libs)
-- $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
-+# $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
- !NO!SUBS!
- ;;
- darwin*)
-@@ -754,7 +755,7 @@
- # We need to autosplit in two steps because VOS can't handle so many args
- #
- .PHONY: preplibrary
--preplibrary: miniperl$(EXE_EXT) $(CONFIGPM) lib/lib.pm $(PREPLIBRARY_LIBPERL)
-+preplibrary: $(CONFIGPM) lib/lib.pm $(PREPLIBRARY_LIBPERL)
- @sh ./makedir lib/auto
- @echo " AutoSplitting perl library"
- $(LDLIBPTH) ./miniperl -Ilib -e 'use AutoSplit; \
-@@ -763,35 +764,35 @@
- autosplit_lib_modules(@ARGV)' lib/*/*.pm
- $(MAKE) lib/re.pm
-
--lib/Config.pod: config.sh miniperl$(EXE_EXT) configpm Porting/Glossary
-+lib/Config.pod: config.sh configpm Porting/Glossary
- $(LDLIBPTH) ./miniperl -Ilib configpm --heavy=lib/Config_heavy.pl lib/Config.pm
-
- $(CONFIGPM): lib/Config.pod
-
--lib/ExtUtils/Miniperl.pm: miniperlmain.c miniperl$(EXE_EXT) minimod.pl $(CONFIGPM)
-+lib/ExtUtils/Miniperl.pm: miniperlmain.c minimod.pl $(CONFIGPM)
- $(LDLIBPTH) ./miniperl minimod.pl > lib/ExtUtils/Miniperl.pm
-
- lib/re.pm: ext/re/re.pm
- cp ext/re/re.pm lib/re.pm
-
--$(plextract): miniperl$(EXE_EXT) $(CONFIGPM) x2p/s2p
-+$(plextract): $(CONFIGPM) x2p/s2p
- @-rm -f $@
- $(LDLIBPTH) ./miniperl -I`pwd`/lib $@.PL
-
--x2p/s2p: miniperl$(EXE_EXT) $(CONFIGPM) x2p/s2p.PL
-+x2p/s2p: $(CONFIGPM) x2p/s2p.PL
- cd x2p; $(LDLIBPTH) $(MAKE) s2p
-
--lib/lib.pm: miniperl$(EXE_EXT) $(CONFIGPM)
-+lib/lib.pm: $(CONFIGPM)
- @-rm -f $@
- $(LDLIBPTH) ./miniperl -Ilib lib/lib_pm.PL
-
- unidatafiles $(unidatafiles): uni.data
-
--uni.data: miniperl$(EXE_EXT) $(CONFIGPM) lib/unicore/mktables
-+uni.data: $(CONFIGPM) lib/unicore/mktables
- cd lib/unicore && $(LDLIBPTH) ../../miniperl -I../../lib mktables -w
- touch uni.data
-
--extra.pods: miniperl$(EXE_EXT)
-+extra.pods:
- -@test -f extra.pods && rm -f `cat extra.pods`
- -@rm -f extra.pods
- -@for x in `grep -l '^=[a-z]' README.* | grep -v README.vms` ; do \
-@@ -837,18 +838,7 @@
- INSTALL_DEPENDENCE = all
-
- install.perl: $(INSTALL_DEPENDENCE) installperl
-- if [ -n "$(COMPILE)" ]; \
-- then \
-- cd utils; $(MAKE) compile; \
-- cd ../x2p; $(MAKE) compile; \
-- cd ../pod; $(MAKE) compile; \
-- else :; \
-- fi
-- $(LDLIBPTH) ./perl installperl --destdir=$(DESTDIR) $(INSTALLFLAGS) $(STRIPFLAGS)
-- $(MAKE) extras.install
--
--install.man: all installman
-- $(LDLIBPTH) ./perl installman --destdir=$(DESTDIR) $(INSTALLFLAGS)
-+ /usr/bin/perl -Ifake_config_library -MConfig installperl $(INSTALLFLAGS) $(STRIPFLAGS)
-
- # XXX Experimental. Hardwired values, but useful for testing.
- # Eventually Configure could ask for some of these values.
-@@ -950,16 +940,16 @@
- #
- # DynaLoader may be needed for extensions that use Makefile.PL.
-
--$(DYNALOADER): miniperl$(EXE_EXT) preplibrary FORCE
-+$(DYNALOADER): preplibrary FORCE
- @$(LDLIBPTH) sh ext/util/make_ext $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
-
--d_dummy $(dynamic_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE
-+d_dummy $(dynamic_ext): preplibrary $(DYNALOADER) FORCE
- @$(LDLIBPTH) sh ext/util/make_ext dynamic $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
-
--s_dummy $(static_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE
-+s_dummy $(static_ext): preplibrary $(DYNALOADER) FORCE
- @$(LDLIBPTH) sh ext/util/make_ext $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
-
--n_dummy $(nonxs_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE
-+n_dummy $(nonxs_ext): preplibrary $(DYNALOADER) FORCE
- @$(LDLIBPTH) sh ext/util/make_ext nonxs $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
-
- .PHONY: clean _tidy _mopup _cleaner1 _cleaner2 \
-@@ -1101,7 +1091,7 @@
-
- test_prep_pre: preplibrary utilities $(nonxs_ext)
-
--test_prep: test_prep_pre miniperl$(EXE_EXT) $(unidatafiles) perl$(EXE_EXT) $(dynamic_ext) $(TEST_PERL_DLL)
-+test_prep: test_prep_pre $(unidatafiles) perl$(EXE_EXT) $(dynamic_ext) $(TEST_PERL_DLL)
- PERL=./perl $(MAKE) _test_prep
-
- _test_tty:
-@@ -1214,7 +1204,7 @@
-
- # Can't depend on lib/Config.pm because that might be where miniperl
- # is crashing.
--minitest: miniperl$(EXE_EXT) lib/re.pm minitest.prep
-+minitest: lib/re.pm minitest.prep
- - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl$(EXE_EXT) perl$(EXE_EXT)) \
- && $(LDLIBPTH) ./perl TEST -minitest base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t </dev/tty
-
diff -Naur perl-5.10.0.orig/Cross/README perl-5.10.0/Cross/README
--- perl-5.10.0.orig/Cross/README 2007-12-18 05:47:07.000000000 -0500
+++ perl-5.10.0/Cross/README 1969-12-31 19:00:00.000000000 -0500
@@ -1,87 +0,0 @@
-Building for arm-linux
-----------------------
-
-The files in this directory add another cross-compilation
-target to the Perl buildsystem. It was built as a part of
-the Open Zaurus (http://www.openzaurus.com/) distribution.
-Most / All of the arm compiler optimisations are "borrowed"
-from this excellent project.
-
-(Further discussion about cross-compiling Perl in the top level
-INSTALL file, see the section "Cross-compilation".)
-
-The main target is arm-linux but I have also managed to
-successfully cross-compile Perl for Solaris x86 using the same
-buildsystem.
-
-We are currently dependent on an existing working local copy of
-Perl ** of the same version and revision ** which is available
-as /usr/bin/perl.
-
-You need a working and tested cross-compiler for your build
-and target combination. The binary directory must be in
-your path.
-
-1) You should be reading me (README) in perl-5.x.y/Cross
-
-2) Make sure you are in the Cross directory.
-
-3) Edit the file 'config' to contain your target platform information.
-
-4) make patch ## This will patch the existing source-tree.
-5) make perl ## Will make perl
-
-Your built Perl environment is in install_me_here/ in your build
-directory. From here you can package and deploy as you wish.
-
-Omissions
-----------
-
-This does NOT perform any installation.
-
-Make test will NOT work.
-
-We do not provide documentation in the core, man pages are not generated.
-
-Other Targets (For Developers)
-------------------------------
-
-It is possible to extend the cross-compilation to other targets.
-We have sucessfully compiled for the target solaris2.8/x86
-on linux/x86 build system.
-
-To attempt a cross-compile for another target using the methods
-in this directory:
-
-1) Copy the Perl source code onto your TARGET machine.
-2) Execute sh Configure as normal and configure as required,
- do not "make".
-3) Copy the config.sh file that is generated to your BUILD
- machine and place it in the Cross directory with the
- filename config.sh-ARCH-OS. For example,
- config.sh-i386-pc-solaris2.8. For the appropriate ARCH
- and OS please refer to your cross-compiler documentation.
-4) Edit Cross/config to reflect your new target and continue
- with build as above.
-
-Should you wish to produce optimised binaries for different
-architectures you can add the appropriate compiler flags to
-the Makefile in a new ifeq ($(ARCH),...) ... endif block.
-
-
-Please refer to your cross-compiler documentation for details.
-
-
- Note that the Cross/ directory is also used by a different
- cross-compilation setup described in the INSTALL file, and
- executed by Configure. There should be no conflicts since
- it is unlikely both that cross-compilation setups are used
- simultaneously.
-
-Enjoy!
-
-References
-----------
-Redvers Davies <red@criticalintegration.com>
-Open Zaurus http://www.openzaurus.org/
-Perl OZ Packages http://www.criticalintegration.com/perl-oz/
diff -Naur perl-5.10.0.orig/Cross/README.new perl-5.10.0/Cross/README.new
--- perl-5.10.0.orig/Cross/README.new 2007-12-18 05:47:07.000000000 -0500
+++ perl-5.10.0/Cross/README.new 1969-12-31 19:00:00.000000000 -0500
@@ -1,95 +0,0 @@
-You're reading ./Cross/README.new, describing Perl cross-compilation process.
-NOTE: this file will replace ./Cross/README, after the cross-compilation scheme
-is stabilized.
-
-=head1 NAME
-
-README.new - Cross-compilation for linux
-
-=head1 DESCRIPTION
-
-This is second approach to linux cross-compilation, which should allow
-building full perl and entensions for target platform. Cross-compilation
-for linux uses similar approach and shares the same files as
-cross-compilation for WinCE.
-
-We refer to HOST as the platform where the build is performed, and to
-TARGET as where final executables will run.
-
-=head2 Basic ideas
-
-=head3 common
-
-Unlike WinCE, output files from GCC cross-compiler are produced in the same
-directory where C files are. All TARGET binaries have different extensions
-so to distinguish HOST and TARGET binaries. Namely, object files for C<arm>
-cross-compilation will have extension C<.armo>, executable files will have
-C<.arm>.
-
-After typical cross-compilation the following files will be built, among
-others:
-
- sv.c
- sv.o
- sv.armo
- libperl.arma
-
-(this approach may be reconsidered, however.)
-
-=head3 build process
-
-C<miniperl> is built. This executable is intended to run on HOST, and it
-will facilitate the remaining build process; all binaries built after it are
-foreign (TARGET) and should not run locally (HOST).
-
-Unlike HOST build, miniperl will not have C<Config.pm> of HOST within reach;
-it rather will use the C<Config.pm> from the cross-compilation directories.
-In fact, if the build process does have Config.pm within reach, this is only
-an indication of a mistake somewhere in the middle.
-
- # following command is okay:
- ./miniperl -Ilib -MCross -MConfig -e 1
- # following command should cluck, and it is bad if it does not:
- ./miniperl -Ilib -MConfig -e 1
-
-After C<miniperl> is built, C<configpm> is invoked to create an
-appropriate C<Config.pm> in the right place and its corresponding
-C<Cross.pm>.
-
-File C<Cross.pm> is dead simple: for given cross-architecture places in @INC
-a path where perl modules are, and right C<Config.pm> in that place.
-
-That said, C<miniperl -Ilib -MConfig -we 1> should report an error, because
-it cannot find C<Config.pm>. If it does not give an error, a wrong C<Config.pm>
-is substituted, and resulting binaries will be a mess.
-
-C<miniperl -MCross -MConfig -we 1> should run okay, and it will provide a
-correct C<Config.pm> for further compilations.
-
-During extensions build phase, the script C<./ext/util/make_ext_cross> is
-invoked.
-
-All invocations of C<Makefile.PL> are provided with C<-MCross> so to enable
-cross-compilation.
-
-=head2 BUILD
-
-=head3 Tools & SDK
-
-To compile, you need the following:
-
-=over 4
-
-=item * TODO
-
-=back
-
-=head1 Things to be done
-
-=over 4
-
-=item * better distinguishing of config.h/xconfig.h, dependencies
-
-=item * object files created in ./xlib/cross-name/ ?
-
-=back
diff -Naur perl-5.10.0.orig/Cross/TODO perl-5.10.0/Cross/TODO
--- perl-5.10.0.orig/Cross/TODO 2007-12-18 05:47:07.000000000 -0500
+++ perl-5.10.0/Cross/TODO 1969-12-31 19:00:00.000000000 -0500
@@ -1 +0,0 @@
-Provide a better sandbox for building additional XS libraries.
diff -Naur perl-5.10.0.orig/Cross/warp perl-5.10.0/Cross/warp
--- perl-5.10.0.orig/Cross/warp 2007-12-18 05:47:07.000000000 -0500
+++ perl-5.10.0/Cross/warp 1969-12-31 19:00:00.000000000 -0500
@@ -1,14 +0,0 @@
-#!/bin/sh -x
-
-## This script contains an rm -rf. This may alarm you.
-## These directories need to be reccursively deleted.
-## I don't see any method of making "Bad Things"[tm]
-## Happen. But we don't run buildroot as root do we? :-)
-
-for f in `find lib -name install_me_here`;do
-cp -r $f/* ./install_me_here/
-done
-
-for f in `find lib -name install_me_here`;do
-rm -rf $f
-done
diff -Naur perl-5.10.0.orig/ext/util/make_ext perl-5.10.0/ext/util/make_ext
--- perl-5.10.0.orig/ext/util/make_ext 2007-12-18 05:47:07.000000000 -0500
+++ perl-5.10.0/ext/util/make_ext 2009-04-05 13:27:24.458708635 -0400
@@ -126,7 +126,7 @@
esac
if test ! -f $makefile ; then
- test -f Makefile.PL && $run ../$depth/miniperl -I../$depth/lib Makefile.PL INSTALLDIRS=perl INSTALLMAN3DIR=none PERL_CORE=1 $passthru
+ test -f Makefile.PL && $run ../$depth/miniperl-cross -I../$depth/lib Makefile.PL INSTALLDIRS=perl INSTALLMAN3DIR=none PERL_CORE=1 $passthru
fi
if test ! -f $makefile ; then
echo "Warning: No Makefile!"
diff -Naur perl-5.10.0.orig/lib/unicore/Makefile perl-5.10.0/lib/unicore/Makefile
--- perl-5.10.0.orig/lib/unicore/Makefile 2007-12-18 05:47:07.000000000 -0500
+++ perl-5.10.0/lib/unicore/Makefile 2009-04-05 13:27:24.468708588 -0400
@@ -1,11 +1,11 @@
all:
- ../../miniperl -I../../lib ./mktables
+ ../../miniperl-cross -I../../lib ./mktables
TestProp.pl: mktables UnicodeData.txt Scripts.txt Blocks.txt PropList.txt
- ../../miniperl -I../../lib ./mktables -maketest
+ ../../miniperl-cross -I../../lib ./mktables -maketest
test: TestProp.pl
- ../../miniperl -I../../lib TestProp.pl
+ ../../miniperl-cross -I../../lib TestProp.pl
clean:
rm -f *.pl */*.pl
diff -Naur perl-5.10.0.orig/Makefile.SH perl-5.10.0/Makefile.SH
--- perl-5.10.0.orig/Makefile.SH 2007-12-18 05:47:07.000000000 -0500
+++ perl-5.10.0/Makefile.SH 2009-04-05 13:27:24.484541195 -0400
@@ -634,7 +634,7 @@
$(CC) -o miniperl $(CLDFLAGS) \
`echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) $(libs)
- $(LDLIBPTH) $(RUN) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
+ $(LDLIBPTH) $(RUN) ./miniperl-cross -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
!NO!SUBS!
;;
next4*)
@@ -642,7 +642,7 @@
miniperl: $& miniperlmain$(OBJ_EXT) $(obj) opmini$(OBJ_EXT)
$(CC) -o miniperl `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) $(libs)
- $(LDLIBPTH) $(RUN) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
+ $(LDLIBPTH) $(RUN) ./miniperl-cross -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
!NO!SUBS!
;;
darwin*)
@@ -664,7 +664,7 @@
$(CC) $(CLDFLAGS) $(NAMESPACEFLAGS) -o miniperl \
`echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) $(libs)
- $(LDLIBPTH) $(RUN) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
+ $(LDLIBPTH) $(RUN) ./miniperl-cross -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
!NO!SUBS!
;;
*)
@@ -674,7 +674,7 @@
$(LDLIBPTH) $(CC) $(CLDFLAGS) -o miniperl \
`echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) $(libs)
- $(LDLIBPTH) $(RUN) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
+ $(LDLIBPTH) $(RUN) ./miniperl-cross -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
!NO!SUBS!
;;
esac
@@ -806,7 +806,7 @@
.PHONY: makeppport
makeppport: miniperl\$(EXE_EXT) \$(CONFIGPM)
-@for f in Makefile.PL PPPort_pm.PL PPPort_xs.PL ppport_h.PL; do \
- (cd ext/Devel/PPPort && `pwd`/run.sh ../../../miniperl -I../../../lib \$\$f); \
+ (cd ext/Devel/PPPort && `pwd`/run.sh ../../../miniperl-cross -I../../../lib \$\$f); \
done
!GROK!THIS!
@@ -815,7 +815,7 @@
$spitshell >>Makefile <<'!NO!SUBS!'
.PHONY: makeppport
makeppport: miniperl$(EXE_EXT) $(CONFIGPM)
- $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -Ilib mkppport
+ $(LDLIBPTH) $(RUN) ./miniperl-cross$(EXE_EXT) -Ilib mkppport
!NO!SUBS!
;;
@@ -837,19 +837,19 @@
preplibrary: miniperl$(EXE_EXT) $(CONFIGPM) lib/lib.pm $(PREPLIBRARY_LIBPERL)
@sh ./makedir lib/auto
@echo " AutoSplitting perl library"
- $(LDLIBPTH) $(RUN) ./miniperl -Ilib -e 'use AutoSplit; \
+ $(LDLIBPTH) $(RUN) ./miniperl-cross -Ilib -e 'use AutoSplit; \
autosplit_lib_modules(@ARGV)' lib/*.pm
- $(LDLIBPTH) $(RUN) ./miniperl -Ilib -e 'use AutoSplit; \
+ $(LDLIBPTH) $(RUN) ./miniperl-cross -Ilib -e 'use AutoSplit; \
autosplit_lib_modules(@ARGV)' lib/*/*.pm
$(MAKE) lib/re.pm
lib/Config.pod: config.sh miniperl$(EXE_EXT) configpm Porting/Glossary
- $(LDLIBPTH) $(RUN) ./miniperl -Ilib configpm
+ $(LDLIBPTH) $(RUN) ./miniperl-cross -Ilib configpm
$(CONFIGPM): lib/Config.pod
lib/ExtUtils/Miniperl.pm: miniperlmain.c miniperl$(EXE_EXT) minimod.pl $(CONFIGPM)
- $(LDLIBPTH) $(RUN) ./miniperl minimod.pl > lib/ExtUtils/Miniperl.pm
+ $(LDLIBPTH) $(RUN) ./miniperl-cross minimod.pl > lib/ExtUtils/Miniperl.pm
lib/re.pm: ext/re/re.pm
@-rm -f $@
@@ -857,19 +857,19 @@
$(plextract): miniperl$(EXE_EXT) $(CONFIGPM) x2p/s2p
@-rm -f $@
- $(LDLIBPTH) $(RUN) ./miniperl -I`pwd`/lib $@.PL
+ $(LDLIBPTH) $(RUN) ./miniperl-cross -I`pwd`/lib $@.PL
x2p/s2p: miniperl$(EXE_EXT) $(CONFIGPM) x2p/s2p.PL
cd x2p; $(LDLIBPTH) $(MAKE) s2p
lib/lib.pm: miniperl$(EXE_EXT) $(CONFIGPM)
@-rm -f $@
- $(LDLIBPTH) $(RUN) ./miniperl -Ilib lib/lib_pm.PL
+ $(LDLIBPTH) $(RUN) ./miniperl-cross -Ilib lib/lib_pm.PL
unidatafiles $(unidatafiles): uni.data
uni.data: miniperl$(EXE_EXT) $(CONFIGPM) lib/unicore/mktables
- cd lib/unicore && $(LDLIBPTH) $(RUN) ../../miniperl -I../../lib mktables -w
+ cd lib/unicore && $(LDLIBPTH) $(RUN) ../../miniperl-cross -I../../lib mktables -w
touch uni.data
extra.pods: miniperl$(EXE_EXT)
@@ -898,7 +898,7 @@
no-install install.perl install.man install.html
META.yml: Porting/makemeta Porting/Maintainers.pl Porting/Maintainers.pm
- $(LDLIBPTH) $(RUN) ./miniperl -Ilib Porting/makemeta
+ $(LDLIBPTH) $(RUN) ./miniperl-cross -Ilib Porting/makemeta
install-strip:
$(MAKE) STRIPFLAGS=-s install DESTDIR="$(DESTDIR)"
@@ -1101,7 +1101,7 @@
-@for x in $(DYNALOADER) $(dynamic_ext) $(static_ext) $(nonxs_ext) ; do \
$(LDLIBPTH) sh ext/util/make_ext $(CLEAN) $$x MAKE=$(MAKE) ; \
done
- -@test ! -f $(RUN) ./miniperl$(EXE_EXT) || $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -Ilib mkppport --clean
+ -@test ! -f $(RUN) ./miniperl-cross$(EXE_EXT) || $(LDLIBPTH) $(RUN) ./miniperl-cross$(EXE_EXT) -Ilib mkppport --clean
# Some systems do not support "?", so keep these files separate.
_cleaner2:
@@ -1204,10 +1204,10 @@
cd t && $(PERL_DEBUG) PERL_SKIP_TTY_TEST=1 $(LDLIBPTH) $(PERL) $(TESTFILE) $(TEST_ARGS) $(TEST_FILES)
unpack_files:
- $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -Ilib uupacktool.pl -u -m
+ $(LDLIBPTH) $(RUN) ./miniperl-cross$(EXE_EXT) -Ilib uupacktool.pl -u -m
cleanup_unpacked_files:
- -@test ! -f $(RUN) ./miniperl$(EXE_EXT) || $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -Ilib uupacktool.pl -c
+ -@test ! -f $(RUN) ./miniperl-cross$(EXE_EXT) || $(LDLIBPTH) $(RUN) ./miniperl-cross$(EXE_EXT) -Ilib uupacktool.pl -c
# The second branch is for testing without a tty or controlling terminal,
# see t/op/stat.t
@@ -1248,7 +1248,7 @@
# Targets for UTF16 testing:
minitest.utf16: minitest.prep
- - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl$(EXE_EXT) perl$(EXE_EXT)) \
+ - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl-cross$(EXE_EXT) perl$(EXE_EXT)) \
&& $(LDLIBPTH) $(RUN) ./perl TEST -minitest -utf16 base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t mro/*.t </dev/tty
test.utf16 check.utf16: test_prep
@@ -1309,7 +1309,7 @@
# Can't depend on lib/Config.pm because that might be where miniperl
# is crashing.
minitest: miniperl$(EXE_EXT) lib/re.pm minitest.prep
- - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl$(EXE_EXT) perl$(EXE_EXT)) \
+ - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl-cross$(EXE_EXT) perl$(EXE_EXT)) \
&& $(LDLIBPTH) $(RUN) ./perl TEST -minitest base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t mro/*.t </dev/tty
# Test via harness
diff -Naur perl-5.10.0.orig/MANIFEST perl-5.10.0/MANIFEST
--- perl-5.10.0.orig/MANIFEST 2007-12-18 05:47:07.000000000 -0500
+++ perl-5.10.0/MANIFEST 2009-04-05 13:38:50.514474440 -0400
@@ -25,20 +25,10 @@
configure.gnu Crude emulation of GNU configure
cop.h Control operator header
Copying The GNU General Public License
-Cross/build-arm-n770-sh Cross-compilation
-Cross/cflags-cross-arm Cross-compilation
-Cross/config Cross-compilation
+Cross/cleanconfig.sh Cross-compilation
Cross/config.sh-arm-linux Cross-compilation
-Cross/config.sh-arm-linux-n770 Cross-compilation
-Cross/generate_config_sh Cross-compilation
-Cross/installperl.patch Cross-compilation
+Cross/config.sh-x86-linux Cross-compilation
Cross/Makefile Cross-compilation
-Cross/Makefile-cross-SH Cross-compilation
-Cross/Makefile.SH.patch Cross-compilation
-Cross/README Cross-compilation
-Cross/README.new Cross-compilation
-Cross/TODO Cross-compilation
-Cross/warp Cross-compilation
cv.h Code value header
cygwin/cygwin.c Additional code for Cygwin port
cygwin/Makefile.SHs Shared library generation for Cygwin port
diff -Naur perl-5.10.0.orig/pod/Makefile.SH perl-5.10.0/pod/Makefile.SH
--- perl-5.10.0.orig/pod/Makefile.SH 2007-12-18 05:47:08.000000000 -0500
+++ perl-5.10.0/pod/Makefile.SH 2009-04-05 13:27:24.514542587 -0400
@@ -63,7 +63,7 @@
--podroot=.. --podpath=pod:lib:ext:vms \
--libpods=perlfunc:perlguts:perlvar:perlrun:perlop
-PERL = ../miniperl
+PERL = ../miniperl-cross
PERLILIB = $(PERL) -I../lib
REALPERL = ../perl
diff -Naur perl-5.10.0.orig/utils/Makefile perl-5.10.0/utils/Makefile
--- perl-5.10.0.orig/utils/Makefile 2007-12-18 05:47:08.000000000 -0500
+++ perl-5.10.0/utils/Makefile 2009-04-05 13:27:24.522041845 -0400
@@ -1,5 +1,5 @@
-PERL = ../miniperl
+PERL = ../miniperl-cross
REALPERL = ../perl
RUN = # Used mainly cross-compilation setups.
diff -Naur perl-5.10.0.orig/x2p/Makefile.SH perl-5.10.0/x2p/Makefile.SH
--- perl-5.10.0.orig/x2p/Makefile.SH 2007-12-18 05:47:08.000000000 -0500
+++ perl-5.10.0/x2p/Makefile.SH 2009-04-05 13:27:24.552041881 -0400
@@ -171,7 +171,7 @@
# These should be automatically generated
$(plextract):
- $(RUN) ../miniperl -I../lib $@.PL
+ $(RUN) ../miniperl-cross -I../lib $@.PL
find2perl: find2perl.PL