source: clfs-sysroot/patches/perl-5.10.0-cross_compile-1.patch@ be0b9e3

Last change on this file since be0b9e3 was 6bfb8bc, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Updated the perl cross-compiling patch to perl 5.10.0.
Add ChangeLog Entries.

  • Property mode set to 100644
File size: 171.0 KB
  • Cross/build-arm-n770-sh

    diff -Naur perl-5.10.0.orig/Cross/build-arm-n770-sh perl-5.10.0/Cross/build-arm-n770-sh
    old new  
    1 # this is a build script for ARM-linux cross-compiling.
    2 # it builds miniperl on HOST and then perl for TARGET
    3 # this approach is like Perl-CE cross-compiling, and allows
    4 # for full TARGET perl (as opposed to renamed miniperl)
    5 
    6 # to skip Configure/build for HOST miniperl, pass "noconf" argument to this script
    7 
    8 # some trick is different, however - the file extension for objects files
    9 # are choosen to be .${CROSS_NAME}, .armo in our case
    10 
    11 # note how invoked Makefile.PL for cross-compilation:
    12 #   miniperl -MCross Makefile.PL
    13 
    14 # steps are:
    15 # - run HOST configure
    16 # - build HOST miniperl
    17 # given freshly-created HOST makefile and existing miniperl fix makefile
    18 # to use
    19 
    20 CROSS_NAME=arm
    21 
    22 # suppose compiler is in /opt/arm-2006q3
    23 CCPATH=/opt/arm-2006q3
    24 PATH=$CCPATH/bin:$PATH
    25 CCPREF=arm-none-linux-gnueabi-
    26 
    27 CROSSCC=${CCPREF}gcc
    28 export CROSSCC
    29 export CROSS_NAME
    30 
    31 cp config.sh-arm-linux-n770 config-${CROSS_NAME}.sh
    32 
    33 # following should be done better:
    34 cd ..
    35 
    36 if [[ "x$1" != xnoconf* ]] ; then
    37 # do miniperl on HOST
    38 ./Configure -des -D prefix=./dummy -Dusedevel
    39 make miniperl
    40 make uudmap.h
    41 # fake uudmap, which should be on HOST
    42 # TODO - all host utilities should be clearly stated and not built for TARGET
    43 cp generate_uudmap generate_uudmap.${CROSS_NAME}
    44 fi
    45 
    46 #?? cd Cross
    47 
    48 # do the rest for TARGET
    49 $CROSSCC --version
    50 
    51 # call make thusly so it will crosscompile...
    52 XCOREDIR=xlib/$CROSS_NAME/CORE
    53 PERL_CONFIG_SH=Cross/config-${CROSS_NAME}.sh
    54 
    55 #?? . $PERL_CONFIG_SH
    56 
    57 # make cflags do cross-compile work (now its hackish, will be improved!)
    58 rm cflags-cross-$CROSS_NAME
    59 cp Cross/cflags-cross-$CROSS_NAME .
    60 rm Makefile-cross-$CROSS_NAME
    61 sh Cross/Makefile-cross-SH
    62 cp Cross/Makefile-cross-$CROSS_NAME .
    63 
    64 mkdir xlib
    65 mkdir xlib/$CROSS_NAME
    66 mkdir ${XCOREDIR}
    67 
    68 #??OBJ_EXT=.${CROSS_NAME}o
    69 # TODO these -- AR=${CCPREF}ar LD=${CCPREF}ld
    70 make -f Makefile-cross-$CROSS_NAME xconfig.h
    71 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
    72 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
    73 make -f Makefile-cross-$CROSS_NAME perl.${CROSS_NAME}
    74 
  • Cross/cflags-cross-arm

    diff -Naur perl-5.10.0.orig/Cross/cflags-cross-arm perl-5.10.0/Cross/cflags-cross-arm
    old new  
    1 #!/bin/sh
    2 
    3 # Extra warnings, used e.g. for gcc.
    4 warn="-Wall -ansi   -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat"
    5 # Extra standardness.
    6 stdflags=" -std=c89"
    7 # Extra extra.
    8 extra=""
    9 
    10 # TODO - remove this Cross-config-xxx stuff
    11 
    12 case $PERL_CONFIG_SH in
    13 '')
    14         if test -f Cross/config-arm.sh; then TOP=.;
    15         elif test -f ../Cross/config-arm.sh; then TOP=..;
    16         elif test -f ../../Cross/config-arm.sh; then TOP=../..;
    17         elif test -f ../../../Cross/config-arm.sh; then TOP=../../..;
    18         elif test -f ../../../../Cross/config-arm.sh; then TOP=../../../..;
    19         else
    20                 echo "Can't find config-arm.sh."; exit 1
    21         fi
    22         . $TOP/Cross/config-arm.sh
    23         ;;
    24 esac
    25 
    26 : syntax: cflags [optimize=XXX] [file[.suffix]]
    27 : displays the compiler command line for file
    28 
    29 case "X$1" in
    30 Xoptimize=*|X"optimize=*")
    31         eval "$1"
    32         shift
    33         ;;
    34 esac
    35 
    36 also=': '
    37 case $# in
    38 1) also='echo 1>&2 "      CCCMD = "'
    39 esac
    40 
    41 case $# in
    42 0) set *.c; echo "The current C flags are:" ;;
    43 esac
    44 
    45 set `echo "$* " | sed -e 's/\.[oc] / /g' -e "s/\.${CROSS_NAME}o / /g" -e 's/\.obj / /g' -e "s/\\$obj_ext / /g"`
    46 
    47 for file do
    48 
    49     case "$#" in
    50     1) extra="-o $file.${CROSS_NAME}o $extra";;
    51     *) echo $n "    $file.c     $c" ;;
    52     esac
    53 
    54     : allow variables like toke_cflags to be evaluated
    55 
    56     if echo $file | grep -v / >/dev/null
    57     then
    58       eval 'eval ${'"${file}_cflags"'-""}'
    59     fi
    60 
    61     : or customize here
    62 
    63     case "$file" in
    64     DB_File) ;;
    65     GDBM_File) ;;
    66     NDBM_File) ;;
    67     ODBM_File) ;;
    68     POSIX) ;;
    69     SDBM_File) ;;
    70     av) ;;
    71     byterun) ;;
    72     deb) ;;
    73     dl) ;;
    74     doio) ;;
    75     doop) ;;
    76     dump) ;;
    77     globals) ;;
    78     gv) ;;
    79     hv) ;;
    80     locale) ;;
    81     madly) ;;
    82     main) ;;
    83     malloc) ;;
    84     mg) ;;
    85     miniperlmain) ;;
    86     numeric) ;;
    87     op) ;;
    88     opmini) ;;
    89     pad) ;;
    90     perl) ;;
    91     perlapi) ;;
    92     perlmain) ;;
    93     perly) ;;
    94     pp) ;;
    95     pp_ctl) ;;
    96     pp_hot) ;;
    97     pp_pack) ;;
    98     pp_sort) ;;
    99     pp_sys) ;;
    100     regcomp) ;;
    101     regexec) ;;
    102     run) ;;
    103     scope) ;;
    104     sv) ;;
    105     taint) ;;
    106     toke) ;;
    107     universal) ;;
    108     usersub) ;;
    109     utf8) ;;
    110     util) ;;
    111     xsutils) ;;
    112     *) ;;
    113     esac
    114 
    115 case "$cc" in
    116 *g++*)
    117   # Extra paranoia in case people have bad canned ccflags:
    118   # bad in the sense that the flags are accepted by g++,
    119   # but then whined about.
    120   for f in -Wdeclaration-after-statement -std=c89
    121   do
    122     ccflags=`echo $ccflags|sed 's/$f/ /'`
    123   done
    124   ;;
    125 esac
    126 
    127 case "$cc" in
    128 *g++*)
    129   # Without -Wno-unused-variable g++ 4.x compiles are rather unwatchable
    130   # because of all the warnings about Perl___notused, and g++ doesn't do
    131   # __attribute__((unused)) (and even if at some stage it may, people do
    132   # have older gcc installations), and ((void)x) isn't enough to silence
    133   # the noises about XS functions not using their cv parameter, so we need
    134   # the -Wno-unused-parameter too.
    135   # Yes, we lose some valid warnings, but hopefully other compilers
    136   # (like gcc) will still pick up those warnings.
    137   for o in -Wno-unused-variable -Wno-unused-parameter
    138   do
    139     case "$warn" in
    140     *$o*) ;;
    141     *) warn="$warn $o" ;;
    142     esac
    143   done
    144   ;;
    145 esac
    146 
    147 if test -f .patch; then
    148   ccflags="-DPERL_PATCHNUM=`cat .patch` $ccflags"
    149 fi
    150 
    151     : Can we perhaps use $ansi2knr here
    152     echo "$CROSSCC -c -DPERL_CORE $ccflags $stdflags $optimize $warn $extra"
    153     eval "$also "'"$CROSSCC -DUSE_CROSS_COMPILE -DPERL_CORE -c $ccflags $stdflags $optimize $warn $extra"'
    154 
    155     . $TOP/Cross/config-arm.sh
    156 
    157 done
  • Cross/cleanconfig.sh

    diff -Naur perl-5.10.0.orig/Cross/cleanconfig.sh perl-5.10.0/Cross/cleanconfig.sh
    old new  
     1#!/bin/bash
     2
     3if [ ! -f "$1" ]; then
     4  echo "Usage: $0 filename"
     5  exit 1
     6fi
     7# Package name      :
     8# Source directory  :
     9# Configuration time:
     10# Configured by     :
     11# Target system     : linux shelby 2.6.27.10-r4 #4 smp sun dec 21 12:36:
     12
     13sed -i.orig "$1" \
     14    -e "/^#.*Package name/d" \
     15    -e "/^#.*Source directory/d" \
     16    -e "/^#.*Configuration time/d" \
     17    -e "/^#.*Configured by/d" \
     18    -e "/^#.*Target system/d" \
     19    -e "s@\(^myhostname=\).*@\1''@g" \
     20    -e "s@\(^mydomain=\).*@\1''@g" \
     21    -e "s@\(^cf_by=\).*@\1''@g" \
     22    -e "s@\(^cf_email=\).*@\1''@g" \
     23    -e "s@\(^perladmin=\).*@\1''@g" \
     24    -e "s@\(^myuname=\).*@\1''@g" \
     25    -e "s@\(^cf_time=\).*@\1''@g"
  • Cross/config

    diff -Naur perl-5.10.0.orig/Cross/config perl-5.10.0/Cross/config
    old new  
    1 ##############################################################################
    2 #
    3 # This is the configuration file used to specify the target platform and
    4 # required level of debug or optimisation.
    5 #
    6 ##############################################################################
    7 
    8 ### Target Arch
    9 ARCH = arm
    10 #ARCH = i386-pc
    11 #ARCH = sh4
    12 #ARCH = mips
    13 #ARCH = mipsel
    14 #ARCH = ppc
    15 
    16 ## Specific arm
    17 CONFIG_TARGET_ARM_SA11X0 = 1
    18 #CONFIG_TARGET_ARM_XSCALE = 1
    19 
    20 ### Target OS
    21 OS = linux
    22 #OS = solaris2.8
    23 
  • Cross/config.sh-arm-linux

    diff -Naur perl-5.10.0.orig/Cross/config.sh-arm-linux perl-5.10.0/Cross/config.sh-arm-linux
    old new  
    66# instead choose to run each of the .SH files by yourself, or "Configure -S".
    77#
    88
    9 # Package name      : perl5
    10 # Source directory  : .
    11 # Configuration time: Wed Sep  3 22:24:58 EDT 2003
    12 # Configured by     : red
    13 # Target system     : linux openzaurus.criticalintegration.com 2.4.6-rmk1-np2-embedix #15 Wed Aug 6 07:49:44 UTC 2003 armv4l unknown
    149
    1510Author=''
    1611Date='$Date'
     
    3328aphostname='/bin/hostname'
    3429api_revision='5'
    3530api_subversion='0'
    36 api_version='9'
     31api_version='10'
    3732api_versionstring='5.10.0'
    3833ar='ar'
    39 archlib='/usr/lib/perl5/5.10.0/armv4l-linux'
    40 archlibexp='/usr/lib/perl5/5.10.0/armv4l-linux'
     34archlib='/usr/lib/perl5/5.10.0/armv5tel-linux-thread-multi'
     35archlibexp='/usr/lib/perl5/5.10.0/armv5tel-linux-thread-multi'
    4136archname64=''
    42 archname='armv4l-linux'
     37archname='armv5tel-linux-thread-multi'
    4338archobjs=''
    44 asctime_r_proto='0'
     39asctime_r_proto='REENTRANT_PROTO_B_SB'
    4540awk='awk'
    4641baserev='5.0'
    4742bash=''
     
    5449castflags='0'
    5550cat='cat'
    5651cc='cc'
    57 cccdlflags='-fpic'
    58 ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.10.0/armv4l-linux/CORE'
    59 ccflags='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
     52cccdlflags='-fPIC'
     53ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.10.0/armv5tel-linux-thread-multi/CORE'
     54ccflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
    6055ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
    61 ccname='arm-linux-gcc'
    62 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'
     56ccname='gcc'
     57ccsymbols=''
    6358ccversion=''
    64 cf_by='red'
    65 cf_email='red@criticalintegration.com'
    66 cf_time='Wed Sep  3 22:24:58 EDT 2003'
     59cf_by=''
     60cf_email=''
     61cf_time=''
    6762chgrp=''
    6863chmod='chmod'
    6964chown=''
     
    7570cpio=''
    7671cpp='cpp'
    7772cpp_stuff='42'
    78 cppccsymbols='__ELF__=1 __GNUC__=2 linux=1 unix=1'
    79 cppflags='-fno-strict-aliasing -I/usr/local/include'
     73cppccsymbols=''
     74cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include'
    8075cpplast='-'
    8176cppminus='-'
    8277cpprun='cc -E'
    8378cppstdin='cc -E'
    84 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'
    85 crypt_r_proto='0'
     79cppsymbols='_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'
     80crypt_r_proto='REENTRANT_PROTO_B_CCS'
    8681cryptlib=''
    8782csh='csh'
    8883ctermid_r_proto='0'
    89 ctime_r_proto='0'
     84ctime_r_proto='REENTRANT_PROTO_B_SB'
    9085d_Gconvert='gcvt((x),(n),(b))'
    9186d_PRIEUldbl='define'
    9287d_PRIFUldbl='define'
     
    107102d_aintl='undef'
    108103d_alarm='define'
    109104d_archlib='define'
    110 d_asctime_r='undef'
     105d_asctime_r='define'
    111106d_atolf='undef'
    112107d_atoll='define'
    113 d_attribute_format='undef'
    114 d_attribute_malloc='undef'
    115 d_attribute_nonnull='undef'
    116 d_attribute_noreturn='undef'
    117 d_attribute_pure='undef'
    118 d_attribute_unused='undef'
    119 d_attribute_warn_unused_result='undef'
     108d_attribute_format='define'
     109d_attribute_malloc='define'
     110d_attribute_nonnull='define'
     111d_attribute_noreturn='define'
     112d_attribute_pure='define'
     113d_attribute_unused='define'
     114d_attribute_warn_unused_result='define'
    120115d_bcmp='define'
    121116d_bcopy='define'
    122117d_bsd='undef'
    123118d_bsdgetpgrp='undef'
    124119d_bsdsetpgrp='undef'
    125120d_builtin_choose_expr='define'
    126 d_builtin_expect='define'
     121d_builtin_expect='undef'
    127122d_bzero='define'
    128 d_c99_variadic_macros='undef'
     123d_c99_variadic_macros='define'
    129124d_casti32='define'
    130125d_castneg='define'
    131126d_charvspr='undef'
     
    140135d_copysignl='define'
    141136d_cplusplus='undef'
    142137d_crypt='define'
    143 d_crypt_r='undef'
    144 d_csh='define'
    145 d_ctermid='undef'
     138d_crypt_r='define'
     139d_csh='undef'
     140d_ctermid='define'
    146141d_ctermid_r='undef'
    147 d_ctime_r='undef'
     142d_ctime_r='define'
    148143d_cuserid='define'
    149144d_dbl_dig='define'
    150145d_dbminitproto='undef'
     
    156151d_dlopen='define'
    157152d_dlsymun='undef'
    158153d_dosuid='undef'
    159 d_drand48_r='undef'
     154d_drand48_r='define'
    160155d_drand48proto='define'
    161156d_dup2='define'
    162 d_eaccess='undef'
     157d_eaccess='define'
    163158d_endgrent='define'
    164159d_endgrent_r='undef'
    165160d_endhent='define'
     
    174169d_endservent_r='undef'
    175170d_eofnblk='define'
    176171d_eunice='undef'
    177 d_faststdio='define'
     172d_faststdio='undef'
    178173d_fchdir='define'
    179174d_fchmod='define'
    180175d_fchown='define'
     
    182177d_fcntl_can_lock='define'
    183178d_fd_macros='define'
    184179d_fd_set='define'
    185 d_fds_bits='undef'
     180d_fds_bits='define'
    186181d_fgetpos='define'
    187182d_finite='define'
    188183d_finitel='define'
     
    205200d_fsync='define'
    206201d_ftello='define'
    207202d_ftime='undef'
    208 d_futimes='undef'
     203d_futimes='define'
    209204d_getcwd='define'
    210205d_getespwnam='undef'
    211206d_getfsstat='undef'
    212207d_getgrent='define'
    213 d_getgrent_r='undef'
    214 d_getgrgid_r='undef'
    215 d_getgrnam_r='undef'
     208d_getgrent_r='define'
     209d_getgrgid_r='define'
     210d_getgrnam_r='define'
    216211d_getgrps='define'
    217212d_gethbyaddr='define'
    218213d_gethbyname='define'
    219214d_gethent='define'
    220215d_gethname='define'
    221 d_gethostbyaddr_r='undef'
    222 d_gethostbyname_r='undef'
    223 d_gethostent_r='undef'
     216d_gethostbyaddr_r='define'
     217d_gethostbyname_r='define'
     218d_gethostent_r='define'
    224219d_gethostprotos='define'
    225220d_getitimer='define'
    226221d_getlogin='define'
    227 d_getlogin_r='undef'
     222d_getlogin_r='define'
    228223d_getmnt='undef'
    229224d_getmntent='define'
    230225d_getnbyaddr='define'
    231226d_getnbyname='define'
    232227d_getnent='define'
    233 d_getnetbyaddr_r='undef'
    234 d_getnetbyname_r='undef'
    235 d_getnetent_r='undef'
     228d_getnetbyaddr_r='define'
     229d_getnetbyname_r='define'
     230d_getnetent_r='define'
    236231d_getnetprotos='define'
    237232d_getpagsz='define'
    238233d_getpbyname='define'
     
    243238d_getpgrp='define'
    244239d_getppid='define'
    245240d_getprior='define'
    246 d_getprotobyname_r='undef'
    247 d_getprotobynumber_r='undef'
    248 d_getprotoent_r='undef'
     241d_getprotobyname_r='define'
     242d_getprotobynumber_r='define'
     243d_getprotoent_r='define'
    249244d_getprotoprotos='define'
    250245d_getprpwnam='undef'
    251246d_getpwent='define'
    252 d_getpwent_r='undef'
    253 d_getpwnam_r='undef'
    254 d_getpwuid_r='undef'
     247d_getpwent_r='define'
     248d_getpwnam_r='define'
     249d_getpwuid_r='define'
    255250d_getsbyname='define'
    256251d_getsbyport='define'
    257252d_getsent='define'
    258 d_getservbyname_r='undef'
    259 d_getservbyport_r='undef'
    260 d_getservent_r='undef'
     253d_getservbyname_r='define'
     254d_getservbyport_r='define'
     255d_getservent_r='define'
    261256d_getservprotos='define'
    262257d_getspnam='define'
    263 d_getspnam_r='undef'
     258d_getspnam_r='define'
    264259d_gettimeod='define'
    265 d_gmtime_r='undef'
     260d_gmtime_r='define'
    266261d_gnulibc='define'
    267262d_grpasswd='define'
    268263d_hasmntopt='define'
    269264d_htonl='define'
    270265d_ilogbl='define'
    271 d_inc_version_list='define'
     266d_inc_version_list='undef'
    272267d_index='undef'
    273268d_inetaton='define'
    274269d_int64_t='define'
     
    282277d_ldbl_dig='define'
    283278d_libm_lib_version='define'
    284279d_link='define'
    285 d_localtime_r='undef'
    286 d_localtime_r_needs_tzset='undef'
     280d_localtime_r='define'
     281d_localtime_r_needs_tzset='define'
    287282d_locconv='define'
    288283d_lockf='define'
    289284d_longdbl='define'
     
    329324d_nice='define'
    330325d_nl_langinfo='define'
    331326d_nv_preserves_uv='define'
    332 d_nv_zero_is_allbits_zero='undef'
    333 d_off64_t='undef'
     327d_nv_zero_is_allbits_zero='define'
     328d_off64_t='define'
    334329d_old_pthread_create_joinable='undef'
    335330d_oldpthreads='undef'
    336331d_oldsock='undef'
     
    342337d_pipe='define'
    343338d_poll='define'
    344339d_portable='define'
    345 d_printf_format_null='undef'
     340d_printf_format_null='define'
    346341d_procselfexe='define'
    347342d_pseudofork='undef'
    348 d_pthread_atfork='undef'
     343d_pthread_atfork='define'
    349344d_pthread_attr_setscope='define'
    350 d_pthread_yield='undef'
     345d_pthread_yield='define'
    351346d_pwage='undef'
    352347d_pwchange='undef'
    353348d_pwclass='undef'
     
    358353d_pwquota='undef'
    359354d_qgcvt='define'
    360355d_quad='define'
    361 d_random_r='undef'
    362 d_readdir64_r='undef'
     356d_random_r='define'
     357d_readdir64_r='define'
    363358d_readdir='define'
    364 d_readdir_r='undef'
     359d_readdir_r='define'
    365360d_readlink='define'
    366361d_readv='define'
    367362d_recvmsg='define'
     
    428423d_sigprocmask='define'
    429424d_sigsetjmp='define'
    430425d_sitearch='define'
    431 d_snprintf='undef'
    432 d_sockatmark='undef'
    433 d_sockatmarkproto='undef'
     426d_snprintf='define'
     427d_sockatmark='define'
     428d_sockatmarkproto='define'
    434429d_socket='define'
    435430d_socklen_t='define'
    436431d_sockpair='define'
    437432d_socks5_init='undef'
    438433d_sprintf_returns_strlen='define'
    439434d_sqrtl='define'
    440 d_srand48_r='undef'
    441 d_srandom_r='undef'
    442 d_sresgproto='undef'
    443 d_sresuproto='undef'
     435d_srand48_r='define'
     436d_srandom_r='define'
     437d_sresgproto='define'
     438d_sresuproto='define'
    444439d_statblks='define'
    445440d_statfs_f_flags='undef'
    446441d_statfs_s='define'
    447442d_statvfs='define'
    448443d_stdio_cnt_lval='undef'
    449 d_stdio_ptr_lval='define'
     444d_stdio_ptr_lval='undef'
    450445d_stdio_ptr_lval_nochange_cnt='undef'
    451 d_stdio_ptr_lval_sets_cnt='define'
     446d_stdio_ptr_lval_sets_cnt='undef'
    452447d_stdio_stream_array='undef'
    453 d_stdiobase='define'
    454 d_stdstdio='define'
     448d_stdiobase='undef'
     449d_stdstdio='undef'
    455450d_strchr='define'
    456451d_strcoll='define'
    457452d_strctcpy='define'
    458453d_strerrm='strerror(e)'
    459454d_strerror='define'
    460 d_strerror_r='undef'
     455d_strerror_r='define'
    461456d_strftime='define'
    462457d_strlcat='undef'
    463458d_strlcpy='undef'
     
    486481d_times='define'
    487482d_tm_tm_gmtoff='define'
    488483d_tm_tm_zone='define'
    489 d_tmpnam_r='undef'
     484d_tmpnam_r='define'
    490485d_truncate='define'
    491 d_ttyname_r='undef'
     486d_ttyname_r='define'
    492487d_tzname='define'
    493488d_u32align='undef'
    494489d_ualarm='define'
     
    500495d_usleep='define'
    501496d_usleepproto='define'
    502497d_ustat='define'
    503 d_vendorarch='undef'
    504 d_vendorbin='undef'
    505 d_vendorlib='undef'
    506 d_vendorscript='undef'
     498d_vendorarch='define'
     499d_vendorbin='define'
     500d_vendorlib='define'
     501d_vendorscript='define'
    507502d_vfork='undef'
    508503d_void_closedir='undef'
    509504d_voidsig='define'
     
    529524dlsrc='dl_dlopen.xs'
    530525doublesize='8'
    531526drand01='drand48()'
    532 drand48_r_proto='0'
    533 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'
     527drand48_r_proto='REENTRANT_PROTO_I_ST'
     528dynamic_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'
    534529eagain='EAGAIN'
    535530ebcdic='undef'
    536531echo='echo'
     
    545540eunicefix=':'
    546541exe_ext=''
    547542expr='expr'
    548 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'
     543extensions='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'
    549544extras=''
    550545fflushNULL='define'
    551546fflushall='undef'
     
    557552freetype='void'
    558553from=':'
    559554full_ar='/usr/bin/ar'
    560 full_csh='/bin/csh'
     555full_csh='csh'
    561556full_sed='/bin/sed'
    562557gccansipedantic=''
    563558gccosandvers=''
    564 gccversion='2.95.3 20010125 (prerelease)'
    565 getgrent_r_proto='0'
    566 getgrgid_r_proto='0'
    567 getgrnam_r_proto='0'
    568 gethostbyaddr_r_proto='0'
    569 gethostbyname_r_proto='0'
    570 gethostent_r_proto='0'
    571 getlogin_r_proto='0'
    572 getnetbyaddr_r_proto='0'
    573 getnetbyname_r_proto='0'
    574 getnetent_r_proto='0'
    575 getprotobyname_r_proto='0'
    576 getprotobynumber_r_proto='0'
    577 getprotoent_r_proto='0'
    578 getpwent_r_proto='0'
    579 getpwnam_r_proto='0'
    580 getpwuid_r_proto='0'
    581 getservbyname_r_proto='0'
    582 getservbyport_r_proto='0'
    583 getservent_r_proto='0'
    584 getspnam_r_proto='0'
     559gccversion='4.3.3'
     560getgrent_r_proto='REENTRANT_PROTO_I_SBWR'
     561getgrgid_r_proto='REENTRANT_PROTO_I_TSBWR'
     562getgrnam_r_proto='REENTRANT_PROTO_I_CSBWR'
     563gethostbyaddr_r_proto='REENTRANT_PROTO_I_TsISBWRE'
     564gethostbyname_r_proto='REENTRANT_PROTO_I_CSBWRE'
     565gethostent_r_proto='REENTRANT_PROTO_I_SBWRE'
     566getlogin_r_proto='REENTRANT_PROTO_I_BW'
     567getnetbyaddr_r_proto='REENTRANT_PROTO_I_uISBWRE'
     568getnetbyname_r_proto='REENTRANT_PROTO_I_CSBWRE'
     569getnetent_r_proto='REENTRANT_PROTO_I_SBWRE'
     570getprotobyname_r_proto='REENTRANT_PROTO_I_CSBWR'
     571getprotobynumber_r_proto='REENTRANT_PROTO_I_ISBWR'
     572getprotoent_r_proto='REENTRANT_PROTO_I_SBWR'
     573getpwent_r_proto='REENTRANT_PROTO_I_SBWR'
     574getpwnam_r_proto='REENTRANT_PROTO_I_CSBWR'
     575getpwuid_r_proto='REENTRANT_PROTO_I_TSBWR'
     576getservbyname_r_proto='REENTRANT_PROTO_I_CCSBWR'
     577getservbyport_r_proto='REENTRANT_PROTO_I_ICSBWR'
     578getservent_r_proto='REENTRANT_PROTO_I_SBWR'
     579getspnam_r_proto='REENTRANT_PROTO_I_CSBWR'
    585580gidformat='"lu"'
    586581gidsign='1'
    587582gidsize='4'
    588583gidtype='gid_t'
    589584glibpth='/usr/shlib  /lib /usr/lib /usr/lib/386 /lib/386 /usr/ccs/lib /usr/ucblib /usr/local/lib '
    590585gmake='gmake'
    591 gmtime_r_proto='0'
    592 gnulibc_version='2.2.2'
     586gmtime_r_proto='REENTRANT_PROTO_S_TS'
     587gnulibc_version='2.9'
    593588grep='grep'
    594589groupcat='cat /etc/group'
    595590groupstype='gid_t'
     
    697692inc_version_list_init='0'
    698693incpath=''
    699694inews=''
    700 installarchlib='./install_me_here/usr/lib/perl5/5.10.0/armv4l-linux'
    701 installbin='./install_me_here/usr/bin'
     695initialinstalllocation='/usr/bin'
     696installarchlib='/usr/lib/perl5/5.10.0/armv5tel-linux-thread-multi'
     697installbin='/usr/bin'
    702698installhtml1dir=''
    703699installhtml3dir=''
    704 installman1dir='./install_me_here/usr/share/man/man1'
    705 installman3dir='./install_me_here/usr/share/man/man3'
    706 installprefix='./install_me_here/usr'
    707 installprefixexp='./install_me_here/usr'
    708 installprivlib='./install_me_here/usr/lib/perl5/5.10.0'
    709 installscript='./install_me_here/usr/bin'
    710 installsitearch='./install_me_here/usr/lib/perl5/site_perl/5.10.0/armv4l-linux'
    711 installsitebin='./install_me_here/usr/bin'
     700installman1dir='/usr/share/man/man1'
     701installman3dir='/usr/share/man/man3'
     702installprefix='/usr'
     703installprefixexp='/usr'
     704installprivlib='/usr/lib/perl5/5.10.0'
     705installscript='/usr/bin'
     706installsitearch='/usr/lib/perl5/site_perl/5.10.0/armv5tel-linux-thread-multi'
     707installsitebin='/usr/bin'
    712708installsitehtml1dir=''
    713709installsitehtml3dir=''
    714 installsitelib='./install_me_here/usr/lib/perl5/site_perl/5.10.0'
    715 installsiteman1dir='./install_me_here/usr/share/man/man1'
    716 installsiteman3dir='./install_me_here/usr/share/man/man3'
    717 installsitescript='./install_me_here/usr/bin'
    718 installstyle='./install_me_herelib/perl5'
     710installsitelib='/usr/lib/perl5/site_perl/5.10.0'
     711installsiteman1dir='/usr/share/man/man1'
     712installsiteman3dir='/usr/share/man/man3'
     713installsitescript='/usr/bin'
     714installstyle='lib/perl5'
    719715installusrbinperl='undef'
    720 installvendorarch=''
    721 installvendorbin=''
     716installvendorarch='/usr/lib/perl5/vendor_perl/5.10.0/armv5tel-linux-thread-multi'
     717installvendorbin='/usr/bin'
    722718installvendorhtml1dir=''
    723719installvendorhtml3dir=''
    724 installvendorlib=''
    725 installvendorman1dir=''
    726 installvendorman3dir=''
    727 installvendorscript=''
     720installvendorlib='/usr/lib/perl5/vendor_perl/5.10.0'
     721installvendorman1dir='/usr/share/man/man1'
     722installvendorman3dir='/usr/share/man/man3'
     723installvendorscript='/usr/bin'
    728724intsize='4'
    729 issymlink='/usr/bin/test -h'
     725issymlink='test -h'
    730726ivdformat='"ld"'
    731727ivsize='4'
    732728ivtype='long'
    733 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'
     729known_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'
    734730ksh=''
    735731ld='cc'
    736 lddlflags='-shared -L/usr/local/lib'
     732lddlflags='-shared -O2 -L/usr/local/lib'
    737733ldflags=' -L/usr/local/lib'
    738734ldflags_uselargefiles=''
    739735ldlibpthname='LD_LIBRARY_PATH'
    740736less='less'
    741737lib_ext='.a'
    742 libc='/lib/libc-2.2.2.so'
     738libc='/lib/libc-2.9.so'
    743739libperl='libperl.so'
    744740libpth='/usr/local/lib /lib /usr/lib'
    745 libs='-lnsl -ldl -lm -lcrypt -lutil -lc'
     741libs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc'
    746742libsdirs=' /usr/lib'
    747 libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libc.so'
    748 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'
     743libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libpthread.so libc.so'
     744libsfound=' /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'
    749745libspath=' /usr/local/lib /lib /usr/lib'
    750 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'
     746libswanted='sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util pthread c cposix posix ucb BSD'
    751747libswanted_uselargefiles=''
    752748line=''
    753749lint=''
    754750lkflags=''
    755751ln='ln'
    756752lns='/bin/ln -s'
    757 localtime_r_proto='0'
     753localtime_r_proto='REENTRANT_PROTO_S_TS'
    758754locincpth='/usr/local/include /opt/local/include /usr/gnu/include /opt/gnu/include /usr/GNU/include /opt/GNU/include'
    759755loclibpth='/usr/local/lib /opt/local/lib /usr/gnu/lib /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib'
    760756longdblsize='8'
     
    766762lseeksize='8'
    767763lseektype='off_t'
    768764mad='undef'
     765madlyh=''
     766madlyobj=''
     767madlysrc=''
    769768mail=''
    770769mailx=''
    771770make='make'
     
    787786more='more'
    788787multiarch='undef'
    789788mv=''
    790 myarchname='armv4l-linux'
    791 mydomain='.criticalintegration.com'
    792 myhostname='openzaurus'
    793 myuname='linux openzaurus.criticalintegration.com 2.4.6-rmk1-np2-embedix #15 Wed Aug 6 07:49:44 UTC 2003 armv4l unknown '
     789myarchname='armv5tel-linux'
     790mydomain=''
     791myhostname=''
     792myuname=''
    794793n='-n'
    795794need_va_copy='undef'
    796795netdb_hlen_type='size_t'
     
    800799nm='nm'
    801800nm_opt=''
    802801nm_so_opt='--dynamic'
    803 nonxs_ext='Errno'
     802nonxs_ext='Compress/Zlib Errno IO_Compress_Base IO_Compress_Zlib'
    804803nroff='nroff'
    805804nvEUformat='"E"'
    806805nvFUformat='"F"'
     
    817816optimize='-O2'
    818817orderlib='false'
    819818osname='linux'
    820 osvers='2.4.6-rmk1-np2-embedix'
     819osvers='2.6.24-rc7'
    821820otherlibdirs=' '
    822821package='perl5'
    823 pager='/usr/bin/less'
     822pager='/bin/less -isR'
    824823passcat='cat /etc/passwd'
    825 patchlevel='9'
     824patchlevel='10'
    826825path_sep=':'
    827 perl5='/usr/bin/perl'
     826perl5=''
    828827perl=''
    829828perl_patchlevel=''
    830 perladmin='red@criticalintegration.com'
    831 perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc'
     829perladmin=''
     830perllibs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc'
    832831perlpath='/usr/bin/perl'
    833832pg='pg'
    834833phostname='hostname'
     
    847846quadtype='long long'
    848847randbits='48'
    849848randfunc='drand48'
    850 random_r_proto='0'
     849random_r_proto='REENTRANT_PROTO_I_St'
    851850randseedtype='long'
    852851ranlib=':'
    853852rd_nodata='-1'
    854 readdir64_r_proto='0'
    855 readdir_r_proto='0'
     853readdir64_r_proto='REENTRANT_PROTO_I_TSR'
     854readdir_r_proto='REENTRANT_PROTO_I_TSR'
    856855revision='5'
    857856rm='rm'
     857rm_try='/bin/rm -f try try a.out .out try.[cho] try..o core core.try* try.core*'
    858858rmail=''
    859859run=''
    860860runnm='false'
     
    893893shortsize='2'
    894894shrpenv=''
    895895shsharp='true'
    896 sig_count='64'
    897 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 '
    898 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'
    899 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 '
    900 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'
    901 sig_size='68'
     896sig_count='65'
     897sig_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 '
     898sig_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'
     899sig_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 '
     900sig_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'
     901sig_size='69'
    902902signal_t='void'
    903 sitearch='/usr/lib/perl5/site_perl/5.10.0/armv4l-linux'
    904 sitearchexp='/usr/lib/perl5/site_perl/5.10.0/armv4l-linux'
     903sitearch='/usr/lib/perl5/site_perl/5.10.0/armv5tel-linux-thread-multi'
     904sitearchexp='/usr/lib/perl5/site_perl/5.10.0/armv5tel-linux-thread-multi'
    905905sitebin='/usr/bin'
    906906sitebinexp='/usr/bin'
    907907sitehtml1dir=''
     
    930930sort='sort'
    931931spackage='Perl5'
    932932spitshell='cat'
    933 srand48_r_proto='0'
    934 srandom_r_proto='0'
     933srand48_r_proto='REENTRANT_PROTO_I_LS'
     934srandom_r_proto='REENTRANT_PROTO_I_TS'
    935935src='.'
    936936ssizetype='ssize_t'
    937937startperl='#!/usr/bin/perl'
     
    944944stdio_filbuf=''
    945945stdio_ptr='((fp)->_IO_read_ptr)'
    946946stdio_stream_array=''
    947 strerror_r_proto='0'
     947strerror_r_proto='REENTRANT_PROTO_B_IBW'
    948948strings='/usr/include/string.h'
    949949submit=''
    950 subversion='3'
     950subversion='0'
    951951sysman='/usr/share/man/man1'
    952952tail=''
    953953tar=''
     
    957957test='test'
    958958timeincl='/usr/include/sys/time.h /usr/include/time.h '
    959959timetype='time_t'
    960 tmpnam_r_proto='0'
     960tmpnam_r_proto='REENTRANT_PROTO_B_B'
    961961to=':'
    962962touch='touch'
    963963tr='tr'
    964964trnl='\n'
    965965troff=''
    966 ttyname_r_proto='0'
     966ttyname_r_proto='REENTRANT_PROTO_I_IBW'
    967967u16size='2'
    968968u16type='unsigned short'
    969969u32size='4'
     
    984984use64bitint='undef'
    985985usecrosscompile='undef'
    986986usedl='define'
    987 usefaststdio='define'
    988 useithreads='undef'
     987usefaststdio='undef'
     988useithreads='define'
    989989uselargefiles='define'
    990990uselongdouble='undef'
    991991usemallocwrap='define'
    992992usemorebits='undef'
    993 usemultiplicity='undef'
     993usemultiplicity='define'
    994994usemymalloc='n'
    995995usenm='false'
    996996useopcode='true'
     
    10021002useshrplib='true'
    10031003usesitecustomize='undef'
    10041004usesocks='undef'
    1005 usethreads='undef'
    1006 usevendorprefix='undef'
     1005usethreads='define'
     1006usevendorprefix='define'
    10071007usevfork='false'
    10081008usrinc='/usr/include'
    10091009uuname=''
     
    10131013uvtype='unsigned long'
    10141014uvuformat='"lu"'
    10151015uvxformat='"lx"'
    1016 vendorarch=''
    1017 vendorarchexp=''
    1018 vendorbin=''
    1019 vendorbinexp=''
     1016vendorarch='/usr/lib/perl5/vendor_perl/5.10.0/armv5tel-linux-thread-multi'
     1017vendorarchexp='/usr/lib/perl5/vendor_perl/5.10.0/armv5tel-linux-thread-multi'
     1018vendorbin='/usr/bin'
     1019vendorbinexp='/usr/bin'
    10201020vendorhtml1dir=' '
    10211021vendorhtml1direxp=''
    10221022vendorhtml3dir=' '
    10231023vendorhtml3direxp=''
    1024 vendorlib=''
    1025 vendorlib_stem=''
    1026 vendorlibexp=''
    1027 vendorman1dir=' '
    1028 vendorman1direxp=''
    1029 vendorman3dir=' '
    1030 vendorman3direxp=''
    1031 vendorprefix=''
    1032 vendorprefixexp=''
    1033 vendorscript=''
    1034 vendorscriptexp=''
     1024vendorlib='/usr/lib/perl5/vendor_perl/5.10.0'
     1025vendorlib_stem='/usr/lib/perl5/vendor_perl'
     1026vendorlibexp='/usr/lib/perl5/vendor_perl/5.10.0'
     1027vendorman1dir='/usr/share/man/man1'
     1028vendorman1direxp='/usr/share/man/man1'
     1029vendorman3dir='/usr/share/man/man3'
     1030vendorman3direxp='/usr/share/man/man3'
     1031vendorprefix='/usr'
     1032vendorprefixexp='/usr'
     1033vendorscript='/usr/bin'
     1034vendorscriptexp='/usr/bin'
    10351035version='5.10.0'
    1036 version_patchlevel_string='version 9 subversion 4'
     1036version_patchlevel_string='version 10 subversion 0'
    10371037versiononly='undef'
    10381038vi=''
    10391039voidflags='15'
     
    10441044zip='zip'
    10451045# Configure command line arguments.
    10461046config_arg0='Configure'
    1047 config_args=''
    1048 config_argc=0
     1047config_args='-ds -e -Dprefix=/usr -Dvendorprefix=/usr -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dpager=/bin/less -isR -Dusethreads -Duseshrplib'
     1048config_argc=9
     1049config_arg1='-ds'
     1050config_arg2='-e'
     1051config_arg3='-Dprefix=/usr'
     1052config_arg4='-Dvendorprefix=/usr'
     1053config_arg5='-Dman1dir=/usr/share/man/man1'
     1054config_arg6='-Dman3dir=/usr/share/man/man3'
     1055config_arg7='-Dpager=/bin/less -isR'
     1056config_arg8='-Dusethreads'
     1057config_arg9='-Duseshrplib'
    10491058PERL_REVISION=5
    1050 PERL_VERSION=9
    1051 PERL_SUBVERSION=4
     1059PERL_VERSION=10
     1060PERL_SUBVERSION=0
    10521061PERL_API_REVISION=5
    1053 PERL_API_VERSION=9
     1062PERL_API_VERSION=10
    10541063PERL_API_SUBVERSION=0
    10551064PERL_PATCHLEVEL=
    10561065PERL_CONFIG_SH=true
     1066# Variables propagated from previous config.sh file.
     1067libdb_needs_pthread='N'
  • Cross/config.sh-arm-linux-n770

    diff -Naur perl-5.10.0.orig/Cross/config.sh-arm-linux-n770 perl-5.10.0/Cross/config.sh-arm-linux-n770
    old new  
    1 #!/bin/sh
    2 #
    3 # This file was produced by running the Configure script. It holds all the
    4 # definitions figured out by Configure. Should you modify one of these values,
    5 # do not forget to propagate your changes by running "Configure -der". You may
    6 # instead choose to run each of the .SH files by yourself, or "Configure -S".
    7 #
    8 
    9 # Package name      : perl5
    10 # Source directory  : .
    11 # Configuration time: Wed Sep  3 22:24:58 EDT 2003
    12 # Configured by     : vadrer
    13 # Target system     : linux nokia770 armv5teji1
    14 
    15 Author=''
    16 Date='$Date'
    17 Header=''
    18 Id='$Id'
    19 Locker=''
    20 Log='$Log'
    21 Mcc='Mcc'
    22 RCSfile='$RCSfile'
    23 Revision='$Revision'
    24 Source=''
    25 State=''
    26 _a='.arma'
    27 _exe='.arm'
    28 _o='.armo'
    29 afs='false'
    30 afsroot='/afs'
    31 alignbytes='4'
    32 ansi2knr=''
    33 aphostname='/bin/hostname'
    34 api_revision='5'
    35 api_subversion='0'
    36 api_version='9'
    37 api_versionstring='5.10.0'
    38 ar='ar'
    39 archlib='/usr/lib/perl5/5.10.0/armv4l-linux'
    40 archlibexp='/usr/lib/perl5/5.10.0/armv4l-linux'
    41 archname64=''
    42 archname='armv4l-linux'
    43 archobjs=''
    44 asctime_r_proto='0'
    45 awk='awk'
    46 baserev='5.0'
    47 bash=''
    48 bin='/usr/bin'
    49 binexp='/usr/bin'
    50 bison='bison'
    51 byacc='byacc'
    52 byteorder='1234'
    53 c=''
    54 castflags='0'
    55 cat='cat'
    56 cc='arm-none-linux-gnueabi-gcc'
    57 cccdlflags='-fpic'
    58 ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.10.0/armv4l-linux/CORE'
    59 ccflags='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
    60 ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
    61 ccname='arm-linux-gcc'
    62 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'
    63 ccversion=''
    64 cf_by='red'
    65 cf_email='red@criticalintegration.com'
    66 cf_time='Wed Sep  3 22:24:58 EDT 2003'
    67 chgrp=''
    68 chmod='chmod'
    69 chown=''
    70 clocktype='clock_t'
    71 comm='comm'
    72 compress=''
    73 contains='grep'
    74 cp='cp'
    75 cpio=''
    76 cpp='cpp'
    77 cpp_stuff='42'
    78 cppccsymbols='__ELF__=1 __GNUC__=2 linux=1 unix=1'
    79 cppflags='-fno-strict-aliasing -I/usr/local/include'
    80 cpplast='-'
    81 cppminus='-'
    82 cpprun='arm-none-linux-gnueabi-gcc -E'
    83 cppstdin='arm-none-linux-gnueabi-gcc -E'
    84 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'
    85 crypt_r_proto='0'
    86 cryptlib=''
    87 csh='csh'
    88 ctermid_r_proto='0'
    89 ctime_r_proto='0'
    90 d_Gconvert='gcvt((x),(n),(b))'
    91 d_PRIEUldbl='define'
    92 d_PRIFUldbl='define'
    93 d_PRIGUldbl='define'
    94 d_PRIXU64='define'
    95 d_PRId64='define'
    96 d_PRIeldbl='define'
    97 d_PRIfldbl='define'
    98 d_PRIgldbl='define'
    99 d_PRIi64='define'
    100 d_PRIo64='define'
    101 d_PRIu64='define'
    102 d_PRIx64='define'
    103 d_SCNfldbl='define'
    104 d__fwalk='undef'
    105 d_access='define'
    106 d_accessx='undef'
    107 d_aintl='undef'
    108 d_alarm='define'
    109 d_archlib='define'
    110 d_asctime_r='undef'
    111 d_atolf='undef'
    112 d_atoll='define'
    113 d_attribute_format='undef'
    114 d_attribute_malloc='undef'
    115 d_attribute_nonnull='undef'
    116 d_attribute_noreturn='undef'
    117 d_attribute_pure='undef'
    118 d_attribute_unused='undef'
    119 d_attribute_warn_unused_result='undef'
    120 d_bcmp='define'
    121 d_bcopy='define'
    122 d_bsd='undef'
    123 d_bsdgetpgrp='undef'
    124 d_bsdsetpgrp='undef'
    125 d_builtin_choose_expr='define'
    126 d_builtin_expect='define'
    127 d_bzero='define'
    128 d_c99_variadic_macros='undef'
    129 d_casti32='define'
    130 d_castneg='define'
    131 d_charvspr='undef'
    132 d_chown='define'
    133 d_chroot='define'
    134 d_chsize='undef'
    135 d_class='undef'
    136 d_clearenv='define'
    137 d_closedir='define'
    138 d_cmsghdr_s='define'
    139 d_const='define'
    140 d_copysignl='define'
    141 d_cplusplus='undef'
    142 d_crypt='define'
    143 d_crypt_r='undef'
    144 d_csh='define'
    145 d_ctermid='undef'
    146 d_ctermid_r='undef'
    147 d_ctime_r='undef'
    148 d_cuserid='define'
    149 d_dbl_dig='define'
    150 d_dbminitproto='undef'
    151 d_difftime='define'
    152 d_dir_dd_fd='undef'
    153 d_dirfd='define'
    154 d_dirnamlen='undef'
    155 d_dlerror='define'
    156 d_dlopen='define'
    157 d_dlsymun='undef'
    158 d_dosuid='undef'
    159 d_drand48_r='undef'
    160 d_drand48proto='define'
    161 d_dup2='define'
    162 d_eaccess='undef'
    163 d_endgrent='define'
    164 d_endgrent_r='undef'
    165 d_endhent='define'
    166 d_endhostent_r='undef'
    167 d_endnent='define'
    168 d_endnetent_r='undef'
    169 d_endpent='define'
    170 d_endprotoent_r='undef'
    171 d_endpwent='define'
    172 d_endpwent_r='undef'
    173 d_endsent='define'
    174 d_endservent_r='undef'
    175 d_eofnblk='define'
    176 d_eunice='undef'
    177 d_faststdio='define'
    178 d_fchdir='define'
    179 d_fchmod='define'
    180 d_fchown='define'
    181 d_fcntl='define'
    182 d_fcntl_can_lock='define'
    183 d_fd_macros='define'
    184 d_fd_set='define'
    185 d_fds_bits='undef'
    186 d_fgetpos='define'
    187 d_finite='define'
    188 d_finitel='define'
    189 d_flexfnam='define'
    190 d_flock='define'
    191 d_flockproto='define'
    192 d_fork='define'
    193 d_fp_class='undef'
    194 d_fpathconf='define'
    195 d_fpclass='undef'
    196 d_fpclassify='undef'
    197 d_fpclassl='undef'
    198 d_fpos64_t='undef'
    199 d_frexpl='define'
    200 d_fs_data_s='undef'
    201 d_fseeko='define'
    202 d_fsetpos='define'
    203 d_fstatfs='define'
    204 d_fstatvfs='define'
    205 d_fsync='define'
    206 d_ftello='define'
    207 d_ftime='undef'
    208 d_futimes='undef'
    209 d_getcwd='define'
    210 d_getespwnam='undef'
    211 d_getfsstat='undef'
    212 d_getgrent='define'
    213 d_getgrent_r='undef'
    214 d_getgrgid_r='undef'
    215 d_getgrnam_r='undef'
    216 d_getgrps='define'
    217 d_gethbyaddr='define'
    218 d_gethbyname='define'
    219 d_gethent='define'
    220 d_gethname='define'
    221 d_gethostbyaddr_r='undef'
    222 d_gethostbyname_r='undef'
    223 d_gethostent_r='undef'
    224 d_gethostprotos='define'
    225 d_getitimer='define'
    226 d_getlogin='define'
    227 d_getlogin_r='undef'
    228 d_getmnt='undef'
    229 d_getmntent='define'
    230 d_getnbyaddr='define'
    231 d_getnbyname='define'
    232 d_getnent='define'
    233 d_getnetbyaddr_r='undef'
    234 d_getnetbyname_r='undef'
    235 d_getnetent_r='undef'
    236 d_getnetprotos='define'
    237 d_getpagsz='define'
    238 d_getpbyname='define'
    239 d_getpbynumber='define'
    240 d_getpent='define'
    241 d_getpgid='define'
    242 d_getpgrp2='undef'
    243 d_getpgrp='define'
    244 d_getppid='define'
    245 d_getprior='define'
    246 d_getprotobyname_r='undef'
    247 d_getprotobynumber_r='undef'
    248 d_getprotoent_r='undef'
    249 d_getprotoprotos='define'
    250 d_getprpwnam='undef'
    251 d_getpwent='define'
    252 d_getpwent_r='undef'
    253 d_getpwnam_r='undef'
    254 d_getpwuid_r='undef'
    255 d_getsbyname='define'
    256 d_getsbyport='define'
    257 d_getsent='define'
    258 d_getservbyname_r='undef'
    259 d_getservbyport_r='undef'
    260 d_getservent_r='undef'
    261 d_getservprotos='define'
    262 d_getspnam='define'
    263 d_getspnam_r='undef'
    264 d_gettimeod='define'
    265 d_gmtime_r='undef'
    266 d_gnulibc='define'
    267 d_grpasswd='define'
    268 d_hasmntopt='define'
    269 d_htonl='define'
    270 d_ilogbl='define'
    271 d_inc_version_list='define'
    272 d_index='undef'
    273 d_inetaton='define'
    274 d_int64_t='define'
    275 d_isascii='define'
    276 d_isfinite='undef'
    277 d_isinf='define'
    278 d_isnan='define'
    279 d_isnanl='define'
    280 d_killpg='define'
    281 d_lchown='define'
    282 d_ldbl_dig='define'
    283 d_libm_lib_version='define'
    284 d_link='define'
    285 d_localtime_r='undef'
    286 d_localtime_r_needs_tzset='undef'
    287 d_locconv='define'
    288 d_lockf='define'
    289 d_longdbl='define'
    290 d_longlong='define'
    291 d_lseekproto='define'
    292 d_lstat='define'
    293 d_madvise='define'
    294 d_malloc_good_size='undef'
    295 d_malloc_size='undef'
    296 d_mblen='define'
    297 d_mbstowcs='define'
    298 d_mbtowc='define'
    299 d_memchr='define'
    300 d_memcmp='define'
    301 d_memcpy='define'
    302 d_memmove='define'
    303 d_memset='define'
    304 d_mkdir='define'
    305 d_mkdtemp='define'
    306 d_mkfifo='define'
    307 d_mkstemp='define'
    308 d_mkstemps='undef'
    309 d_mktime='define'
    310 d_mmap='define'
    311 d_modfl='define'
    312 d_modfl_pow32_bug='undef'
    313 d_modflproto='undef'
    314 d_mprotect='define'
    315 d_msg='define'
    316 d_msg_ctrunc='define'
    317 d_msg_dontroute='define'
    318 d_msg_oob='define'
    319 d_msg_peek='define'
    320 d_msg_proxy='define'
    321 d_msgctl='define'
    322 d_msgget='define'
    323 d_msghdr_s='define'
    324 d_msgrcv='define'
    325 d_msgsnd='define'
    326 d_msync='define'
    327 d_munmap='define'
    328 d_mymalloc='undef'
    329 d_nice='define'
    330 d_nl_langinfo='define'
    331 d_nv_preserves_uv='define'
    332 d_nv_zero_is_allbits_zero='undef'
    333 d_off64_t='undef'
    334 d_old_pthread_create_joinable='undef'
    335 d_oldpthreads='undef'
    336 d_oldsock='undef'
    337 d_open3='define'
    338 d_pathconf='define'
    339 d_pause='define'
    340 d_perl_otherlibdirs='undef'
    341 d_phostname='undef'
    342 d_pipe='define'
    343 d_poll='define'
    344 d_portable='define'
    345 d_printf_format_null='undef'
    346 d_procselfexe='define'
    347 d_pseudofork='undef'
    348 d_pthread_atfork='undef'
    349 d_pthread_attr_setscope='define'
    350 d_pthread_yield='undef'
    351 d_pwage='undef'
    352 d_pwchange='undef'
    353 d_pwclass='undef'
    354 d_pwcomment='undef'
    355 d_pwexpire='undef'
    356 d_pwgecos='define'
    357 d_pwpasswd='define'
    358 d_pwquota='undef'
    359 d_qgcvt='define'
    360 d_quad='define'
    361 d_random_r='undef'
    362 d_readdir64_r='undef'
    363 d_readdir='define'
    364 d_readdir_r='undef'
    365 d_readlink='define'
    366 d_readv='define'
    367 d_recvmsg='define'
    368 d_rename='define'
    369 d_rewinddir='define'
    370 d_rmdir='define'
    371 d_safebcpy='undef'
    372 d_safemcpy='undef'
    373 d_sanemcmp='define'
    374 d_sbrkproto='define'
    375 d_scalbnl='define'
    376 d_sched_yield='define'
    377 d_scm_rights='define'
    378 d_seekdir='define'
    379 d_select='define'
    380 d_sem='define'
    381 d_semctl='define'
    382 d_semctl_semid_ds='define'
    383 d_semctl_semun='define'
    384 d_semget='define'
    385 d_semop='define'
    386 d_sendmsg='define'
    387 d_setegid='define'
    388 d_seteuid='define'
    389 d_setgrent='define'
    390 d_setgrent_r='undef'
    391 d_setgrps='define'
    392 d_sethent='define'
    393 d_sethostent_r='undef'
    394 d_setitimer='define'
    395 d_setlinebuf='define'
    396 d_setlocale='define'
    397 d_setlocale_r='undef'
    398 d_setnent='define'
    399 d_setnetent_r='undef'
    400 d_setpent='define'
    401 d_setpgid='define'
    402 d_setpgrp2='undef'
    403 d_setpgrp='define'
    404 d_setprior='define'
    405 d_setproctitle='undef'
    406 d_setprotoent_r='undef'
    407 d_setpwent='define'
    408 d_setpwent_r='undef'
    409 d_setregid='define'
    410 d_setresgid='define'
    411 d_setresuid='define'
    412 d_setreuid='define'
    413 d_setrgid='undef'
    414 d_setruid='undef'
    415 d_setsent='define'
    416 d_setservent_r='undef'
    417 d_setsid='define'
    418 d_setvbuf='define'
    419 d_sfio='undef'
    420 d_shm='define'
    421 d_shmat='define'
    422 d_shmatprototype='define'
    423 d_shmctl='define'
    424 d_shmdt='define'
    425 d_shmget='define'
    426 d_sigaction='define'
    427 d_signbit='define'
    428 d_sigprocmask='define'
    429 d_sigsetjmp='define'
    430 d_sitearch='define'
    431 d_snprintf='undef'
    432 d_sockatmark='undef'
    433 d_sockatmarkproto='undef'
    434 d_socket='define'
    435 d_socklen_t='define'
    436 d_sockpair='define'
    437 d_socks5_init='undef'
    438 d_sprintf_returns_strlen='define'
    439 d_sqrtl='define'
    440 d_srand48_r='undef'
    441 d_srandom_r='undef'
    442 d_sresgproto='undef'
    443 d_sresuproto='undef'
    444 d_statblks='define'
    445 d_statfs_f_flags='undef'
    446 d_statfs_s='define'
    447 d_statvfs='define'
    448 d_stdio_cnt_lval='undef'
    449 d_stdio_ptr_lval='define'
    450 d_stdio_ptr_lval_nochange_cnt='undef'
    451 d_stdio_ptr_lval_sets_cnt='define'
    452 d_stdio_stream_array='undef'
    453 d_stdiobase='define'
    454 d_stdstdio='define'
    455 d_strchr='define'
    456 d_strcoll='define'
    457 d_strctcpy='define'
    458 d_strerrm='strerror(e)'
    459 d_strerror='define'
    460 d_strerror_r='undef'
    461 d_strftime='define'
    462 d_strlcat='undef'
    463 d_strlcpy='undef'
    464 d_strtod='define'
    465 d_strtol='define'
    466 d_strtold='define'
    467 d_strtoll='define'
    468 d_strtoq='define'
    469 d_strtoul='define'
    470 d_strtoull='define'
    471 d_strtouq='define'
    472 d_strxfrm='define'
    473 d_suidsafe='undef'
    474 d_symlink='define'
    475 d_syscall='define'
    476 d_syscallproto='define'
    477 d_sysconf='define'
    478 d_sysernlst=''
    479 d_syserrlst='define'
    480 d_system='define'
    481 d_tcgetpgrp='define'
    482 d_tcsetpgrp='define'
    483 d_telldir='define'
    484 d_telldirproto='define'
    485 d_time='define'
    486 d_times='define'
    487 d_tm_tm_gmtoff='define'
    488 d_tm_tm_zone='define'
    489 d_tmpnam_r='undef'
    490 d_truncate='define'
    491 d_ttyname_r='undef'
    492 d_tzname='define'
    493 d_u32align='undef'
    494 d_ualarm='define'
    495 d_umask='define'
    496 d_uname='define'
    497 d_union_semun='undef'
    498 d_unordered='undef'
    499 d_unsetenv='define'
    500 d_usleep='define'
    501 d_usleepproto='define'
    502 d_ustat='define'
    503 d_vendorarch='undef'
    504 d_vendorbin='undef'
    505 d_vendorlib='undef'
    506 d_vendorscript='undef'
    507 d_vfork='undef'
    508 d_void_closedir='undef'
    509 d_voidsig='define'
    510 d_voidtty=''
    511 d_volatile='define'
    512 d_vprintf='define'
    513 d_vsnprintf='define'
    514 d_wait4='define'
    515 d_waitpid='define'
    516 d_wcstombs='define'
    517 d_wctomb='define'
    518 d_writev='define'
    519 d_xenix='undef'
    520 date='date'
    521 db_hashtype='u_int32_t'
    522 db_prefixtype='size_t'
    523 db_version_major=''
    524 db_version_minor=''
    525 db_version_patch=''
    526 defvoidused='15'
    527 direntrytype='struct dirent'
    528 dlext='so'
    529 dlsrc='dl_dlopen.xs'
    530 doublesize='8'
    531 drand01='drand48()'
    532 drand48_r_proto='0'
    533 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'
    534 eagain='EAGAIN'
    535 ebcdic='undef'
    536 echo='echo'
    537 egrep='egrep'
    538 emacs=''
    539 endgrent_r_proto='0'
    540 endhostent_r_proto='0'
    541 endnetent_r_proto='0'
    542 endprotoent_r_proto='0'
    543 endpwent_r_proto='0'
    544 endservent_r_proto='0'
    545 eunicefix=':'
    546 exe_ext=''
    547 expr='expr'
    548 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'
    549 extras=''
    550 fflushNULL='define'
    551 fflushall='undef'
    552 find=''
    553 firstmakefile='makefile'
    554 flex=''
    555 fpossize='16'
    556 fpostype='fpos_t'
    557 freetype='void'
    558 from=':'
    559 full_ar='/usr/bin/ar'
    560 full_csh='/bin/csh'
    561 full_sed='/bin/sed'
    562 gccansipedantic=''
    563 gccosandvers=''
    564 gccversion='2.95.3 20010125 (prerelease)'
    565 getgrent_r_proto='0'
    566 getgrgid_r_proto='0'
    567 getgrnam_r_proto='0'
    568 gethostbyaddr_r_proto='0'
    569 gethostbyname_r_proto='0'
    570 gethostent_r_proto='0'
    571 getlogin_r_proto='0'
    572 getnetbyaddr_r_proto='0'
    573 getnetbyname_r_proto='0'
    574 getnetent_r_proto='0'
    575 getprotobyname_r_proto='0'
    576 getprotobynumber_r_proto='0'
    577 getprotoent_r_proto='0'
    578 getpwent_r_proto='0'
    579 getpwnam_r_proto='0'
    580 getpwuid_r_proto='0'
    581 getservbyname_r_proto='0'
    582 getservbyport_r_proto='0'
    583 getservent_r_proto='0'
    584 getspnam_r_proto='0'
    585 gidformat='"lu"'
    586 gidsign='1'
    587 gidsize='4'
    588 gidtype='gid_t'
    589 glibpth='/usr/shlib  /lib /usr/lib /usr/lib/386 /lib/386 /usr/ccs/lib /usr/ucblib /usr/local/lib '
    590 gmake='gmake'
    591 gmtime_r_proto='0'
    592 gnulibc_version='2.2.2'
    593 grep='grep'
    594 groupcat='cat /etc/group'
    595 groupstype='gid_t'
    596 gzip='gzip'
    597 h_fcntl='false'
    598 h_sysfile='true'
    599 hint='recommended'
    600 hostcat='cat /etc/hosts'
    601 html1dir=' '
    602 html1direxp=''
    603 html3dir=' '
    604 html3direxp=''
    605 i16size='2'
    606 i16type='short'
    607 i32size='4'
    608 i32type='long'
    609 i64size='8'
    610 i64type='long long'
    611 i8size='1'
    612 i8type='char'
    613 i_arpainet='define'
    614 i_bsdioctl=''
    615 i_crypt='define'
    616 i_db='undef'
    617 i_dbm='undef'
    618 i_dirent='define'
    619 i_dld='undef'
    620 i_dlfcn='define'
    621 i_fcntl='undef'
    622 i_float='define'
    623 i_fp='undef'
    624 i_fp_class='undef'
    625 i_gdbm='undef'
    626 i_grp='define'
    627 i_ieeefp='undef'
    628 i_inttypes='define'
    629 i_langinfo='define'
    630 i_libutil='undef'
    631 i_limits='define'
    632 i_locale='define'
    633 i_machcthr='undef'
    634 i_malloc='define'
    635 i_math='define'
    636 i_memory='undef'
    637 i_mntent='define'
    638 i_ndbm='undef'
    639 i_netdb='define'
    640 i_neterrno='undef'
    641 i_netinettcp='define'
    642 i_niin='define'
    643 i_poll='define'
    644 i_prot='undef'
    645 i_pthread='define'
    646 i_pwd='define'
    647 i_rpcsvcdbm='undef'
    648 i_sfio='undef'
    649 i_sgtty='undef'
    650 i_shadow='define'
    651 i_socks='undef'
    652 i_stdarg='define'
    653 i_stddef='define'
    654 i_stdlib='define'
    655 i_string='define'
    656 i_sunmath='undef'
    657 i_sysaccess='undef'
    658 i_sysdir='define'
    659 i_sysfile='define'
    660 i_sysfilio='undef'
    661 i_sysin='undef'
    662 i_sysioctl='define'
    663 i_syslog='define'
    664 i_sysmman='define'
    665 i_sysmode='undef'
    666 i_sysmount='define'
    667 i_sysndir='undef'
    668 i_sysparam='define'
    669 i_sysresrc='define'
    670 i_syssecrt='undef'
    671 i_sysselct='define'
    672 i_syssockio='undef'
    673 i_sysstat='define'
    674 i_sysstatfs='define'
    675 i_sysstatvfs='define'
    676 i_systime='define'
    677 i_systimek='undef'
    678 i_systimes='define'
    679 i_systypes='define'
    680 i_sysuio='define'
    681 i_sysun='define'
    682 i_sysutsname='define'
    683 i_sysvfs='define'
    684 i_syswait='define'
    685 i_termio='undef'
    686 i_termios='define'
    687 i_time='define'
    688 i_unistd='define'
    689 i_ustat='define'
    690 i_utime='define'
    691 i_values='define'
    692 i_varargs='undef'
    693 i_varhdr='stdarg.h'
    694 i_vfork='undef'
    695 ignore_versioned_solibs='y'
    696 inc_version_list=' '
    697 inc_version_list_init='0'
    698 incpath=''
    699 inews=''
    700 installarchlib='./install_me_here/usr/lib/perl5/5.10.0/armv4l-linux'
    701 installbin='./install_me_here/usr/bin'
    702 installhtml1dir=''
    703 installhtml3dir=''
    704 installman1dir='./install_me_here/usr/share/man/man1'
    705 installman3dir='./install_me_here/usr/share/man/man3'
    706 installprefix='./install_me_here/usr'
    707 installprefixexp='./install_me_here/usr'
    708 installprivlib='./install_me_here/usr/lib/perl5/5.10.0'
    709 installscript='./install_me_here/usr/bin'
    710 installsitearch='./install_me_here/usr/lib/perl5/site_perl/5.10.0/armv4l-linux'
    711 installsitebin='./install_me_here/usr/bin'
    712 installsitehtml1dir=''
    713 installsitehtml3dir=''
    714 installsitelib='./install_me_here/usr/lib/perl5/site_perl/5.10.0'
    715 installsiteman1dir='./install_me_here/usr/share/man/man1'
    716 installsiteman3dir='./install_me_here/usr/share/man/man3'
    717 installsitescript='./install_me_here/usr/bin'
    718 installstyle='./install_me_herelib/perl5'
    719 installusrbinperl='undef'
    720 installvendorarch=''
    721 installvendorbin=''
    722 installvendorhtml1dir=''
    723 installvendorhtml3dir=''
    724 installvendorlib=''
    725 installvendorman1dir=''
    726 installvendorman3dir=''
    727 installvendorscript=''
    728 intsize='4'
    729 issymlink='/usr/bin/test -h'
    730 ivdformat='"ld"'
    731 ivsize='4'
    732 ivtype='long'
    733 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'
    734 ksh=''
    735 ld='arm-none-linux-gnueabi-gcc'
    736 lddlflags='-shared -L/usr/local/lib'
    737 ldflags=' -L/usr/local/lib'
    738 ldflags_uselargefiles=''
    739 ldlibpthname='LD_LIBRARY_PATH'
    740 less='less'
    741 lib_ext='.arma'
    742 libc='/lib/libc-2.2.2.so'
    743 libperl='libperl.arma'
    744 libpth='/usr/local/lib /lib /usr/lib'
    745 libs='-lnsl -ldl -lm -lcrypt -lutil -lc'
    746 libsdirs=' /usr/lib'
    747 libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libc.so'
    748 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'
    749 libspath=' /usr/local/lib /lib /usr/lib'
    750 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'
    751 libswanted_uselargefiles=''
    752 line=''
    753 lint=''
    754 lkflags=''
    755 ln='ln'
    756 lns='/bin/ln -s'
    757 localtime_r_proto='0'
    758 locincpth='/usr/local/include /opt/local/include /usr/gnu/include /opt/gnu/include /usr/GNU/include /opt/GNU/include'
    759 loclibpth='/usr/local/lib /opt/local/lib /usr/gnu/lib /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib'
    760 longdblsize='8'
    761 longlongsize='8'
    762 longsize='4'
    763 lp=''
    764 lpr=''
    765 ls='ls'
    766 lseeksize='8'
    767 lseektype='off_t'
    768 mad='undef'
    769 mail=''
    770 mailx=''
    771 make='make'
    772 make_set_make='#'
    773 mallocobj=''
    774 mallocsrc=''
    775 malloctype='void *'
    776 man1dir='/usr/share/man/man1'
    777 man1direxp='/usr/share/man/man1'
    778 man1ext='1'
    779 man3dir='/usr/share/man/man3'
    780 man3direxp='/usr/share/man/man3'
    781 man3ext='3'
    782 mips_type=''
    783 mistrustnm=''
    784 mkdir='mkdir'
    785 mmaptype='void *'
    786 modetype='mode_t'
    787 more='more'
    788 multiarch='undef'
    789 mv=''
    790 myarchname='armv4l-linux'
    791 mydomain='.criticalintegration.com'
    792 myhostname='openzaurus'
    793 myuname='linux openzaurus.criticalintegration.com 2.4.6-rmk1-np2-embedix #15 Wed Aug 6 07:49:44 UTC 2003 armv4l unknown '
    794 n='-n'
    795 need_va_copy='undef'
    796 netdb_hlen_type='size_t'
    797 netdb_host_type='const void *'
    798 netdb_name_type='const char *'
    799 netdb_net_type='in_addr_t'
    800 nm='nm'
    801 nm_opt=''
    802 nm_so_opt='--dynamic'
    803 nonxs_ext='Errno'
    804 nroff='nroff'
    805 nvEUformat='"E"'
    806 nvFUformat='"F"'
    807 nvGUformat='"G"'
    808 nv_preserves_uv_bits='32'
    809 nveformat='"e"'
    810 nvfformat='"f"'
    811 nvgformat='"g"'
    812 nvsize='8'
    813 nvtype='double'
    814 o_nonblock='O_NONBLOCK'
    815 obj_ext='.armo'
    816 old_pthread_create_joinable=''
    817 optimize='-O2'
    818 orderlib='false'
    819 osname='linux'
    820 osvers='2.6'
    821 otherlibdirs=' '
    822 package='perl5'
    823 pager='/usr/bin/less'
    824 passcat='cat /etc/passwd'
    825 patchlevel='9'
    826 path_sep=':'
    827 perl5='/usr/bin/perl'
    828 perl=''
    829 perl_patchlevel=''
    830 perladmin='red@criticalintegration.com'
    831 perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc'
    832 perlpath='/usr/bin/perl'
    833 pg='pg'
    834 phostname='hostname'
    835 pidtype='pid_t'
    836 plibpth=''
    837 pmake=''
    838 pr=''
    839 prefix='/usr'
    840 prefixexp='/usr'
    841 privlib='/usr/lib/perl5/5.10.0'
    842 privlibexp='/usr/lib/perl5/5.10.0'
    843 procselfexe='"/proc/self/exe"'
    844 prototype='define'
    845 ptrsize='4'
    846 quadkind='3'
    847 quadtype='long long'
    848 randbits='48'
    849 randfunc='drand48'
    850 random_r_proto='0'
    851 randseedtype='long'
    852 ranlib=':'
    853 rd_nodata='-1'
    854 readdir64_r_proto='0'
    855 readdir_r_proto='0'
    856 revision='5'
    857 rm='rm'
    858 rmail=''
    859 run=''
    860 runnm='false'
    861 sPRIEUldbl='"E"'
    862 sPRIFUldbl='"F"'
    863 sPRIGUldbl='"G"'
    864 sPRIXU64='"LX"'
    865 sPRId64='"Ld"'
    866 sPRIeldbl='"e"'
    867 sPRIfldbl='"f"'
    868 sPRIgldbl='"g"'
    869 sPRIi64='"Li"'
    870 sPRIo64='"Lo"'
    871 sPRIu64='"Lu"'
    872 sPRIx64='"Lx"'
    873 sSCNfldbl='"f"'
    874 sched_yield='sched_yield()'
    875 scriptdir='/usr/bin'
    876 scriptdirexp='/usr/bin'
    877 sed='sed'
    878 seedfunc='srand48'
    879 selectminbits='32'
    880 selecttype='fd_set *'
    881 sendmail=''
    882 setgrent_r_proto='0'
    883 sethostent_r_proto='0'
    884 setlocale_r_proto='0'
    885 setnetent_r_proto='0'
    886 setprotoent_r_proto='0'
    887 setpwent_r_proto='0'
    888 setservent_r_proto='0'
    889 sh='/bin/sh'
    890 shar=''
    891 sharpbang='#!'
    892 shmattype='void *'
    893 shortsize='2'
    894 shrpenv=''
    895 shsharp='true'
    896 sig_count='64'
    897 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 '
    898 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'
    899 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 '
    900 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'
    901 sig_size='68'
    902 signal_t='void'
    903 sitearch='/usr/lib/perl5/site_perl/5.10.0/armv4l-linux'
    904 sitearchexp='/usr/lib/perl5/site_perl/5.10.0/armv4l-linux'
    905 sitebin='/usr/bin'
    906 sitebinexp='/usr/bin'
    907 sitehtml1dir=''
    908 sitehtml1direxp=''
    909 sitehtml3dir=''
    910 sitehtml3direxp=''
    911 sitelib='/usr/lib/perl5/site_perl/5.10.0'
    912 sitelib_stem='/usr/lib/perl5/site_perl'
    913 sitelibexp='/usr/lib/perl5/site_perl/5.10.0'
    914 siteman1dir='/usr/share/man/man1'
    915 siteman1direxp='/usr/share/man/man1'
    916 siteman3dir='/usr/share/man/man3'
    917 siteman3direxp='/usr/share/man/man3'
    918 siteprefix='/usr'
    919 siteprefixexp='/usr'
    920 sitescript='/usr/bin'
    921 sitescriptexp='/usr/bin'
    922 sizesize='4'
    923 sizetype='size_t'
    924 sleep=''
    925 smail=''
    926 so='so'
    927 sockethdr=''
    928 socketlib=''
    929 socksizetype='socklen_t'
    930 sort='sort'
    931 spackage='Perl5'
    932 spitshell='cat'
    933 srand48_r_proto='0'
    934 srandom_r_proto='0'
    935 src='.'
    936 ssizetype='ssize_t'
    937 startperl='#!/usr/bin/perl'
    938 startsh='#!/bin/sh'
    939 static_ext='DynaLoader '
    940 stdchar='char'
    941 stdio_base='((fp)->_IO_read_base)'
    942 stdio_bufsiz='((fp)->_IO_read_end - (fp)->_IO_read_base)'
    943 stdio_cnt='((fp)->_IO_read_end - (fp)->_IO_read_ptr)'
    944 stdio_filbuf=''
    945 stdio_ptr='((fp)->_IO_read_ptr)'
    946 stdio_stream_array=''
    947 strerror_r_proto='0'
    948 strings='/usr/include/string.h'
    949 submit=''
    950 subversion='3'
    951 sysman='/usr/share/man/man1'
    952 tail=''
    953 tar=''
    954 targetarch=''
    955 tbl=''
    956 tee=''
    957 test='test'
    958 timeincl='/usr/include/sys/time.h /usr/include/time.h '
    959 timetype='time_t'
    960 tmpnam_r_proto='0'
    961 to=':'
    962 touch='touch'
    963 tr='tr'
    964 trnl='\n'
    965 troff=''
    966 ttyname_r_proto='0'
    967 u16size='2'
    968 u16type='unsigned short'
    969 u32size='4'
    970 u32type='unsigned long'
    971 u64size='8'
    972 u64type='unsigned long long'
    973 u8size='1'
    974 u8type='unsigned char'
    975 uidformat='"lu"'
    976 uidsign='1'
    977 uidsize='4'
    978 uidtype='uid_t'
    979 uname='uname'
    980 uniq='uniq'
    981 uquadtype='unsigned long long'
    982 use5005threads='undef'
    983 use64bitall='undef'
    984 use64bitint='undef'
    985 usecrosscompile='undef'
    986 usedl='define'
    987 usefaststdio='define'
    988 useithreads='undef'
    989 uselargefiles='define'
    990 uselongdouble='undef'
    991 usemallocwrap='define'
    992 usemorebits='undef'
    993 usemultiplicity='undef'
    994 usemymalloc='n'
    995 usenm='false'
    996 useopcode='true'
    997 useperlio='define'
    998 useposix='true'
    999 usereentrant='undef'
    1000 userelocatableinc='undef'
    1001 usesfio='false'
    1002 useshrplib='true'
    1003 usesitecustomize='undef'
    1004 usesocks='undef'
    1005 usethreads='undef'
    1006 usevendorprefix='undef'
    1007 usevfork='false'
    1008 usrinc='/usr/include'
    1009 uuname=''
    1010 uvXUformat='"lX"'
    1011 uvoformat='"lo"'
    1012 uvsize='4'
    1013 uvtype='unsigned long'
    1014 uvuformat='"lu"'
    1015 uvxformat='"lx"'
    1016 vendorarch=''
    1017 vendorarchexp=''
    1018 vendorbin=''
    1019 vendorbinexp=''
    1020 vendorhtml1dir=' '
    1021 vendorhtml1direxp=''
    1022 vendorhtml3dir=' '
    1023 vendorhtml3direxp=''
    1024 vendorlib=''
    1025 vendorlib_stem=''
    1026 vendorlibexp=''
    1027 vendorman1dir=' '
    1028 vendorman1direxp=''
    1029 vendorman3dir=' '
    1030 vendorman3direxp=''
    1031 vendorprefix=''
    1032 vendorprefixexp=''
    1033 vendorscript=''
    1034 vendorscriptexp=''
    1035 version='5.10.0'
    1036 version_patchlevel_string='version 9 subversion 4'
    1037 versiononly='undef'
    1038 vi=''
    1039 voidflags='15'
    1040 xlibpth='/usr/lib/386 /lib/386'
    1041 yacc='yacc'
    1042 yaccflags=''
    1043 zcat=''
    1044 zip='zip'
    1045 # Configure command line arguments.
    1046 config_arg0='Configure'
    1047 config_args=''
    1048 config_argc=0
    1049 PERL_REVISION=5
    1050 PERL_VERSION=9
    1051 PERL_SUBVERSION=4
    1052 PERL_API_REVISION=5
    1053 PERL_API_VERSION=9
    1054 PERL_API_SUBVERSION=0
    1055 PERL_PATCHLEVEL=
    1056 PERL_CONFIG_SH=true
  • Cross/config.sh-x86-linux

    diff -Naur perl-5.10.0.orig/Cross/config.sh-x86-linux perl-5.10.0/Cross/config.sh-x86-linux
    old new  
     1#!/bin/sh
     2#
     3# This file was produced by running the Configure script. It holds all the
     4# definitions figured out by Configure. Should you modify one of these values,
     5# do not forget to propagate your changes by running "Configure -der". You may
     6# instead choose to run each of the .SH files by yourself, or "Configure -S".
     7#
     8
     9
     10Author=''
     11Date='$Date'
     12Header=''
     13Id='$Id'
     14Locker=''
     15Log='$Log'
     16Mcc='Mcc'
     17RCSfile='$RCSfile'
     18Revision='$Revision'
     19Source=''
     20State=''
     21_a='.a'
     22_exe=''
     23_o='.o'
     24afs='false'
     25afsroot='/afs'
     26alignbytes='4'
     27ansi2knr=''
     28aphostname='/bin/hostname'
     29api_revision='5'
     30api_subversion='0'
     31api_version='10'
     32api_versionstring='5.10.0'
     33ar='ar'
     34archlib='/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi'
     35archlibexp='/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi'
     36archname64=''
     37archname='x86_64-linux-thread-multi'
     38archobjs=''
     39asctime_r_proto='REENTRANT_PROTO_B_SB'
     40awk='awk'
     41baserev='5.0'
     42bash=''
     43bin='/usr/bin'
     44binexp='/usr/bin'
     45bison='bison'
     46byacc='byacc'
     47byteorder='1234'
     48c=''
     49castflags='0'
     50cat='cat'
     51cc='cc'
     52cccdlflags='-fPIC'
     53ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/CORE'
     54ccflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
     55ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
     56ccname='gcc'
     57ccsymbols=''
     58ccversion=''
     59cf_by=''
     60cf_email=''
     61cf_time=''
     62chgrp=''
     63chmod='chmod'
     64chown=''
     65clocktype='clock_t'
     66comm='comm'
     67compress=''
     68contains='grep'
     69cp='cp'
     70cpio=''
     71cpp='cpp'
     72cpp_stuff='42'
     73cppccsymbols=''
     74cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include'
     75cpplast='-'
     76cppminus='-'
     77cpprun='cc -E'
     78cppstdin='cc -E'
     79cppsymbols='_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'
     80crypt_r_proto='REENTRANT_PROTO_B_CCS'
     81cryptlib=''
     82csh='csh'
     83ctermid_r_proto='0'
     84ctime_r_proto='REENTRANT_PROTO_B_SB'
     85d_Gconvert='gcvt((x),(n),(b))'
     86d_PRIEUldbl='define'
     87d_PRIFUldbl='define'
     88d_PRIGUldbl='define'
     89d_PRIXU64='define'
     90d_PRId64='define'
     91d_PRIeldbl='define'
     92d_PRIfldbl='define'
     93d_PRIgldbl='define'
     94d_PRIi64='define'
     95d_PRIo64='define'
     96d_PRIu64='define'
     97d_PRIx64='define'
     98d_SCNfldbl='define'
     99d__fwalk='undef'
     100d_access='define'
     101d_accessx='undef'
     102d_aintl='undef'
     103d_alarm='define'
     104d_archlib='define'
     105d_asctime_r='define'
     106d_atolf='undef'
     107d_atoll='define'
     108d_attribute_format='define'
     109d_attribute_malloc='define'
     110d_attribute_nonnull='define'
     111d_attribute_noreturn='define'
     112d_attribute_pure='define'
     113d_attribute_unused='define'
     114d_attribute_warn_unused_result='define'
     115d_bcmp='define'
     116d_bcopy='define'
     117d_bsd='undef'
     118d_bsdgetpgrp='undef'
     119d_bsdsetpgrp='undef'
     120d_builtin_choose_expr='define'
     121d_builtin_expect='undef'
     122d_bzero='define'
     123d_c99_variadic_macros='define'
     124d_casti32='undef'
     125d_castneg='define'
     126d_charvspr='undef'
     127d_chown='define'
     128d_chroot='define'
     129d_chsize='undef'
     130d_class='undef'
     131d_clearenv='define'
     132d_closedir='define'
     133d_cmsghdr_s='define'
     134d_const='define'
     135d_copysignl='define'
     136d_cplusplus='undef'
     137d_crypt='define'
     138d_crypt_r='define'
     139d_csh='undef'
     140d_ctermid='define'
     141d_ctermid_r='undef'
     142d_ctime_r='define'
     143d_cuserid='define'
     144d_dbl_dig='define'
     145d_dbminitproto='undef'
     146d_difftime='define'
     147d_dir_dd_fd='undef'
     148d_dirfd='define'
     149d_dirnamlen='undef'
     150d_dlerror='define'
     151d_dlopen='define'
     152d_dlsymun='undef'
     153d_dosuid='undef'
     154d_drand48_r='define'
     155d_drand48proto='define'
     156d_dup2='define'
     157d_eaccess='define'
     158d_endgrent='define'
     159d_endgrent_r='undef'
     160d_endhent='define'
     161d_endhostent_r='undef'
     162d_endnent='define'
     163d_endnetent_r='undef'
     164d_endpent='define'
     165d_endprotoent_r='undef'
     166d_endpwent='define'
     167d_endpwent_r='undef'
     168d_endsent='define'
     169d_endservent_r='undef'
     170d_eofnblk='define'
     171d_eunice='undef'
     172d_faststdio='undef'
     173d_fchdir='define'
     174d_fchmod='define'
     175d_fchown='define'
     176d_fcntl='define'
     177d_fcntl_can_lock='define'
     178d_fd_macros='define'
     179d_fd_set='define'
     180d_fds_bits='define'
     181d_fgetpos='define'
     182d_finite='define'
     183d_finitel='define'
     184d_flexfnam='define'
     185d_flock='define'
     186d_flockproto='define'
     187d_fork='define'
     188d_fp_class='undef'
     189d_fpathconf='define'
     190d_fpclass='undef'
     191d_fpclassify='undef'
     192d_fpclassl='undef'
     193d_fpos64_t='undef'
     194d_frexpl='define'
     195d_fs_data_s='undef'
     196d_fseeko='define'
     197d_fsetpos='define'
     198d_fstatfs='define'
     199d_fstatvfs='define'
     200d_fsync='define'
     201d_ftello='define'
     202d_ftime='undef'
     203d_futimes='define'
     204d_getcwd='define'
     205d_getespwnam='undef'
     206d_getfsstat='undef'
     207d_getgrent='define'
     208d_getgrent_r='define'
     209d_getgrgid_r='define'
     210d_getgrnam_r='define'
     211d_getgrps='define'
     212d_gethbyaddr='define'
     213d_gethbyname='define'
     214d_gethent='define'
     215d_gethname='define'
     216d_gethostbyaddr_r='define'
     217d_gethostbyname_r='define'
     218d_gethostent_r='define'
     219d_gethostprotos='define'
     220d_getitimer='define'
     221d_getlogin='define'
     222d_getlogin_r='define'
     223d_getmnt='undef'
     224d_getmntent='define'
     225d_getnbyaddr='define'
     226d_getnbyname='define'
     227d_getnent='define'
     228d_getnetbyaddr_r='define'
     229d_getnetbyname_r='define'
     230d_getnetent_r='define'
     231d_getnetprotos='define'
     232d_getpagsz='define'
     233d_getpbyname='define'
     234d_getpbynumber='define'
     235d_getpent='define'
     236d_getpgid='define'
     237d_getpgrp2='undef'
     238d_getpgrp='define'
     239d_getppid='define'
     240d_getprior='define'
     241d_getprotobyname_r='define'
     242d_getprotobynumber_r='define'
     243d_getprotoent_r='define'
     244d_getprotoprotos='define'
     245d_getprpwnam='undef'
     246d_getpwent='define'
     247d_getpwent_r='define'
     248d_getpwnam_r='define'
     249d_getpwuid_r='define'
     250d_getsbyname='define'
     251d_getsbyport='define'
     252d_getsent='define'
     253d_getservbyname_r='define'
     254d_getservbyport_r='define'
     255d_getservent_r='define'
     256d_getservprotos='define'
     257d_getspnam='define'
     258d_getspnam_r='define'
     259d_gettimeod='define'
     260d_gmtime_r='define'
     261d_gnulibc='define'
     262d_grpasswd='define'
     263d_hasmntopt='define'
     264d_htonl='define'
     265d_ilogbl='define'
     266d_inc_version_list='undef'
     267d_index='undef'
     268d_inetaton='define'
     269d_int64_t='define'
     270d_isascii='define'
     271d_isfinite='undef'
     272d_isinf='define'
     273d_isnan='define'
     274d_isnanl='define'
     275d_killpg='define'
     276d_lchown='define'
     277d_ldbl_dig='define'
     278d_libm_lib_version='define'
     279d_link='define'
     280d_localtime_r='define'
     281d_localtime_r_needs_tzset='define'
     282d_locconv='define'
     283d_lockf='define'
     284d_longdbl='define'
     285d_longlong='define'
     286d_lseekproto='define'
     287d_lstat='define'
     288d_madvise='define'
     289d_malloc_good_size='undef'
     290d_malloc_size='undef'
     291d_mblen='define'
     292d_mbstowcs='define'
     293d_mbtowc='define'
     294d_memchr='define'
     295d_memcmp='define'
     296d_memcpy='define'
     297d_memmove='define'
     298d_memset='define'
     299d_mkdir='define'
     300d_mkdtemp='define'
     301d_mkfifo='define'
     302d_mkstemp='define'
     303d_mkstemps='undef'
     304d_mktime='define'
     305d_mmap='define'
     306d_modfl='define'
     307d_modfl_pow32_bug='undef'
     308d_modflproto='define'
     309d_mprotect='define'
     310d_msg='define'
     311d_msg_ctrunc='define'
     312d_msg_dontroute='define'
     313d_msg_oob='define'
     314d_msg_peek='define'
     315d_msg_proxy='define'
     316d_msgctl='define'
     317d_msgget='define'
     318d_msghdr_s='define'
     319d_msgrcv='define'
     320d_msgsnd='define'
     321d_msync='define'
     322d_munmap='define'
     323d_mymalloc='undef'
     324d_nice='define'
     325d_nl_langinfo='define'
     326d_nv_preserves_uv='define'
     327d_nv_zero_is_allbits_zero='define'
     328d_off64_t='define'
     329d_old_pthread_create_joinable='undef'
     330d_oldpthreads='undef'
     331d_oldsock='undef'
     332d_open3='define'
     333d_pathconf='define'
     334d_pause='define'
     335d_perl_otherlibdirs='undef'
     336d_phostname='undef'
     337d_pipe='define'
     338d_poll='define'
     339d_portable='define'
     340d_printf_format_null='define'
     341d_procselfexe='undef'
     342d_pseudofork='undef'
     343d_pthread_atfork='define'
     344d_pthread_attr_setscope='define'
     345d_pthread_yield='define'
     346d_pwage='undef'
     347d_pwchange='undef'
     348d_pwclass='undef'
     349d_pwcomment='undef'
     350d_pwexpire='undef'
     351d_pwgecos='define'
     352d_pwpasswd='define'
     353d_pwquota='undef'
     354d_qgcvt='define'
     355d_quad='define'
     356d_random_r='define'
     357d_readdir64_r='define'
     358d_readdir='define'
     359d_readdir_r='define'
     360d_readlink='define'
     361d_readv='define'
     362d_recvmsg='define'
     363d_rename='define'
     364d_rewinddir='define'
     365d_rmdir='define'
     366d_safebcpy='undef'
     367d_safemcpy='undef'
     368d_sanemcmp='define'
     369d_sbrkproto='define'
     370d_scalbnl='define'
     371d_sched_yield='define'
     372d_scm_rights='define'
     373d_seekdir='define'
     374d_select='define'
     375d_sem='define'
     376d_semctl='define'
     377d_semctl_semid_ds='define'
     378d_semctl_semun='define'
     379d_semget='define'
     380d_semop='define'
     381d_sendmsg='define'
     382d_setegid='define'
     383d_seteuid='define'
     384d_setgrent='define'
     385d_setgrent_r='undef'
     386d_setgrps='define'
     387d_sethent='define'
     388d_sethostent_r='undef'
     389d_setitimer='define'
     390d_setlinebuf='define'
     391d_setlocale='define'
     392d_setlocale_r='undef'
     393d_setnent='define'
     394d_setnetent_r='undef'
     395d_setpent='define'
     396d_setpgid='define'
     397d_setpgrp2='undef'
     398d_setpgrp='define'
     399d_setprior='define'
     400d_setproctitle='undef'
     401d_setprotoent_r='undef'
     402d_setpwent='define'
     403d_setpwent_r='undef'
     404d_setregid='define'
     405d_setresgid='define'
     406d_setresuid='define'
     407d_setreuid='define'
     408d_setrgid='undef'
     409d_setruid='undef'
     410d_setsent='define'
     411d_setservent_r='undef'
     412d_setsid='define'
     413d_setvbuf='define'
     414d_sfio='undef'
     415d_shm='define'
     416d_shmat='define'
     417d_shmatprototype='define'
     418d_shmctl='define'
     419d_shmdt='define'
     420d_shmget='define'
     421d_sigaction='define'
     422d_signbit='define'
     423d_sigprocmask='define'
     424d_sigsetjmp='define'
     425d_sitearch='define'
     426d_snprintf='define'
     427d_sockatmark='define'
     428d_sockatmarkproto='define'
     429d_socket='define'
     430d_socklen_t='define'
     431d_sockpair='define'
     432d_socks5_init='undef'
     433d_sprintf_returns_strlen='define'
     434d_sqrtl='define'
     435d_srand48_r='define'
     436d_srandom_r='define'
     437d_sresgproto='define'
     438d_sresuproto='define'
     439d_statblks='define'
     440d_statfs_f_flags='undef'
     441d_statfs_s='define'
     442d_statvfs='define'
     443d_stdio_cnt_lval='undef'
     444d_stdio_ptr_lval='undef'
     445d_stdio_ptr_lval_nochange_cnt='undef'
     446d_stdio_ptr_lval_sets_cnt='undef'
     447d_stdio_stream_array='undef'
     448d_stdiobase='undef'
     449d_stdstdio='undef'
     450d_strchr='define'
     451d_strcoll='define'
     452d_strctcpy='define'
     453d_strerrm='strerror(e)'
     454d_strerror='define'
     455d_strerror_r='define'
     456d_strftime='define'
     457d_strlcat='undef'
     458d_strlcpy='undef'
     459d_strtod='define'
     460d_strtol='define'
     461d_strtold='define'
     462d_strtoll='define'
     463d_strtoq='define'
     464d_strtoul='define'
     465d_strtoull='define'
     466d_strtouq='define'
     467d_strxfrm='define'
     468d_suidsafe='undef'
     469d_symlink='define'
     470d_syscall='define'
     471d_syscallproto='define'
     472d_sysconf='define'
     473d_sysernlst=''
     474d_syserrlst='define'
     475d_system='define'
     476d_tcgetpgrp='define'
     477d_tcsetpgrp='define'
     478d_telldir='define'
     479d_telldirproto='define'
     480d_time='define'
     481d_times='define'
     482d_tm_tm_gmtoff='define'
     483d_tm_tm_zone='define'
     484d_tmpnam_r='define'
     485d_truncate='define'
     486d_ttyname_r='define'
     487d_tzname='define'
     488d_u32align='undef'
     489d_ualarm='define'
     490d_umask='define'
     491d_uname='define'
     492d_union_semun='undef'
     493d_unordered='undef'
     494d_unsetenv='define'
     495d_usleep='define'
     496d_usleepproto='define'
     497d_ustat='define'
     498d_vendorarch='define'
     499d_vendorbin='define'
     500d_vendorlib='define'
     501d_vendorscript='define'
     502d_vfork='undef'
     503d_void_closedir='undef'
     504d_voidsig='define'
     505d_voidtty=''
     506d_volatile='define'
     507d_vprintf='define'
     508d_vsnprintf='define'
     509d_wait4='define'
     510d_waitpid='define'
     511d_wcstombs='define'
     512d_wctomb='define'
     513d_writev='define'
     514d_xenix='undef'
     515date='date'
     516db_hashtype='u_int32_t'
     517db_prefixtype='size_t'
     518db_version_major=''
     519db_version_minor=''
     520db_version_patch=''
     521defvoidused='15'
     522direntrytype='struct dirent'
     523dlext='so'
     524dlsrc='dl_dlopen.xs'
     525doublesize='8'
     526drand01='drand48()'
     527drand48_r_proto='REENTRANT_PROTO_I_ST'
     528dynamic_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'
     529eagain='EAGAIN'
     530ebcdic='undef'
     531echo='echo'
     532egrep='egrep'
     533emacs=''
     534endgrent_r_proto='0'
     535endhostent_r_proto='0'
     536endnetent_r_proto='0'
     537endprotoent_r_proto='0'
     538endpwent_r_proto='0'
     539endservent_r_proto='0'
     540eunicefix=':'
     541exe_ext=''
     542expr='expr'
     543extensions='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'
     544extras=''
     545fflushNULL='define'
     546fflushall='undef'
     547find=''
     548firstmakefile='makefile'
     549flex=''
     550fpossize='16'
     551fpostype='fpos_t'
     552freetype='void'
     553from=':'
     554full_ar='/usr/bin/ar'
     555full_csh='csh'
     556full_sed='/bin/sed'
     557gccansipedantic=''
     558gccosandvers=''
     559gccversion='4.3.3'
     560getgrent_r_proto='REENTRANT_PROTO_I_SBWR'
     561getgrgid_r_proto='REENTRANT_PROTO_I_TSBWR'
     562getgrnam_r_proto='REENTRANT_PROTO_I_CSBWR'
     563gethostbyaddr_r_proto='REENTRANT_PROTO_I_TsISBWRE'
     564gethostbyname_r_proto='REENTRANT_PROTO_I_CSBWRE'
     565gethostent_r_proto='REENTRANT_PROTO_I_SBWRE'
     566getlogin_r_proto='REENTRANT_PROTO_I_BW'
     567getnetbyaddr_r_proto='REENTRANT_PROTO_I_uISBWRE'
     568getnetbyname_r_proto='REENTRANT_PROTO_I_CSBWRE'
     569getnetent_r_proto='REENTRANT_PROTO_I_SBWRE'
     570getprotobyname_r_proto='REENTRANT_PROTO_I_CSBWR'
     571getprotobynumber_r_proto='REENTRANT_PROTO_I_ISBWR'
     572getprotoent_r_proto='REENTRANT_PROTO_I_SBWR'
     573getpwent_r_proto='REENTRANT_PROTO_I_SBWR'
     574getpwnam_r_proto='REENTRANT_PROTO_I_CSBWR'
     575getpwuid_r_proto='REENTRANT_PROTO_I_TSBWR'
     576getservbyname_r_proto='REENTRANT_PROTO_I_CCSBWR'
     577getservbyport_r_proto='REENTRANT_PROTO_I_ICSBWR'
     578getservent_r_proto='REENTRANT_PROTO_I_SBWR'
     579getspnam_r_proto='REENTRANT_PROTO_I_CSBWR'
     580gidformat='"lu"'
     581gidsign='1'
     582gidsize='4'
     583gidtype='gid_t'
     584glibpth='/usr/shlib  /lib /usr/lib /usr/lib/386 /lib/386 /usr/ccs/lib /usr/ucblib /usr/local/lib '
     585gmake='gmake'
     586gmtime_r_proto='REENTRANT_PROTO_S_TS'
     587gnulibc_version='2.9'
     588grep='grep'
     589groupcat='cat /etc/group'
     590groupstype='gid_t'
     591gzip='gzip'
     592h_fcntl='false'
     593h_sysfile='true'
     594hint='recommended'
     595hostcat='cat /etc/hosts'
     596html1dir=' '
     597html1direxp=''
     598html3dir=' '
     599html3direxp=''
     600i16size='2'
     601i16type='short'
     602i32size='4'
     603i32type='long'
     604i64size='8'
     605i64type='long long'
     606i8size='1'
     607i8type='char'
     608i_arpainet='define'
     609i_bsdioctl=''
     610i_crypt='define'
     611i_db='undef'
     612i_dbm='undef'
     613i_dirent='define'
     614i_dld='undef'
     615i_dlfcn='define'
     616i_fcntl='undef'
     617i_float='define'
     618i_fp='undef'
     619i_fp_class='undef'
     620i_gdbm='undef'
     621i_grp='define'
     622i_ieeefp='undef'
     623i_inttypes='define'
     624i_langinfo='define'
     625i_libutil='undef'
     626i_limits='define'
     627i_locale='define'
     628i_machcthr='undef'
     629i_malloc='define'
     630i_math='define'
     631i_memory='undef'
     632i_mntent='define'
     633i_ndbm='undef'
     634i_netdb='define'
     635i_neterrno='undef'
     636i_netinettcp='define'
     637i_niin='define'
     638i_poll='define'
     639i_prot='undef'
     640i_pthread='define'
     641i_pwd='define'
     642i_rpcsvcdbm='undef'
     643i_sfio='undef'
     644i_sgtty='undef'
     645i_shadow='define'
     646i_socks='undef'
     647i_stdarg='define'
     648i_stddef='define'
     649i_stdlib='define'
     650i_string='define'
     651i_sunmath='undef'
     652i_sysaccess='undef'
     653i_sysdir='define'
     654i_sysfile='define'
     655i_sysfilio='undef'
     656i_sysin='undef'
     657i_sysioctl='define'
     658i_syslog='define'
     659i_sysmman='define'
     660i_sysmode='undef'
     661i_sysmount='define'
     662i_sysndir='undef'
     663i_sysparam='define'
     664i_sysresrc='define'
     665i_syssecrt='undef'
     666i_sysselct='define'
     667i_syssockio='undef'
     668i_sysstat='define'
     669i_sysstatfs='define'
     670i_sysstatvfs='define'
     671i_systime='define'
     672i_systimek='undef'
     673i_systimes='define'
     674i_systypes='define'
     675i_sysuio='define'
     676i_sysun='define'
     677i_sysutsname='define'
     678i_sysvfs='define'
     679i_syswait='define'
     680i_termio='undef'
     681i_termios='define'
     682i_time='define'
     683i_unistd='define'
     684i_ustat='define'
     685i_utime='define'
     686i_values='define'
     687i_varargs='undef'
     688i_varhdr='stdarg.h'
     689i_vfork='undef'
     690ignore_versioned_solibs='y'
     691inc_version_list=' '
     692inc_version_list_init='0'
     693incpath=''
     694inews=''
     695initialinstalllocation='/usr/bin'
     696installarchlib='/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi'
     697installbin='/usr/bin'
     698installhtml1dir=''
     699installhtml3dir=''
     700installman1dir='/usr/share/man/man1'
     701installman3dir='/usr/share/man/man3'
     702installprefix='/usr'
     703installprefixexp='/usr'
     704installprivlib='/usr/lib/perl5/5.10.0'
     705installscript='/usr/bin'
     706installsitearch='/usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi'
     707installsitebin='/usr/bin'
     708installsitehtml1dir=''
     709installsitehtml3dir=''
     710installsitelib='/usr/lib/perl5/site_perl/5.10.0'
     711installsiteman1dir='/usr/share/man/man1'
     712installsiteman3dir='/usr/share/man/man3'
     713installsitescript='/usr/bin'
     714installstyle='lib/perl5'
     715installusrbinperl='undef'
     716installvendorarch='/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi'
     717installvendorbin='/usr/bin'
     718installvendorhtml1dir=''
     719installvendorhtml3dir=''
     720installvendorlib='/usr/lib/perl5/vendor_perl/5.10.0'
     721installvendorman1dir='/usr/share/man/man1'
     722installvendorman3dir='/usr/share/man/man3'
     723installvendorscript='/usr/bin'
     724intsize='4'
     725issymlink='test -h'
     726ivdformat='"ld"'
     727ivsize='4'
     728ivtype='long'
     729known_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'
     730ksh=''
     731ld='cc'
     732lddlflags='-shared -O2 -L/usr/local/lib'
     733ldflags=' -L/usr/local/lib'
     734ldflags_uselargefiles=''
     735ldlibpthname='LD_LIBRARY_PATH'
     736less='less'
     737lib_ext='.a'
     738libc='/lib/libc-2.9.so'
     739libperl='libperl.so'
     740libpth='/usr/local/lib /lib /usr/lib'
     741libs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc'
     742libsdirs=' /usr/lib'
     743libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libpthread.so libc.so'
     744libsfound=' /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'
     745libspath=' /usr/local/lib /lib /usr/lib'
     746libswanted='sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util pthread c cposix posix ucb BSD'
     747libswanted_uselargefiles=''
     748line=''
     749lint=''
     750lkflags=''
     751ln='ln'
     752lns='/bin/ln -s'
     753localtime_r_proto='REENTRANT_PROTO_S_TS'
     754locincpth='/usr/local/include /opt/local/include /usr/gnu/include /opt/gnu/include /usr/GNU/include /opt/GNU/include'
     755loclibpth='/usr/local/lib /opt/local/lib /usr/gnu/lib /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib'
     756longdblsize='12'
     757longlongsize='8'
     758longsize='4'
     759lp=''
     760lpr=''
     761ls='ls'
     762lseeksize='8'
     763lseektype='off_t'
     764mad='undef'
     765madlyh=''
     766madlyobj=''
     767madlysrc=''
     768mail=''
     769mailx=''
     770make='make'
     771make_set_make='#'
     772mallocobj=''
     773mallocsrc=''
     774malloctype='void *'
     775man1dir='/usr/share/man/man1'
     776man1direxp='/usr/share/man/man1'
     777man1ext='1'
     778man3dir='/usr/share/man/man3'
     779man3direxp='/usr/share/man/man3'
     780man3ext='3'
     781mips_type=''
     782mistrustnm=''
     783mkdir='mkdir'
     784mmaptype='void *'
     785modetype='mode_t'
     786more='more'
     787multiarch='undef'
     788mv=''
     789myarchname='x86_64-linux'
     790mydomain=''
     791myhostname=''
     792myuname=''
     793n='-n'
     794need_va_copy='undef'
     795netdb_hlen_type='size_t'
     796netdb_host_type='const void *'
     797netdb_name_type='const char *'
     798netdb_net_type='in_addr_t'
     799nm='nm'
     800nm_opt=''
     801nm_so_opt='--dynamic'
     802nonxs_ext='Compress/Zlib Errno IO_Compress_Base IO_Compress_Zlib'
     803nroff='nroff'
     804nvEUformat='"E"'
     805nvFUformat='"F"'
     806nvGUformat='"G"'
     807nv_preserves_uv_bits='32'
     808nveformat='"e"'
     809nvfformat='"f"'
     810nvgformat='"g"'
     811nvsize='8'
     812nvtype='double'
     813o_nonblock='O_NONBLOCK'
     814obj_ext='.o'
     815old_pthread_create_joinable=''
     816optimize='-O2'
     817orderlib='false'
     818osname='linux'
     819osvers='2.6.27.10-r4'
     820otherlibdirs=' '
     821package='perl5'
     822pager='/bin/less -isR'
     823passcat='cat /etc/passwd'
     824patchlevel='10'
     825path_sep=':'
     826perl5=''
     827perl=''
     828perl_patchlevel=''
     829perladmin=''
     830perllibs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc'
     831perlpath='/usr/bin/perl'
     832pg='pg'
     833phostname='hostname'
     834pidtype='pid_t'
     835plibpth=''
     836pmake=''
     837pr=''
     838prefix='/usr'
     839prefixexp='/usr'
     840privlib='/usr/lib/perl5/5.10.0'
     841privlibexp='/usr/lib/perl5/5.10.0'
     842procselfexe=''
     843prototype='define'
     844ptrsize='4'
     845quadkind='3'
     846quadtype='long long'
     847randbits='48'
     848randfunc='drand48'
     849random_r_proto='REENTRANT_PROTO_I_St'
     850randseedtype='long'
     851ranlib=':'
     852rd_nodata='-1'
     853readdir64_r_proto='REENTRANT_PROTO_I_TSR'
     854readdir_r_proto='REENTRANT_PROTO_I_TSR'
     855revision='5'
     856rm='rm'
     857rm_try='/bin/rm -f try try a.out .out try.[cho] try..o core core.try* try.core*'
     858rmail=''
     859run=''
     860runnm='false'
     861sPRIEUldbl='"LE"'
     862sPRIFUldbl='"LF"'
     863sPRIGUldbl='"LG"'
     864sPRIXU64='"LX"'
     865sPRId64='"Ld"'
     866sPRIeldbl='"Le"'
     867sPRIfldbl='"Lf"'
     868sPRIgldbl='"Lg"'
     869sPRIi64='"Li"'
     870sPRIo64='"Lo"'
     871sPRIu64='"Lu"'
     872sPRIx64='"Lx"'
     873sSCNfldbl='"Lf"'
     874sched_yield='sched_yield()'
     875scriptdir='/usr/bin'
     876scriptdirexp='/usr/bin'
     877sed='sed'
     878seedfunc='srand48'
     879selectminbits='32'
     880selecttype='fd_set *'
     881sendmail=''
     882setgrent_r_proto='0'
     883sethostent_r_proto='0'
     884setlocale_r_proto='0'
     885setnetent_r_proto='0'
     886setprotoent_r_proto='0'
     887setpwent_r_proto='0'
     888setservent_r_proto='0'
     889sh='/bin/sh'
     890shar=''
     891sharpbang='#!'
     892shmattype='void *'
     893shortsize='2'
     894shrpenv=''
     895shsharp='true'
     896sig_count='65'
     897sig_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 '
     898sig_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'
     899sig_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 '
     900sig_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'
     901sig_size='69'
     902signal_t='void'
     903sitearch='/usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi'
     904sitearchexp='/usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi'
     905sitebin='/usr/bin'
     906sitebinexp='/usr/bin'
     907sitehtml1dir=''
     908sitehtml1direxp=''
     909sitehtml3dir=''
     910sitehtml3direxp=''
     911sitelib='/usr/lib/perl5/site_perl/5.10.0'
     912sitelib_stem='/usr/lib/perl5/site_perl'
     913sitelibexp='/usr/lib/perl5/site_perl/5.10.0'
     914siteman1dir='/usr/share/man/man1'
     915siteman1direxp='/usr/share/man/man1'
     916siteman3dir='/usr/share/man/man3'
     917siteman3direxp='/usr/share/man/man3'
     918siteprefix='/usr'
     919siteprefixexp='/usr'
     920sitescript='/usr/bin'
     921sitescriptexp='/usr/bin'
     922sizesize='4'
     923sizetype='size_t'
     924sleep=''
     925smail=''
     926so='so'
     927sockethdr=''
     928socketlib=''
     929socksizetype='socklen_t'
     930sort='sort'
     931spackage='Perl5'
     932spitshell='cat'
     933srand48_r_proto='REENTRANT_PROTO_I_LS'
     934srandom_r_proto='REENTRANT_PROTO_I_TS'
     935src='.'
     936ssizetype='ssize_t'
     937startperl='#!/usr/bin/perl'
     938startsh='#!/bin/sh'
     939static_ext=' '
     940stdchar='char'
     941stdio_base='((fp)->_IO_read_base)'
     942stdio_bufsiz='((fp)->_IO_read_end - (fp)->_IO_read_base)'
     943stdio_cnt='((fp)->_IO_read_end - (fp)->_IO_read_ptr)'
     944stdio_filbuf=''
     945stdio_ptr='((fp)->_IO_read_ptr)'
     946stdio_stream_array=''
     947strerror_r_proto='REENTRANT_PROTO_B_IBW'
     948strings='/usr/include/string.h'
     949submit=''
     950subversion='0'
     951sysman='/usr/share/man/man1'
     952tail=''
     953tar=''
     954targetarch=''
     955tbl=''
     956tee=''
     957test='test'
     958timeincl='/usr/include/sys/time.h /usr/include/time.h '
     959timetype='time_t'
     960tmpnam_r_proto='REENTRANT_PROTO_B_B'
     961to=':'
     962touch='touch'
     963tr='tr'
     964trnl='\n'
     965troff=''
     966ttyname_r_proto='REENTRANT_PROTO_I_IBW'
     967u16size='2'
     968u16type='unsigned short'
     969u32size='4'
     970u32type='unsigned long'
     971u64size='8'
     972u64type='unsigned long long'
     973u8size='1'
     974u8type='unsigned char'
     975uidformat='"lu"'
     976uidsign='1'
     977uidsize='4'
     978uidtype='uid_t'
     979uname='uname'
     980uniq='uniq'
     981uquadtype='unsigned long long'
     982use5005threads='undef'
     983use64bitall='undef'
     984use64bitint='undef'
     985usecrosscompile='undef'
     986usedl='define'
     987usefaststdio='undef'
     988useithreads='define'
     989uselargefiles='define'
     990uselongdouble='undef'
     991usemallocwrap='define'
     992usemorebits='undef'
     993usemultiplicity='define'
     994usemymalloc='n'
     995usenm='false'
     996useopcode='true'
     997useperlio='define'
     998useposix='true'
     999usereentrant='undef'
     1000userelocatableinc='undef'
     1001usesfio='false'
     1002useshrplib='true'
     1003usesitecustomize='undef'
     1004usesocks='undef'
     1005usethreads='define'
     1006usevendorprefix='define'
     1007usevfork='false'
     1008usrinc='/usr/include'
     1009uuname=''
     1010uvXUformat='"lX"'
     1011uvoformat='"lo"'
     1012uvsize='4'
     1013uvtype='unsigned long'
     1014uvuformat='"lu"'
     1015uvxformat='"lx"'
     1016vendorarch='/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi'
     1017vendorarchexp='/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi'
     1018vendorbin='/usr/bin'
     1019vendorbinexp='/usr/bin'
     1020vendorhtml1dir=' '
     1021vendorhtml1direxp=''
     1022vendorhtml3dir=' '
     1023vendorhtml3direxp=''
     1024vendorlib='/usr/lib/perl5/vendor_perl/5.10.0'
     1025vendorlib_stem='/usr/lib/perl5/vendor_perl'
     1026vendorlibexp='/usr/lib/perl5/vendor_perl/5.10.0'
     1027vendorman1dir='/usr/share/man/man1'
     1028vendorman1direxp='/usr/share/man/man1'
     1029vendorman3dir='/usr/share/man/man3'
     1030vendorman3direxp='/usr/share/man/man3'
     1031vendorprefix='/usr'
     1032vendorprefixexp='/usr'
     1033vendorscript='/usr/bin'
     1034vendorscriptexp='/usr/bin'
     1035version='5.10.0'
     1036version_patchlevel_string='version 10 subversion 0'
     1037versiononly='undef'
     1038vi=''
     1039voidflags='15'
     1040xlibpth='/usr/lib/386 /lib/386'
     1041yacc='yacc'
     1042yaccflags=''
     1043zcat=''
     1044zip='zip'
     1045# Configure command line arguments.
     1046config_arg0='Configure'
     1047config_args='-ds -e -Dprefix=/usr -Dvendorprefix=/usr -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dpager=/bin/less -isR -Dusethreads -Duseshrplib'
     1048config_argc=9
     1049config_arg1='-ds'
     1050config_arg2='-e'
     1051config_arg3='-Dprefix=/usr'
     1052config_arg4='-Dvendorprefix=/usr'
     1053config_arg5='-Dman1dir=/usr/share/man/man1'
     1054config_arg6='-Dman3dir=/usr/share/man/man3'
     1055config_arg7='-Dpager=/bin/less -isR'
     1056config_arg8='-Dusethreads'
     1057config_arg9='-Duseshrplib'
     1058PERL_REVISION=5
     1059PERL_VERSION=10
     1060PERL_SUBVERSION=0
     1061PERL_API_REVISION=5
     1062PERL_API_VERSION=10
     1063PERL_API_SUBVERSION=0
     1064PERL_PATCHLEVEL=
     1065PERL_CONFIG_SH=true
     1066# Variables propagated from previous config.sh file.
     1067libdb_needs_pthread='N'
  • Cross/generate_config_sh

    diff -Naur perl-5.10.0.orig/Cross/generate_config_sh perl-5.10.0/Cross/generate_config_sh
    old new  
    1 #!/usr/bin/perl
    2 
    3 ##############################################################################
    4 #
    5 #       generate_config_sh
    6 #               Process that takes an automatically generated config.sh
    7 #               file and allows the environment to overload the values
    8 #               automatically discovered by Configure on our target platform.
    9 #
    10 #       Author  Redvers Davies <red@criticalintegration.com>
    11 #
    12 ##############################################################################
    13 
    14 my $config = shift;
    15 
    16 my $sys = $ENV{SYS};
    17 
    18 my $callbacks = {};
    19 $callbacks->{'ar'} = [\&simple_process, ["AR", "arm-linux-ar"]];
    20 $callbacks->{'archname'} = [\&simple_process, ["SYS", "armv4l-linux"]];
    21 $callbacks->{'cc'} = [\&simple_process, ["CC", "arm-linux-gcc"]];
    22 $callbacks->{'cccdlflags'} = [\&simple_process, ["CFLAGS", ""]];
    23 $callbacks->{'ccdlflags'} = [\&simple_process, ["CFLAGS", ""]];
    24 $callbacks->{'ccflags'} = [\&simple_process, ["CFLAGS", "-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"]];
    25 $callbacks->{'ccflags_uselargefiles'} = [\&simple_process, ["CFLAGS", "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"]];
    26 $callbacks->{'ccname'} = [\&simple_process, ["CC", "arm-linux-gcc"]];
    27 $callbacks->{'cpp'} = [\&simple_process, ["CCP", "arm-linux-cpp"]];
    28 $callbacks->{'cppflags'} = [\&simple_process, ["CCPFLAGS", "-fno-strict-aliasing"]];
    29 $callbacks->{'cpprun'} = [\&simple_process_append, ["CC", "arm-linux-gcc -E", "-E"]];
    30 $callbacks->{'cppstdin'} = [\&simple_process_append, ["CC", "arm-linux-gcc -E", "-E"]];
    31 $callbacks->{'full_ar'} = [\&backtick, ["AR", "which $ENV{AR}", "/usr/local/arm/2.95.3/bin/arm-linux-ar"]];
    32 $callbacks->{'ld'} = [\&simple_process, ["LD", "arm-linux-ld"]];
    33 $callbacks->{'ldflags'} = [\&simple_process, ["LDFLAGS", ""]];
    34 $callbacks->{'ldflags_uselargefiles'} = [\&simple_process, ["LDFLAGS", ""]];
    35 $callbacks->{'myarchname'} = [\&simple_process, ["SYS", "armv4l-linux"]];
    36 $callbacks->{'archlib'} = [\&library_munge, ["SYS", "armv4l-linux"]];
    37 $callbacks->{'archlibexp'} = [\&library_munge, ["SYS", "armv4l-linux"]];
    38 $callbacks->{'installarchlib'} = [\&library_munge, ["SYS", "armv4l-linux"]];
    39 $callbacks->{'installsitearch'} = [\&library_munge, ["SYS", "armv4l-linux"]];
    40 $callbacks->{'sitearch'} = [\&library_munge, ["SYS", "armv4l-linux"]];
    41 $callbacks->{'sitearchexp'} = [\&library_munge, ["SYS", "armv4l-linux"]];
    42 
    43 if ($config eq "") {
    44         die("Please run me as generate_config_sh path/to/original/config.sh");
    45 }
    46 
    47 open(FILE, "$config") || die("Unable to open $config");
    48 
    49 my $line_in;
    50 while ($line_in = <FILE>) {
    51         if ($line_in =~ /^#/) {
    52                 next;
    53         }
    54 
    55         if ($line_in !~ /./) {
    56                 next;
    57         }
    58 
    59         $line_in =~ /^([^=]+)=(.*)/;
    60         my $key = $1;
    61         my $value = $2;
    62         if (ref($callbacks->{$key}) eq "ARRAY") {
    63                 ($callbacks->{$key}[0])->($key,$value);
    64         } else {
    65                 print($line_in);
    66         }
    67 }
    68 
    69 sub backtick {
    70         my $key = shift;
    71         my $value = shift;
    72         my $envvar = $callbacks->{$key}->[1][0];
    73 
    74         if ($ENV{$envvar}) {
    75                 my $rawtext = `$callbacks->{$key}->[1][1]`;
    76                 chomp($rawtext);
    77                 print("$key=\'$rawtext\'\n");
    78         } else {
    79                 print("$key=\'$callbacks->{$key}->[1][2]\'\n");
    80         }
    81 }
    82        
    83 
    84 sub simple_process {
    85         my $key = shift;
    86         my $envvar = $callbacks->{$key}->[1][0];
    87 
    88         if ($ENV{$envvar}) {
    89                 print("$key=\"$ENV{$envvar}\"\n");
    90         } else {
    91                 print("$key=\'$callbacks->{$key}->[1][1]\'\n");
    92         }
    93 
    94 }
    95 
    96 sub simple_process_append {
    97         my $key = shift;
    98         my $envvar = $callbacks->{$key}->[1][0];
    99 
    100         if ($ENV{$envvar}) {
    101                 print("$key=\"$ENV{$envvar} $callbacks->{$key}->[1][2]\"\n");
    102         } else {
    103                 print("$key=\'$callbacks->{$key}->[1][1]\'\n");
    104         }
    105 
    106 }
    107 
    108 sub library_munge {
    109         my $key = shift;
    110         my $value = shift;
    111         my $envvar = $callbacks->{$key}->[1][0];
    112 
    113         if ($ENV{$envvar}) {
    114                 $value =~ s/$callbacks->{$key}->[1][1]/$ENV{$envvar}/g;
    115                 print("$key=$value\n");
    116         } else {
    117                 print("$key=$value\n");
    118         }
    119                
    120 }
    121 
    122 
    123 
    124 
    125 
    126 
    127 
    128 
    129 
    130 
    131 
    132 
  • Cross/installperl.patch

    diff -Naur perl-5.10.0.orig/Cross/installperl.patch perl-5.10.0/Cross/installperl.patch
    old new  
    1 --- ../installperl      2003-08-31 11:58:48.000000000 -0500
    2 +++ installperl 2003-09-05 02:38:40.000000000 -0500
    3 @@ -3,8 +3,8 @@
    4  BEGIN {
    5      require 5.004;
    6      chdir '..' if !-d 'lib' and -d '../lib';
    7 -    @INC = 'lib';
    8 -    $ENV{PERL5LIB} = 'lib';
    9 +#    @INC = 'lib';
    10 +#    $ENV{PERL5LIB} = 'lib';
    11  }
    12  
    13  use strict;
    14 @@ -946,7 +946,7 @@
    15                 print " " if (@opts);
    16                 print "$file\n";
    17             }
    18 -           system("strip", @opts, $file);
    19 +           system("XXSTRIPXX-strip", @opts, $file);
    20         } else {
    21             print "# file '$file' skipped\n" if $verbose;
    22         }
  • Cross/Makefile

    diff -Naur perl-5.10.0.orig/Cross/Makefile perl-5.10.0/Cross/Makefile
    old new  
    1 ## Toplevel Makefile for cross-compilation of perl
    2 #
    3 ## $Id: Makefile,v 1.5 2003/12/12 00:48:19 red Exp red $
    4 
    5 export TOPDIR=${shell pwd}
    6 include $(TOPDIR)/config
    7 export CFLAGS
    8 export SYS=$(ARCH)-$(OS)
    9 export CROSS=$(ARCH)-$(OS)-
    10 export FULL_OPTIMIZATION = -fexpensive-optimizations -fomit-frame-pointer -O2
    11 export OPTIMIZATION = -O2
    12 
    13 export CC = $(CROSS)gcc
    14 export CXX = $(CROSS)g++
    15 export LD = $(CROSS)ld
    16 export STRIP = $(CROSS)strip
    17 export AR = $(CROSS)ar
    18 export RANLIB = $(CROSS)ranlib
    19 
    20 
    21 ## Optimisation work
    22 ifeq ($(ARCH),arm)
    23  ifdef CONFIG_TARGET_ARM_SA11X0
    24    ifndef Architecture
    25      Architecture = armv4l-strongarm
    26    endif
    27    FULL_OPTIMIZATION += -march=armv4 -mtune=strongarm1100 -mapcs-32
    28    OPTIMIZATION += -march=armv4 -mtune=strongarm1100 -mapcs-32
    29  endif
    30 endif
    31 
    32 CFLAGS+=$(FULL_OPTIMIZATION)
    33 
    34 all:
    35         @echo Please read the README file before doing anything else.
    36 
    37 gen_patch:
    38         diff -Bbur ../Makefile.SH Makefile.SH > Makefile.SH.patch
    39         diff -Bbur ../installperl installperl > installperl.patch
    40 
    41 patch:
    42         cd .. ; if [ ! -e ./CROSS_PATCHED ] ; then \
    43                 patch -p1 < Cross/Makefile.SH.patch; \
    44                 patch -p1 < Cross/installperl.patch ; mv installperl installperl-patched; \
    45                 sed -e 's/XXSTRIPXX/$(SYS)/' installperl-patched > installperl; \
    46                 touch CROSS_PATCHED ; fi
    47 
    48 perl:
    49         @echo Perl cross-build directory is $(TOPDIR)
    50         @echo Target arch is $(SYS)
    51         @echo toolchain: $(CC), $(CXX), $(LD), $(STRIP), $(AR), $(RANLIB)
    52         @echo Optimizations: $(FULL_OPTIMIZATION)
    53 
    54         $(TOPDIR)/generate_config_sh config.sh-$(SYS) > $(TOPDIR)/../config.sh
    55         cd $(TOPDIR)/.. ; ./Configure -S ; make depend ; make ; make more
    56         cd $(TOPDIR)/.. ; mkdir -p fake_config_library ; cp lib/Config.pm lib/Config_heavy.pl fake_config_library
    57         cd $(TOPDIR)/.. ; $(MAKE) more2 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig"
    58         cd $(TOPDIR)/.. ; $(MAKE) more3 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig"
    59         cd $(TOPDIR)/.. ; $(MAKE) more4 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig"
    60         cd $(TOPDIR)/.. ; rm -rf install_me_here
    61         cd $(TOPDIR)/.. ; make install-strip
    62         cd $(TOPDIR)/.. ; sh -x Cross/warp
     1PWD             := $(shell pwd)
     2TOP             := $(shell dirname $(PWD))
    633
     4VERSION         := $(shell awk '/define[ ]PERL_REVISION/ {printf $$3"."} /define[ ]PERL_VERSION/ {printf $$3"."} /define[ ]PERL_SUBVERSION/ {print $$3}' $(TOP)/patchlevel.h)
    645
     6CROSS_COMPILE   := arm-unknown-linux-gnu-
     7
     8ARCH            := arm
     9OS              := linux
     10
     11SYS             := $(ARCH)-$(OS)
     12
     13AR              := $(CROSS_COMPILE)ar
     14CC              := $(CROSS_COMPILE)gcc
     15CXX             := $(CROSS_COMPILE)g++
     16CPP             := $(CROSS_COMPILE)cpp
     17LD              := $(CROSS_COMPILE)gcc
     18RANLIB          := $(CROSS_COMPILE)ranlib
     19STRIP           := $(CROSS_COMPILE)strip
     20
     21ARCHNAME        := $(SYS)-thread-multi
     22MYARCHNAME      := $(SYS)
     23
     24HOSTNAME        := none
     25DOMAIN          := .nonet
     26CFBY            := root
     27EMAIL           := $(CFBY)@$(HOSTNAME)$(DOMAIN)
     28UNAME           :=
     29CFTIME          :=
     30
     31.PHONY: all install create-config.sh
     32
     33all: $(TOP)/miniperl-cross
     34        # Do the final build
     35        $(MAKE) create-config.sh
     36        cd $(TOP); ./Configure -S
     37        $(MAKE) -C $(TOP)
     38
     39$(TOP)/miniperl-cross:
     40        cd $(TOP); CC=gcc ./configure.gnu
     41
     42        # Make miniperl
     43        $(MAKE) -C $(TOP) miniperl
     44        mv -v $(TOP)/miniperl $(TOP)/miniperl-cross
     45        $(MAKE) -C $(TOP) clean
     46
     47install:
     48        $(MAKE) -C $(TOP) install
     49
     50create-config.sh:
     51        sed -e "s@\(^archname=\).*@\1'$(ARCHNAME)'@g" \
     52            -e "s@\(^myarchname=\).*@\1'$(MYARCHNAME)'@g" \
     53            -e "s@\(^ar=\).*@\1'$(AR)'@g" \
     54            -e "s@\(^cc=\).*@\1'$(CC)'@g" \
     55            -e "s@\(^ccname=\).*@\1'$(CC)'@g" \
     56            -e "s@\(^cpp=\).*@\1'$(CPP)'@g" \
     57            -e "s@\(^cpprun=\).*@\1'$(CC) -E'@g" \
     58            -e "s@\(^cppstdin=\).*@\1'$(CC) -E'@g" \
     59            -e "s@\(^ld=\).*@\1'$(LD)'@g" \
     60            -e "s@\(^ranlib=\).*@\1'$(RANLIB)'@g" \
     61            -e "s@\(^full_ar=\).*@\1'$(shell which $(AR))'@g" \
     62            -e "s@\(^full_sed=\).*@\1'$(shell which sed)'@g" \
     63            -e "s@\(^ccdlflags=\).*@\1'-Wl,-E -Wl,-rpath,/usr/lib/perl5/$(VERSION)/$(ARCHNAME)/CORE'@g" \
     64            -e "/^ccflags=/s@-I/usr/local/include@@g" \
     65            -e "/^cppflags=/s@-I/usr/local/include@@g" \
     66            -e "/^ldflags=/s@-L/usr/local/lib@@g" \
     67            -e "/^lddlflags=/s@-L/usr/local/lib@@g" \
     68            -e "/^archlib=/s@$(VERSION).*@$(VERSION)/$(ARCHNAME)'@" \
     69            -e "/^archlibexp=/s@$(VERSION).*@$(VERSION)/$(ARCHNAME)'@" \
     70            -e "/^installarchlib=/s@$(VERSION).*@$(VERSION)/$(ARCHNAME)'@" \
     71            -e "/^installsitearch=/s@$(VERSION).*@$(VERSION)/$(ARCHNAME)'@" \
     72            -e "/^installvendorarch=/s@$(VERSION).*@$(VERSION)/$(ARCHNAME)'@" \
     73            -e "/^sitearch/s@$(VERSION).*@$(VERSION)/$(ARCHNAME)'@" \
     74            -e "/^sitearchexp/s@$(VERSION).*@$(VERSION)/$(ARCHNAME)'@" \
     75            -e "/^vendorarch/s@$(VERSION).*@$(VERSION)/$(ARCHNAME)'@" \
     76            -e "/^vendorarchexp/s@$(VERSION).*@$(VERSION)/$(ARCHNAME)'@" \
     77            -e "s@\(^myhostname=\).*@\1'$(HOSTNAME)'@g" \
     78            -e "s@\(^mydomain=\).*@\1'$(DOMAIN)'@g" \
     79            -e "s@\(^cf_by=\).*@\1'$(CFBY)'@g" \
     80            -e "s|\(^cf_email=\).*|\1'$(EMAIL)'|g" \
     81            -e "s|\(^perladmin=\).*|\1'$(EMAIL)'|g" \
     82            -e "s@\(^myuname=\).*@\1'$(UNAME)'@g" \
     83            -e "s@\(^cf_time=\).*@\1'$(CFTIME)'@g" \
     84            $(PWD)/config.sh-$(SYS) > $(TOP)/config.sh
  • Cross/Makefile-cross-SH

    diff -Naur perl-5.10.0.orig/Cross/Makefile-cross-SH perl-5.10.0/Cross/Makefile-cross-SH
    old new  
    1 #! /bin/sh
    2 
    3 # This file is used to create generic Makefile for cross-compile
    4 # (borrowed from Makefile.SH)
    5 # (now only small changes are done to establish cross-compilation)
    6 # miniperl removed from here, as this is built on HOST
    7 
    8 Makefile=Makefile-cross-$CROSS_NAME
    9 
    10 . Cross/config-${CROSS_NAME}.sh
    11 
    12 # H.Merijn Brand [17 Feb 2004]
    13 # This comment is just to ensure that Configure will find variables that
    14 # are removed/replaced in patches on blead, but are still needed in the
    15 # 5.8.x, 5.6.x and 5.005.x maintainance tracks.
    16 # metaconfig -m will scan all .SH files on this level (not deeper), and
    17 # not in x2p and other subfolders. This file is as good as any .SH
    18 # patch   references
    19 # #22227 $baserev
    20 # #22302 $yacc $byacc
    21 
    22 # H.Merijn Brand [30 Oct 2004]
    23 # Mentioned for the same reason for future reference
    24 # #23434 $d_strlcat $d_strlcpy
    25 
    26 : This forces SH files to create target in same directory as SH file.
    27 : This is so that make depend always knows where to find SH derivatives.
    28 case "$0" in
    29 */*) cd `expr X$0 : 'X\(.*\)/'` ;;
    30 esac
    31 
    32 case "$d_dosuid" in
    33 *define*) suidperl='suidperl' ;;
    34 *) suidperl='';;
    35 esac
    36 
    37 linklibperl='$(LIBPERL)'
    38 shrpldflags='$(LDDLFLAGS)'
    39 ldlibpth=''
    40 DPERL_EXTERNAL_GLOB='-DPERL_EXTERNAL_GLOB'
    41 case "$useshrplib" in
    42 true)
    43         # Prefix all runs of 'miniperl' and 'perl' with
    44         # $ldlibpth so that ./perl finds *this* shared libperl.
    45         case "$LD_LIBRARY_PATH" in
    46         '')
    47                 ldlibpth="LD_LIBRARY_PATH=`pwd`";;
    48         *)
    49                 ldlibpth="LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}";;
    50         esac
    51 
    52         pldlflags="$cccdlflags"
    53         static_target='static_pic'
    54         case "${osname}${osvers}" in
    55         next4*)
    56                 ld=libtool
    57                 lddlflags="-dynamic -undefined warning -framework System \
    58                 -compatibility_version 1 -current_version $patchlevel \
    59                 -prebind -seg1addr 0x27000000 -install_name \$(shrpdir)/\$@"
    60                 ;;
    61         rhapsody*|darwin*)
    62                 shrpldflags="${ldflags} -dynamiclib \
    63                             -compatibility_version \
    64                                 ${api_revision}.${api_version}.${api_subversion} \
    65                              -current_version \
    66                                 ${revision}.${patchlevel}.${subversion} \
    67                              -install_name \$(shrpdir)/\$@"
    68                 ;;
    69         cygwin*)
    70                 linklibperl="-lperl"
    71                 ;;
    72         sunos*)
    73                 linklibperl="-lperl"
    74                 ;;
    75         netbsd*|freebsd[234]*|openbsd*|dragonfly*)
    76                 linklibperl="-L. -lperl"
    77                 ;;
    78         interix*)
    79                 linklibperl="-L. -lperl"
    80                 shrpldflags="$shrpldflags -Wl,--image-base,0x57000000"
    81                 ;;
    82         linux*)
    83                 shrpldflags="$shrpldflags $ldflags $perllibs $cryptlib"
    84                 ;;
    85         aix*)
    86                 shrpldflags="-H512 -T512 -bhalt:4 -bM:SRE -bE:perl.exp"
    87                 case "$osvers" in
    88                 3*)     shrpldflags="$shrpldflags -e _nostart"
    89                         ;;
    90                 *)      shrpldflags="$shrpldflags -b noentry"
    91                         ;;
    92                 esac
    93                 shrpldflags="$shrpldflags $ldflags $perllibs $cryptlib"
    94                 linklibperl="-L $archlibexp/CORE -L `pwd | sed 's/\/UU$//'` -lperl"
    95                 ;;
    96         hpux*)
    97                 linklibperl="-L `pwd | sed 's/\/UU$//'` -Wl,+s -Wl,+b$archlibexp/CORE -lperl"
    98                 ;;
    99         os390*)
    100             shrpldflags='-W l,XPLINK,dll'
    101             linklibperl='libperl.x'
    102             DPERL_EXTERNAL_GLOB=''
    103             ;;
    104         esac
    105         case "$ldlibpthname" in
    106         '') ;;
    107         *)
    108             case "$osname" in
    109             os2)
    110                 ldlibpth=''
    111                 ;;
    112             *)
    113                 eval "ldlibpth=\"$ldlibpthname=`pwd`:\$$ldlibpthname\""
    114                 ;;
    115             esac
    116             # Strip off any trailing :'s
    117             ldlibpth=`echo $ldlibpth | sed 's/:*$//'`
    118             ;;
    119         esac
    120 
    121         case "$ldlibpth" in
    122         # Protect any spaces
    123         *" "*) ldlibpth=`echo $ldlibpth|sed 's/ /\\\\ /g'` ;;
    124         esac
    125 
    126         case "$osname" in
    127         linux)
    128             # If there is a pre-existing $libperl from a previous
    129             # installation, Linux needs to use LD_PRELOAD to
    130             # override the LD_LIBRARY_PATH setting.  See the
    131             # INSTALL file, under "Building a shared perl library".
    132             # If there is no pre-existing $libperl, we don't need
    133             # to do anything further.
    134             if test -f $archlib/CORE/$libperl; then
    135                 rm -f preload
    136                 cat <<'EOT' > preload
    137 #! /bin/sh
    138 lib=$1
    139 shift
    140 test -r $lib && export LD_PRELOAD="$lib $LD_PRELOAD"
    141 exec "$@"
    142 EOT
    143                 chmod 755 preload
    144                 ldlibpth="$ldlibpth `pwd`/preload `pwd`/$libperl"
    145             fi
    146             ;;
    147         os390)  test -f /bin/env && ldlibpth="/bin/env $ldlibpth"
    148                 ;;
    149         esac
    150 
    151         ;;
    152 
    153 *)      pldlflags=''
    154         static_target='static'
    155         ;;
    156 esac
    157 
    158 : Prepare dependency lists for Makefile.
    159 dynamic_list=' '
    160 extra_dep=''
    161 for f in $dynamic_ext; do
    162     : the dependency named here will never exist
    163       base=`echo "$f" | sed 's/.*\///'`
    164     this_target="lib/auto/$f/$base.$dlext" 
    165     dynamic_list="$dynamic_list $this_target"
    166 
    167     : Parallel makes reveal that we have some interdependencies
    168     case $f in
    169         Math/BigInt/FastCalc) extra_dep="$extra_dep
    170 $this_target: lib/auto/List/Util/Util.$dlext" ;;
    171         Unicode/Normalize) extra_dep="$extra_dep
    172 $this_target: uni.data" ;;
    173     esac
    174 done
    175 
    176 static_list=' '
    177 for f in $static_ext; do
    178         base=`echo "$f" | sed 's/.*\///'`
    179         static_list="$static_list lib/auto/$f/$base\$(LIB_EXT)"
    180 done
    181 
    182 nonxs_list=' '
    183 for f in $nonxs_ext; do
    184     base=`echo "$f" | sed 's/.*\///'`
    185     nonxs_list="$nonxs_list ext/$f/pm_to_blib"
    186 done
    187 
    188 echo "Extracting $Makefile (with variable substitutions)"
    189 $spitshell >$Makefile <<!GROK!THIS!
    190 # $Makefile.SH
    191 # This file is derived from $Makefile.SH.  Any changes made here will
    192 # be lost the next time you run Configure.
    193 #  $Makefile is used to generate $firstmakefile.  The only difference
    194 #  is that $firstmakefile has the dependencies filled in at the end.
    195 
    196 CC = $cc
    197 LD = $ld
    198 
    199 LDFLAGS = $ldflags
    200 CLDFLAGS = $ldflags
    201 
    202 mallocsrc = $mallocsrc
    203 mallocobj = $mallocobj
    204 madlysrc = $madlysrc
    205 madlyobj = $madlyobj
    206 LNS = $lns
    207 # NOTE: some systems don't grok "cp -f". XXX Configure test needed?
    208 CPS = $cp
    209 RMS = rm -f
    210 ranlib = $ranlib
    211 
    212 # The following are mentioned only to make metaconfig include the
    213 # appropriate questions in Configure.  If you want to change these,
    214 # edit config.sh instead, or specify --man1dir=/wherever on
    215 # installman commandline.
    216 bin = $installbin
    217 scriptdir = $scriptdir
    218 shrpdir = $archlibexp/CORE
    219 privlib = $installprivlib
    220 man1dir = $man1dir
    221 man1ext = $man1ext
    222 man3dir = $man3dir
    223 man3ext = $man3ext
    224 
    225 # The following are used to build and install shared libraries for
    226 # dynamic loading.
    227 LDDLFLAGS = $lddlflags
    228 SHRPLDFLAGS = $shrpldflags
    229 CCDLFLAGS = $ccdlflags
    230 DLSUFFIX = .$dlext
    231 PLDLFLAGS = $pldlflags
    232 LIBPERL = $libperl
    233 LLIBPERL= $linklibperl
    234 SHRPENV = $shrpenv
    235 
    236 # Static targets are ordinarily built without CCCDLFLAGS.  However,
    237 # if building a shared libperl.so that might later be linked into
    238 # another application, then it might be appropriate to also build static
    239 # extensions (usually just DynaLoader) with relocatable code (e.g. -fPIC
    240 # for GNU cc).  This is handled by ext/util/make_ext.
    241 STATIC = $static_target
    242 
    243 # The following is used to include the current directory in
    244 # the dynamic loader path you are building a shared libperl.
    245 LDLIBPTH = $ldlibpth
    246 
    247 dynamic_ext = $dynamic_list
    248 static_ext = $static_list
    249 nonxs_ext = $nonxs_list
    250 ext = \$(dynamic_ext) \$(static_ext) \$(nonxs_ext)
    251 DYNALOADER = DynaLoader\$(OBJ_EXT)
    252 
    253 libs = $perllibs $cryptlib
    254 
    255 public = perl\$(EXE_EXT) $suidperl utilities translators
    256 
    257 shellflags = $shellflags
    258 
    259 # This is set to  MAKE=$make if your $make command doesn't
    260 # do it for you.
    261 $make_set_make
    262 
    263 # Mention $gmake here so it gets probed for by Configure.
    264 
    265 # These variables may need to be manually set for non-Unix systems.
    266 AR = $full_ar
    267 EXE_EXT = $_exe
    268 LIB_EXT = $_a
    269 OBJ_EXT = $_o
    270 PATH_SEP = $p_
    271 
    272 # If you're going to use valgrind and it can't be invoked as plain valgrind
    273 # then you'll need to change this, or override it on the make command line.
    274 VALGRIND=valgrind
    275 
    276 FIRSTMAKEFILE = $firstmakefile
    277 
    278 # Any special object files needed by this architecture, e.g. os2/os2.obj
    279 ARCHOBJS = $archobjs
    280 
    281 .SUFFIXES: .c \$(OBJ_EXT) .i .s
    282 
    283 # grrr
    284 SHELL = $sh
    285 
    286 # how to tr(anslate) newlines
    287 TRNL = '$trnl'
    288 
    289 OPTIMIZE = $optimize
    290 
    291 EXTRAS = $extras
    292 
    293 INSTALLPREFIXEXP = $prefix
    294 
    295 !GROK!THIS!
    296 # not used by Makefile but by installperl;
    297 # mentioned here so that metaconfig picks these up
    298 # $installusrbinperl
    299 # $versiononly
    300 
    301 case "${osname}:${osvers}" in
    302 darwin:*)
    303 $spitshell >>$Makefile <<EOF
    304 
    305 # Your locales are broken (osname $osname, osvers $osvers)
    306 # and to avoid the numerous
    307 # perl: warning: Setting locale failed.
    308 # warnings during the build process we reset the locale variables.
    309 
    310 LC_ALL=C
    311 LANG=C
    312 LANGUAGE=C
    313 EOF
    314         ;;
    315 esac
    316 
    317 $spitshell >>$Makefile <<!GROK!THIS!
    318 CROSS_NAME = ${CROSS_NAME}
    319 CROSS_LIB = xlib/${CROSS_NAME}
    320 
    321 CCCMD    = \`sh \$(shellflags) cflags-cross-${CROSS_NAME} "optimize='\$(OPTIMIZE)'" \$@\`
    322 
    323 CCCMDSRC = \`sh \$(shellflags) cflags-cross-${CROSS_NAME} "optimize='\$(OPTIMIZE)'" \$<\`
    324 
    325 !GROK!THIS!
    326 
    327 ## In the following dollars and backticks do not need the extra backslash.
    328 $spitshell >>$Makefile <<'!NO!SUBS!'
    329 
    330 CONFIGPM = xlib/$(CROSS_NAME)/Config.pm
    331 
    332 private = preplibrary $(CONFIGPM) $(CROSS_LIB)/Config.pod
    333 
    334 shextract = Makefile cflags config.h makeaperl makedepend \
    335         makedir myconfig writemain pod/Makefile
    336 
    337 # Files to be built with variable substitution after miniperl is
    338 # available.  Dependencies handled manually below (for now).
    339 
    340 pl = pod/pod2html.PL pod/pod2latex.PL pod/pod2man.PL pod/pod2text.PL \
    341         pod/pod2usage.PL pod/podchecker.PL pod/podselect.PL
    342 
    343 # lib/lib.pm is not listed here because it has a rule of its own.
    344 plextract = pod/pod2html pod/pod2latex pod/pod2man pod/pod2text \
    345         pod/pod2usage pod/podchecker pod/podselect
    346 
    347 addedbyconf = UU $(shextract) $(plextract) lib/lib.pm pstruct
    348 
    349 # Unicode data files generated by mktables
    350 unidatafiles = lib/unicore/Canonical.pl lib/unicore/Exact.pl \
    351         lib/unicore/Properties lib/unicore/Decomposition.pl \
    352         lib/unicore/CombiningClass.pl lib/unicore/Name.pl lib/unicore/PVA.pl
    353 
    354 # Directories of Unicode data files generated by mktables
    355 unidatadirs = lib/unicore/To lib/unicore/lib
    356 
    357 h1 = EXTERN.h INTERN.h XSUB.h av.h xconfig.h cop.h cv.h dosish.h
    358 h2 = embed.h form.h gv.h handy.h hv.h keywords.h mg.h op.h opcode.h
    359 h3 = pad.h patchlevel.h perl.h perlapi.h perly.h pp.h proto.h regcomp.h
    360 h4 = regexp.h scope.h sv.h unixish.h util.h iperlsys.h thread.h
    361 h5 = utf8.h warnings.h
    362 h = $(h1) $(h2) $(h3) $(h4) $(h5)
    363 
    364 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
    365 c2 = perly.c pp.c pp_hot.c pp_ctl.c pp_sys.c regcomp.c regexec.c utf8.c sv.c
    366 c3 = taint.c toke.c util.c deb.c run.c universal.c xsutils.c pad.c globals.c
    367 c4 = perlio.c perlapi.c numeric.c mathoms.c locale.c pp_pack.c pp_sort.c
    368 c5 = $(madlysrc) $(mallocsrc)
    369 
    370 c = $(c1) $(c2) $(c3) $(c4) $(c5) miniperlmain.c perlmain.c opmini.c
    371 
    372 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)
    373 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)
    374 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)
    375 
    376 obj = $(obj1) $(obj2) $(obj3) $(ARCHOBJS)
    377 
    378 lintflags = \
    379     -b \
    380     -n \
    381     -p \
    382     -Ncheck=%all \
    383     -Nlevel=4 \
    384     -errchk=parentheses \
    385     -errhdr=%all \
    386     -errfmt=src \
    387     -errtags \
    388     -erroff=E_ASSIGN_NARROW_CONV \
    389     -erroff=E_BAD_PTR_CAST \
    390     -erroff=E_BAD_PTR_CAST_ALIGN \
    391     -erroff=E_BAD_PTR_INT_COMBINATION \
    392     -erroff=E_BAD_SIGN_EXTEND \
    393     -erroff=E_BLOCK_DECL_UNUSED \
    394     -erroff=E_CASE_FALLTHRU \
    395     -erroff=E_CONST_EXPR \
    396     -erroff=E_CONSTANT_CONDITION \
    397     -erroff=E_END_OF_LOOP_CODE_NOT_REACHED \
    398     -erroff=E_EQUALITY_NOT_ASSIGNMENT \
    399     -erroff=E_EXPR_NULL_EFFECT \
    400     -erroff=E_FALSE_LOGICAL_EXPR \
    401     -erroff=E_INCL_NUSD \
    402     -erroff=E_LOOP_EMPTY \
    403     -erroff=E_MAIN_PARAM \
    404     -erroff=E_POINTER_TO_OBJECT \
    405     -erroff=E_PTRDIFF_OVERFLOW \
    406     -erroff=E_SHIFT_CNT_NEG_TOO_BIG_L \
    407     -erroff=E_STATIC_UNUSED \
    408     -erroff=E_TRUE_LOGICAL_EXPR
    409 
    410 splintflags = \
    411     -I/usr/lib/gcc/i486-linux-gnu/4.0.2/include/ \
    412     -D__builtin_va_list=va_list \
    413     -Dsigjmp_buf=jmp_buf \
    414     -warnposix \
    415     \
    416     +boolint \
    417     +charintliteral \
    418     -fixedformalarray \
    419     -mustfreefresh \
    420     -nestedextern \
    421     -predboolint \
    422     -predboolothers \
    423     -preproc \
    424     -boolops \
    425     -shadow \
    426     -nullstate \
    427     +longintegral \
    428     +matchanyintegral \
    429     -type \
    430     \
    431     +line-len 999 \
    432     +weak
    433 
    434 splintfiles = $(c1)
    435 
    436 .c$(OBJ_EXT):
    437         $(CCCMD) -I$(CROSS_LIB) $(PLDLFLAGS) $*.c
    438 
    439 .c.i:
    440         $(CCCMDSRC) -E $*.c > $*.i
    441 
    442 .c.s:
    443         $(CCCMDSRC) -S $*.c
    444 
    445 all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT) extra.pods $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make
    446         @echo " ";
    447         @echo " Everything is up to date. Type '$(MAKE) test' to run test suite."
    448 
    449 .PHONY: all
    450 
    451 
    452 # This is now done by installman only if you actually want the man pages.
    453 #       @echo " "; echo "       Making docs"; cd pod; $(MAKE) all;
    454 
    455 # Phony target to force checking subdirectories.
    456 # Apparently some makes require an action for the FORCE target.
    457 .PHONY: FORCE
    458 FORCE:
    459         @sh -c true
    460 !NO!SUBS!
    461 $spitshell >>$Makefile <<!GROK!THIS!
    462 
    463 # We do a copy of the op.c instead of a symlink because gcc gets huffy
    464 # if we have a symlink forest to another disk (it complains about too many
    465 # levels of symbolic links, even if we have only two)
    466 
    467 opmini.c: op.c
    468         \$(RMS) opmini.c
    469         \$(CPS) op.c opmini.c
    470 
    471 opmini\$(OBJ_EXT): opmini.c
    472         \$(CCCMD) \$(PLDLFLAGS) $DPERL_EXTERNAL_GLOB opmini.c
    473 
    474 globals\$(OBJ_EXT):
    475 
    476 !GROK!THIS!
    477 $spitshell >>$Makefile <<'!NO!SUBS!'
    478 miniperlmain$(OBJ_EXT): miniperlmain.c patchlevel.h
    479         $(CCCMD) $(PLDLFLAGS) $*.c
    480 
    481 perlmain.c: miniperlmain.c config.sh $(FIRSTMAKEFILE)
    482         sh writemain $(DYNALOADER) $(static_ext) > perlmain.c
    483 
    484 !NO!SUBS!
    485 case "$osname" in
    486 cygwin)
    487         ;; # Let cygwin/Makefile.SHs do its work.
    488 *)
    489         $spitshell >>$Makefile <<'!NO!SUBS!'
    490 perlmain$(OBJ_EXT): perlmain.c
    491         $(CCCMD) $(PLDLFLAGS) $*.c
    492 
    493 !NO!SUBS!
    494         ;;
    495 esac
    496 $spitshell >>$Makefile <<'!NO!SUBS!'
    497 # The file ext.libs is a list of libraries that must be linked in
    498 # for static extensions, e.g. -lm -lgdbm, etc.  The individual
    499 # static extension Makefile's add to it.
    500 ext.libs: $(static_ext)
    501         -@test -f ext.libs || touch ext.libs
    502 
    503 !NO!SUBS!
    504 
    505 # How to build libperl.  This is still rather convoluted.
    506 # Load up custom Makefile.SH fragment for shared loading and executables:
    507 case "$osname" in
    508 *)
    509         Makefile_s="$osname/Makefile.SHs"
    510         ;;
    511 esac
    512 
    513 case "$osname" in
    514 aix)
    515         $spitshell >>$Makefile <<!GROK!THIS!
    516 LIBS                    = $perllibs
    517 # In AIX we need to change this for building Perl itself from
    518 # its earlier definition (which is for building external
    519 # extensions *after* Perl has been built and installed)
    520 CCDLFLAGS               = `echo $ccdlflags|sed -e 's@-bE:.*/perl\.exp@-bE:perl.exp@'`
    521 
    522 !GROK!THIS!
    523         case "$useshrplib" in
    524         define|true|[yY]*)
    525                 $spitshell >>$Makefile <<'!NO!SUBS!'
    526 
    527 LIBPERL_NONSHR          = libperl_nonshr$(LIB_EXT)
    528 MINIPERL_NONSHR         = miniperl_nonshr$(EXE_EXT)
    529 
    530 $(LIBPERL_NONSHR): $(obj)
    531         $(RMS) $(LIBPERL_NONSHR)
    532         $(AR) rcu $(LIBPERL_NONSHR) $(obj)
    533 
    534 $(MINIPERL_NONSHR): $(LIBPERL_NONSHR) miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT)
    535         $(CC) $(LDFLAGS) -o $(MINIPERL_NONSHR) miniperlmain$(OBJ_EXT) \
    536             opmini$(OBJ_EXT) $(LIBPERL_NONSHR) $(LIBS)
    537 
    538 MINIPERLEXP             = $(MINIPERL_NONSHR)
    539 
    540 LIBPERLEXPORT           = perl.exp
    541 
    542 !NO!SUBS!
    543                
    544                 ;;
    545         *)     
    546                 $spitshell >>$Makefile <<'!NO!SUBS!'
    547 MINIPERLEXP             = miniperl$(EXE_EXT)
    548 
    549 PERLEXPORT              = perl.exp
    550 
    551 !NO!SUBS!
    552         ;;
    553         esac
    554         $spitshell >>$Makefile <<'!NO!SUBS!'
    555 perl.exp: $(MINIPERLEXP) makedef.pl config.sh $(SYM) $(SYMH)
    556         ./$(MINIPERLEXP) makedef.pl PLATFORM=aix CC_FLAGS="$(OPTIMIZE)" | sort -u | sort -f > perl.exp
    557 
    558 !NO!SUBS!
    559         ;;
    560 os2)
    561         $spitshell >>$Makefile <<'!NO!SUBS!'
    562 MINIPERLEXP             = miniperl
    563 
    564 perl5.def: $(MINIPERLEXP) makedef.pl config.sh $(SYM) $(SYMH) miniperl.map
    565         ./$(MINIPERLEXP) makedef.pl PLATFORM=os2 -DPERL_DLL=$(PERL_DLL) CC_FLAGS="$(OPTIMIZE)" > perl5.def
    566 
    567 !NO!SUBS!
    568         ;;
    569 esac
    570 
    571 if test -r $Makefile_s ; then
    572         . $Makefile_s
    573         $spitshell >>$Makefile <<!GROK!THIS!
    574 
    575 $Makefile: $Makefile_s
    576 !GROK!THIS!
    577 else
    578         $spitshell >>$Makefile <<'!NO!SUBS!'
    579 $(LIBPERL): $& $(obj) $(DYNALOADER) $(LIBPERLEXPORT)
    580 !NO!SUBS!
    581         case "$useshrplib" in
    582         true)
    583                 $spitshell >>$Makefile <<'!NO!SUBS!'
    584         rm -f $@
    585         $(LD) -o $@ $(SHRPLDFLAGS) $(obj) $(DYNALOADER) $(libs)
    586 !NO!SUBS!
    587                 case "$osname" in
    588                 aix)
    589                         $spitshell >>$Makefile <<'!NO!SUBS!'
    590         rm -f libperl$(OBJ_EXT)
    591         mv $@ libperl$(OBJ_EXT)
    592         $(AR) qv $(LIBPERL) libperl$(OBJ_EXT)
    593 !NO!SUBS!
    594                         ;;
    595                 esac
    596                 ;;
    597         *)
    598                 $spitshell >>$Makefile <<'!NO!SUBS!'
    599         rm -f $(LIBPERL)
    600         $(AR) rcu $(LIBPERL) $(obj) $(DYNALOADER)
    601         @$(ranlib) $(LIBPERL)
    602 !NO!SUBS!
    603                 ;;
    604         esac
    605         $spitshell >>$Makefile <<'!NO!SUBS!'
    606 
    607 # How to build executables.
    608 
    609 # The $& notation tells Sequent machines that it can do a parallel make,
    610 # and is harmless otherwise.
    611 # The miniperl -w -MExporter line is a basic cheap test to catch errors
    612 # before make goes on to run preplibrary and then MakeMaker on extensions.
    613 # This is very handy because later errors are often caused by miniperl
    614 # build problems but that's not obvious to the novice.
    615 # The Module used here must not depend on Config or any extensions.
    616 
    617 !NO!SUBS!
    618 
    619 
    620         $spitshell >>$Makefile <<'!NO!SUBS!'
    621 
    622 perl$(EXE_EXT): $& perlmain$(OBJ_EXT) $(LIBPERL) $(static_ext) ext.libs $(PERLEXPORT)
    623         -@rm -f miniperl.xok
    624         $(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)
    625         $(SHRPENV) $(LDLIBPTH) $(CC) -o perl$(PERL_SUFFIX)$(EXE_EXT) $(PERL_PROFILE_LDFLAGS) $(CLDFLAGS) perlmain$(OBJ_EXT) $(static_ext) $(LLIBPERL) `cat ext.libs` $(libs)
    626 
    627 # Purify/Quantify Perls.
    628 
    629 pureperl$(EXE_EXT): $& perlmain$(OBJ_EXT) $(LIBPERL) $(static_ext) ext.libs $(PERLEXPORT)
    630         $(SHRPENV) $(LDLIBPTH) purify $(CC) -o pureperl $(CLDFLAGS) $(CCDLFLAGS) perlmain$(OBJ_EXT) $(static_ext) $(LLIBPERL) `cat ext.libs` $(libs)
    631 
    632 purecovperl$(EXE_EXT): $& perlmain$(OBJ_EXT) $(LIBPERL) $(static_ext) ext.libs $(PERLEXPORT)
    633         $(SHRPENV) $(LDLIBPTH) purecov $(CC) -o purecovperl $(CLDFLAGS) $(CCDLFLAGS) perlmain$(OBJ_EXT) $(static_ext) $(LLIBPERL) `cat ext.libs` $(libs)
    634 
    635 quantperl$(EXE_EXT): $& perlmain$(OBJ_EXT) $(LIBPERL) $(static_ext) ext.libs $(PERLEXPORT)
    636         $(SHRPENV) $(LDLIBPTH) quantify $(CC) -o quantperl $(CLDFLAGS) $(CCDLFLAGS) perlmain$(OBJ_EXT) $(static_ext) $(LLIBPERL) `cat ext.libs` $(libs)
    637 
    638 # Valgrind perl (currently Linux only)
    639 
    640 perl.valgrind.config: config.sh
    641         @echo "To build perl.valgrind you must Configure -Doptimize=-g -Uusemymalloc, checking..."
    642         @$(MAKE) perl.config.dashg
    643         @echo "Checking usemymalloc='n' in config.sh..."
    644         @grep "^usemymalloc="    config.sh
    645         @grep "^usemymalloc='n'" config.sh >/dev/null || exit 1
    646         @echo "And of course you have to have valgrind..."
    647         $(VALGRIND) ./perl -e 1 2>/dev/null || exit 1
    648 
    649 # Third Degree Perl (Tru64 only)
    650 
    651 perl.config.dashg:
    652         @echo "Checking optimize='-g' in config.sh..."
    653         @grep "^optimize=" config.sh
    654         @egrep "^optimize='(.*-g.*)'" config.sh >/dev/null || exit 1
    655 
    656 perl.third.config: config.sh
    657         @echo "To build perl.third you must Configure -Doptimize=-g -Uusemymalloc, checking..."
    658         @$(MAKE) perl.config.dashg
    659         @echo "Checking usemymalloc='n' in config.sh..."
    660         @grep "^usemymalloc="    config.sh
    661         @grep "^usemymalloc='n'" config.sh >/dev/null || exit 1
    662 
    663 perl.third: /usr/bin/atom perl.third.config perl
    664         atom -tool third -L. -all -gp -toolargs="-invalid -uninit heap+stack+copy -min 0" perl
    665         @echo "Now you may run perl.third and then study perl.3log."
    666 
    667 # Pixie Perls (Tru64 and IRIX only)
    668 
    669 perl.pixie.config: config.sh
    670         @echo "To build perl.pixie you must Configure -Doptimize=-g, checking..."
    671         @$(MAKE) perl.config.dashg
    672 
    673 perl.pixie.atom: /usr/bin/atom perl
    674         atom -tool pixie -L. -all -toolargs="-quiet" perl
    675 
    676 perl.pixie.irix: perl
    677         pixie perl
    678 
    679 perl.pixie: /usr/bin/pixie perl.pixie.config perl
    680         if test -x /usr/bin/atom; then \
    681           $(MAKE) perl.pixie.atom; \
    682         else \
    683           $(MAKE) perl.pixie.irix; \
    684         fi
    685         @echo "Now you may run perl.pixie and then run pixie."
    686 
    687 # Gprof Perl
    688 
    689 perl.config.dashpg:
    690         @echo "Checking optimize='-pg' in config.sh..."
    691         @grep "^optimize="      config.sh
    692         @grep "^optimize='.*-pg.*'" config.sh >/dev/null || exit 1
    693 
    694 perl.gprof.config: config.sh
    695         @echo "To build perl.gprof you must Configure -Doptimize=-pg, checking..."
    696         @$(MAKE) perl.config.dashpg
    697 
    698 perl.gprof: /usr/bin/gprof perl.gprof.config
    699         @-rm -f perl
    700         $(MAKE) PERL_SUFFIX=.gprof PERL_PROFILE_LDFLAGS=-pg perl
    701         @echo "Now you may run perl.gprof and then run gprof perl.gprof."
    702 
    703 # Gcov Perl
    704 
    705 perl.config.gcov:
    706         @echo "To build perl.gcov you must use gcc 3.0 or newer, checking..."
    707         @echo "Checking gccversion in config.sh..."
    708         @grep "^gccversion="      config.sh
    709         @grep "^gccversion='[3-9]\." config.sh >/dev/null || exit 1
    710         @echo "To build perl.gcov you must Configure -Dccflags=-fprofile-arcs -ftest-coverage, checking..."
    711         @echo "Checking ccflags='-fprofile-arcs -ftest-coverage' in config.sh..."
    712         @grep "^ccflags="      config.sh
    713         @grep "^ccflags='.*-fprofile-arcs -ftest-coverage.*'" config.sh >/dev/null || exit 1
    714 
    715 perl.gcov: perl.config.gcov
    716         @-rm -f perl
    717         $(MAKE) PERL_SUFFIX=.gcov PERL_PROFILE_LDFLAGS='' perl
    718         @echo "Now you may run perl.gcov and then run gcov some.c."
    719 
    720 # Microperl.  This is just a convenience thing if one happens to
    721 # build also the full Perl and therefore the real big Makefile:
    722 # usually one should manually explicitly issue the below command.
    723 
    724 .PHONY: microperl
    725 microperl:
    726         $(MAKE) -f Makefile.micro
    727 
    728 # This version, if specified in Configure, does ONLY those scripts which need
    729 # set-id emulation.  Suidperl must be setuid root.  It contains the "taint"
    730 # checks as well as the special code to validate that the script in question
    731 # has been invoked correctly.
    732 
    733 suidperl$(EXE_EXT): $& sperl$(OBJ_EXT) perlmain$(OBJ_EXT) $(LIBPERL) $(static_ext) ext.libs $(PERLEXPORT)
    734         $(SHRPENV) $(LDLIBPTH) $(CC) -o suidperl $(CLDFLAGS) $(CCDLFLAGS) perlmain$(OBJ_EXT) sperl$(OBJ_EXT) $(static_ext) $(LLIBPERL) `cat ext.libs` $(libs)
    735 
    736 !NO!SUBS!
    737 
    738 fi
    739 
    740 $spitshell >>$Makefile <<'!NO!SUBS!'
    741 
    742 sperl$(OBJ_EXT): perl.c $(h)
    743         $(RMS) sperl.c
    744         $(LNS) perl.c sperl.c
    745         $(CCCMD) -DIAMSUID sperl.c
    746         $(RMS) sperl.c
    747 
    748 # We have to call our ./makedir because Ultrix 4.3 make can't handle the line
    749 #       test -d lib/auto || mkdir lib/auto
    750 # We need to autosplit in two steps because VOS can't handle so many args
    751 #
    752 .PHONY: preplibrary
    753 preplibrary: miniperl $(CONFIGPM) lib/lib.pm $(PREPLIBRARY_LIBPERL)
    754         @sh ./makedir lib/auto
    755         @echo " AutoSplitting perl library"
    756         $(LDLIBPTH) ./miniperl -Ilib -MCross -e 'use AutoSplit; \
    757                 autosplit_lib_modules(@ARGV)' lib/*.pm
    758         $(LDLIBPTH) ./miniperl -Ilib -MCross -e 'use AutoSplit; \
    759                 autosplit_lib_modules(@ARGV)' lib/*/*.pm
    760         $(MAKE) lib/re.pm
    761 
    762 .PHONY: makeppport
    763 makeppport: miniperl$(EXE_EXT) $(CONFIGPM)
    764         $(LDLIBPTH) ./miniperl$(EXE_EXT) -Ilib mkppport
    765 
    766 $(CROSS_LIB)/Config.pod: config.sh miniperl configpm Porting/Glossary
    767         $(LDLIBPTH) ./miniperl -Ilib configpm --cross=$(CROSS_NAME)
    768         cp *.h $(CROSS_LIB)/
    769         cp ext/re/re.pm $(LIBDIR)/
    770 
    771 $(CONFIGPM): $(CROSS_LIB)/Config.pod xconfig.h
    772 
    773 lib/re.pm: ext/re/re.pm
    774         @-rm -f $@
    775         cp ext/re/re.pm lib/re.pm
    776 
    777 $(plextract):   miniperl $(CONFIGPM) x2p/s2p
    778         @-rm -f $@
    779         $(LDLIBPTH) ./miniperl -I`pwd`/lib $@.PL
    780 
    781 lib/lib.pm:     miniperl $(CONFIGPM)
    782         @-rm -f $@
    783         $(LDLIBPTH) ./miniperl -Ilib -MCross lib/lib_pm.PL
    784 
    785 unidatafiles $(unidatafiles): uni.data
    786 
    787 uni.data: miniperl$(EXE_EXT) $(CONFIGPM) lib/unicore/mktables
    788         cd lib/unicore && $(LDLIBPTH) ../../miniperl -I../../lib mktables -w
    789         touch uni.data
    790 
    791 extra.pods: miniperl
    792         -@test ! -f extra.pods || rm -f `cat extra.pods`
    793         -@rm -f extra.pods
    794         -@for x in `grep -l '^=[a-z]' README.* | grep -v README.vms` ; do \
    795             nx=`echo $$x | sed -e "s/README\.//"`; \
    796             cd pod ; $(LNS) ../$$x "perl"$$nx".pod" ; cd .. ; \
    797             echo "pod/perl"$$nx".pod" >> extra.pods ; \
    798         done
    799         -@rm -f pod/perlvms.pod
    800         -@test -f vms/perlvms.pod && cd pod && $(LNS) ../vms/perlvms.pod perlvms.pod && cd .. && echo "pod/perlvms.pod" >> extra.pods
    801         -@rm -f pod/perldelta.pod
    802         -@test -f pod/perl5100delta.pod && cd pod && $(LNS) perl5100delta.pod perldelta.pod && cd .. && echo "pod/perldelta.pod" >> extra.pods # See buildtoc
    803 
    804 extras.make: perl$(EXE_EXT)
    805         -@test ! -s extras.lst || PATH="`pwd`:${PATH}" PERL5LIB="`pwd`/lib" $(LDLIBPTH) ./perl -Ilib -MCPAN -e '@ARGV&&make(@ARGV)' `cat extras.lst`
    806 
    807 extras.test: perl$(EXE_EXT)
    808         -@test ! -s extras.lst || PATH="`pwd`:${PATH}" PERL5LIB="`pwd`/lib" $(LDLIBPTH) ./perl -Ilib -MCPAN -e '@ARGV&&test(@ARGV)' `cat extras.lst`
    809 
    810 extras.install: perl$(EXE_EXT)
    811         -@test ! -s extras.lst || PATH="`pwd`:${PATH}" PERL5LIB="`pwd`/lib" $(LDLIBPTH) ./perl -Ilib -MCPAN -e '@ARGV&&install(@ARGV)' `cat extras.lst`
    812 
    813 .PHONY: install install-strip install-all install-verbose install-silent \
    814         no-install install.perl install.man install.html
    815 
    816 META.yml:       Porting/makemeta Porting/Maintainers.pl Porting/Maintainers.pm
    817         $(LDLIBPTH) ./miniperl -Ilib Porting/makemeta
    818 
    819 install-strip:
    820         $(MAKE) STRIPFLAGS=-s install DESTDIR="$(DESTDIR)"
    821 
    822 install install-all:
    823         $(MAKE) install.perl install.man STRIPFLAGS=$(STRIPFLAGS) DESTDIR="$(DESTDIR)"
    824 
    825 install-verbose:
    826         $(MAKE) install.perl install.man STRIPFLAGS=$(STRIPFLAGS) INSTALLFLAGS=-V DESTDIR="$(DESTDIR)"
    827 
    828 install-silent:
    829         $(MAKE) install.perl install.man STRIPFLAGS=$(STRIPFLAGS) INSTALLFLAGS=-S DESTDIR="$(DESTDIR)"
    830 
    831 no-install:
    832         $(MAKE) install.perl install.man STRIPFLAGS=$(STRIPFLAGS) INSTALLFLAGS=-n DESTDIR="$(DESTDIR)"
    833 
    834 # Set this to an empty string to avoid an attempt of rebuild before install
    835 INSTALL_DEPENDENCE = all
    836 
    837 install.perl:   $(INSTALL_DEPENDENCE) installperl
    838         $(LDLIBPTH) ./perl installperl --destdir=$(DESTDIR) $(INSTALLFLAGS) $(STRIPFLAGS)
    839         -@test ! -s extras.lst || $(MAKE) extras.install
    840 
    841 install.man:    all installman
    842         $(LDLIBPTH) ./perl installman --destdir=$(DESTDIR) $(INSTALLFLAGS)
    843 
    844 # XXX Experimental. Hardwired values, but useful for testing.
    845 # Eventually Configure could ask for some of these values.
    846 install.html: all installhtml
    847         -@test -f README.vms && cd vms && $(LNS) ../README.vms README_vms.pod && cd ..
    848         $(LDLIBPTH) ./perl installhtml   \
    849       --podroot=. --podpath=. --recurse  \
    850       --htmldir=$(privlib)/html   \
    851       --htmlroot=$(privlib)/html  \
    852       --splithead=pod/perlipc     \
    853       --splititem=pod/perlfunc    \
    854       --libpods=perlfunc:perlguts:perlvar:perlrun:perlop \
    855       --ignore=Porting/Maintainers.pm,Porting/patching.pod,Porting/pumpkin.pod,Porting/repository.pod \
    856       --verbose
    857 
    858 
    859 # I now supply perly.c with the kits, so the following section is
    860 # used only if you force bison to run by saying
    861 #       make regen_perly
    862 # You normally shouldn't remake perly.[ch].
    863 
    864 .PHONY: regen_perly
    865 
    866 run_byacc:
    867         @echo "run_byacc is obsolete; try 'make regen_perly' instead"
    868 
    869 # this outputs perly.h, perly.act and perly.tab
    870 regen_perly:
    871         perl regen_perly.pl
    872 
    873 # We don't want to regenerate perly.c and perly.h, but they might
    874 # appear out-of-date after a patch is applied or a new distribution is
    875 # made.
    876 perly.c: perly.y
    877         -@sh -c true
    878 
    879 perly.h: perly.y
    880         -@sh -c true
    881 
    882 # No compat3.sym here since and including the 5.004_50.
    883 # No interp.sym since 5.005_03.
    884 SYM  = global.sym globvar.sym perlio.sym pp.sym
    885 
    886 SYMH = perlvars.h intrpvar.h
    887 
    888 CHMOD_W = chmod +w
    889 
    890 # The following files are generated automatically
    891 #       autodoc.pl:     pod/perlapi.pod pod/perlintern.pod
    892 #       embed.pl:       proto.h embed.h embedvar.h global.sym
    893 #                       perlapi.h perlapi.c
    894 # [* embed.pl needs pp.sym generated by opcode.pl! *]
    895 #       keywords.pl:    keywords.h
    896 #       opcode.pl:      opcode.h opnames.h pp_proto.h pp.sym
    897 #       regcomp.pl:     regnodes.h
    898 #       warnings.pl:    warnings.h lib/warnings.pm
    899 # The correct versions should be already supplied with the perl kit,
    900 # in case you don't have perl available.
    901 # To force them to be regenerated, run
    902 #       perl regen.pl
    903 # with your existing copy of perl
    904 # (make regen_headers is kept for backwards compatibility)
    905 
    906 AUTOGEN_FILES = keywords.h opcode.h opnames.h pp_proto.h pp.sym proto.h \
    907                 embed.h embedvar.h global.sym \
    908                 pod/perlintern.pod pod/perlapi.pod \
    909                 perlapi.h perlapi.c regnodes.h \
    910                 warnings.h lib/warnings.pm
    911 
    912 .PHONY: regen_headers regen_pods regen_all
    913 
    914 regen regen_headers:    FORCE
    915         -perl regen.pl
    916 
    917 regen_pods:     FORCE
    918         -cd pod; $(LDLIBPTH) $(MAKE) regen_pods
    919 
    920 regen_all: regen regen_pods
    921 
    922 .PHONY: manisort manicheck
    923 
    924 manisort:       FORCE
    925         LC_ALL=C sort -fdc MANIFEST || (echo "WARNING: re-sorting MANIFEST"; \
    926                 LC_ALL=C sort -fdo MANIFEST MANIFEST)
    927 
    928 manicheck:      FORCE
    929         perl Porting/manicheck
    930 
    931 # Extensions:
    932 # Names added to $(dynamic_ext) or $(static_ext) or $(nonxs_ext) will
    933 # automatically get built.  There should ordinarily be no need to change
    934 # any of this part of makefile.
    935 #
    936 # The dummy dependency is a place holder in case $(dynamic_ext) or
    937 # $(static_ext) is empty.
    938 #
    939 # DynaLoader may be needed for extensions that use Makefile.PL.
    940 
    941 ###$(DYNALOADER).c: $(EXTDIR)/DynaLoader/dl_dld.xs $(CONFIGPM)
    942 ###     if not exist $(AUTODIR) mkdir $(AUTODIR)
    943 ###     cd $(EXTDIR)\$(*B)
    944 ###     $(HPERL) -I..\..\lib -MCross=$(CROSS_NAME) $(*B)_pm.PL
    945 ###     $(HPERL) -I..\..\lib -MCross=$(CROSS_NAME) XSLoader_pm.PL
    946 ###     cd ..\..\win32
    947 ###     $(XCOPY) $(EXTDIR)\$(*B)\$(*B).pm $(LIBDIR)\$(NULL)
    948 ###     $(XCOPY) $(EXTDIR)\$(*B)\XSLoader.pm $(LIBDIR)\$(NULL)
    949 ###     cd $(EXTDIR)\$(*B)
    950 ###     $(XSUBPP) dl_win32.xs > $(*B).c
    951 ###     cd ..\..\win32
    952 ###
    953 ###$(EXTDIR)\DynaLoader\dl_win32.xs: dl_win32.xs
    954 ###     $(COPY) dl_win32.xs $(EXTDIR)\DynaLoader\dl_win32.xs
    955 
    956 
    957 
    958 $(DYNALOADER):  preplibrary FORCE
    959         @$(LDLIBPTH) sh ext/util/make_ext_cross $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
    960 
    961 d_dummy $(dynamic_ext): miniperl$(EXE_EXT) preplibrary makeppport $(DYNALOADER) FORCE
    962         @$(LDLIBPTH) sh ext/util/make_ext_cross dynamic $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
    963 
    964 s_dummy $(static_ext):  miniperl$(EXE_EXT) preplibrary makeppport $(DYNALOADER) FORCE
    965         @$(LDLIBPTH) sh ext/util/make_ext_cross $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
    966 
    967 n_dummy $(nonxs_ext):   miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE
    968         @$(LDLIBPTH) sh ext/util/make_ext_cross nonxs $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
    969 !NO!SUBS!
    970 
    971 $spitshell >>$Makefile <<EOF
    972 $extra_dep
    973 EOF
    974 
    975 $spitshell >>$Makefile <<'!NO!SUBS!'
    976 
    977 .PHONY: printconfig
    978 printconfig:
    979         @eval `$(LDLIBPTH) ./perl -Ilib -V:$(CONFIGVAR)`; echo $$$(CONFIGVAR)
    980 
    981 .PHONY: clean _tidy _mopup _cleaner1 _cleaner2 \
    982         realclean _realcleaner clobber _clobber \
    983         distclean veryclean _verycleaner \
    984         cleanup_unpacked_files unpack_files
    985 
    986 clean:          cleanup_unpacked_files _tidy _mopup
    987 
    988 realclean:      cleanup_unpacked_files _realcleaner _mopup
    989         @echo "Note that '$(MAKE) realclean' does not delete config.sh or Policy.sh"
    990 
    991 _clobber:
    992         -@rm -f Cross/run-* Cross/to-* Cross/from-*
    993         rm -f config.sh cppstdin Policy.sh extras.lst
    994 
    995 clobber:        cleanup_unpacked_files _realcleaner _mopup _clobber
    996 
    997 distclean:      clobber
    998 
    999 # Like distclean but also removes emacs backups and *.orig.
    1000 veryclean:      _verycleaner _mopup _clobber
    1001         -@rm -f Obsolete Wanted
    1002 
    1003 # Do not 'make _mopup' directly.
    1004 _mopup:
    1005         rm -f *$(OBJ_EXT) *$(LIB_EXT) all perlmain.c opmini.c uudmap.h generate_uudmap$(EXE_EXT)
    1006         -rmdir .depending
    1007         -@test -f extra.pods && rm -f `cat extra.pods`
    1008         -@test -f vms/README_vms.pod && rm -f vms/README_vms.pod
    1009         -rm -f perl.exp ext.libs extra.pods uni.data opmini.o
    1010         -rm -f perl.export perl.dll perl.libexp perl.map perl.def
    1011         -rm -f perl.loadmap miniperl.loadmap perl.prelmap miniperl.prelmap
    1012         -rm -f perl.third lib*.so.perl.third perl.3log t/perl.third t/perl.3log
    1013         -rm -f perl.pixie lib*.so.perl.pixie lib*.so.Addrs
    1014         -rm -f perl.Addrs perl.Counts t/perl.Addrs t/perl.Counts *perl.xok
    1015         -rm -f cygwin.c libperl*.def libperl*.dll cygperl*.dll *.exe.stackdump
    1016         -rm -f perl$(EXE_EXT) suidperl$(EXE_EXT) miniperl$(EXE_EXT) $(LIBPERL) libperl.* microperl
    1017         -rm -f opcode.h-old opnames.h-old pp.sym-old pp_proto.h-old
    1018         -rm -f config.over
    1019 
    1020 # Do not 'make _tidy' directly.
    1021 _tidy:
    1022         -cd pod; $(LDLIBPTH) $(MAKE) clean
    1023         -cd utils; $(LDLIBPTH) $(MAKE) clean
    1024         -cd x2p; $(LDLIBPTH) $(MAKE) clean
    1025         -@for x in $(DYNALOADER) $(dynamic_ext) $(static_ext) $(nonxs_ext) ; do \
    1026         $(LDLIBPTH) sh ext/util/make_ext clean $$x MAKE=$(MAKE) ; \
    1027         done
    1028 
    1029 _cleaner1:
    1030         -cd os2; rm -f Makefile
    1031         -cd pod; $(LDLIBPTH) $(MAKE) $(CLEAN)
    1032         -cd utils; $(LDLIBPTH) $(MAKE) $(CLEAN)
    1033         -cd x2p; $(LDLIBPTH) $(MAKE) $(CLEAN)
    1034         -@for x in $(DYNALOADER) $(dynamic_ext) $(static_ext) $(nonxs_ext) ; do \
    1035         $(LDLIBPTH) sh ext/util/make_ext $(CLEAN) $$x MAKE=$(MAKE) ; \
    1036         done
    1037         -@test ! -f ./miniperl$(EXE_EXT) || $(LDLIBPTH) ./miniperl$(EXE_EXT) -Ilib mkppport --clean
    1038 
    1039 # Some systems do not support "?", so keep these files separate.
    1040 _cleaner2:
    1041         -rm -f core.*perl.*.? t/core.perl.*.? .?*.c
    1042         rm -f core *perl.core t/core t/*perl.core core.* t/core.*
    1043         rm -f t/misctmp* t/forktmp* t/tmp* t/c t/perl$(EXE_EXT) t/rantests
    1044         rm -f so_locations $(LIBPERL_NONSHR) $(MINIPERL_NONSHR)
    1045         rm -rf $(addedbyconf)
    1046         rm -f $(FIRSTMAKEFILE) $(FIRSTMAKEFILE).old makefile.old
    1047         rm -f $(private)
    1048         rm -rf $(unidatafiles) $(unidatadirs)
    1049         rm -rf lib/auto
    1050         rm -f lib/.exists lib/*/.exists lib/*/*/.exists
    1051         rm -f h2ph.man pstruct
    1052         rm -rf .config
    1053         rm -f preload
    1054         rm -rf lib/Encode lib/Compress lib/Hash lib/re
    1055         rm -rf lib/IO/Compress lib/IO/Uncompress
    1056         rm -f lib/ExtUtils/ParseXS/t/XSTest.c
    1057         rm -f lib/ExtUtils/ParseXS/t/XSTest$(OBJ_EXT)
    1058         rm -f lib/ExtUtils/ParseXS/t/XSTest$(DLSUFFIX)
    1059         -rmdir lib/B lib/Data
    1060         -rmdir lib/Filter/Util lib/IO/Socket
    1061         -rmdir lib/List lib/MIME lib/Scalar lib/Sys
    1062         -rmdir lib/threads lib/XS
    1063 
    1064 _realcleaner:
    1065         @$(LDLIBPTH) $(MAKE) _cleaner1 CLEAN=realclean
    1066         @$(LDLIBPTH) $(MAKE) _cleaner2
    1067 
    1068 _verycleaner:
    1069         @$(LDLIBPTH) $(MAKE) _cleaner1 CLEAN=veryclean
    1070         @$(LDLIBPTH) $(MAKE) _cleaner2
    1071         -rm -f *~ *.orig */*~ */*.orig */*/*~ */*/*.orig
    1072 
    1073 .PHONY: lint
    1074 lint: $(c)
    1075         rm -f *.ln
    1076         lint $(lintflags) -DPERL_CORE -D_REENTRANT -DDEBUGGING -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(c)
    1077 
    1078 .PHONY: splint
    1079 splint: $(c)
    1080         splint $(splintflags) -DPERL_CORE -D_REENTRANT -DDEBUGGING -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(splintfiles)
    1081 
    1082 # Need to unset during recursion to go out of loop.
    1083 # The README below ensures that the dependency list is never empty and
    1084 # that when MAKEDEPEND is empty $(FIRSTMAKEFILE) doesn't need rebuilding.
    1085 
    1086 MAKEDEPEND = Makefile makedepend
    1087 
    1088 $(FIRSTMAKEFILE):       README $(MAKEDEPEND)
    1089         $(MAKE) depend MAKEDEPEND=
    1090 
    1091 config.h: config_h.SH config.sh
    1092         $(SHELL) config_h.SH
    1093         # TODO - improve following line
    1094         cp config.h $(CROSS_LIB)/
    1095 
    1096 xconfig.h: config_h.SH Cross/config-$(CROSS_NAME).sh
    1097         CONFIG_SH=Cross/config-$(CROSS_NAME).sh CONFIG_H=xconfig.h $(SHELL) config_h.SH
    1098         #TODO $(LDLIBPTH) ./miniperl -Ilib -MCross=$(CROSS_NAME) config_h.PL "INST_VER=$(INST_VER)" "CORE_DIR=$(CROSS_LIB)" "CONFIG_H=xconfig.h"
    1099         cp xconfig.h $(CROSS_LIB)/
    1100         cp xconfig.h $(CROSS_LIB)/config.h
    1101 
    1102 # When done, touch perlmain.c so that it doesn't get remade each time.
    1103 .PHONY: depend
    1104 depend: makedepend
    1105         sh ./makedepend MAKE=$(MAKE)
    1106         - test -s perlmain.c && touch perlmain.c
    1107         cd x2p; $(MAKE) depend
    1108 
    1109 # Cannot postpone this until $firstmakefile is ready ;-)
    1110 makedepend: makedepend.SH config.sh
    1111         sh ./makedepend.SH
    1112 
    1113 .PHONY: test check test_prep test_prep_nodll test_prep_pre _test_prep \
    1114         test_tty test-tty _test_tty test_notty test-notty _test_notty \
    1115         utest ucheck test.utf8 check.utf8 test.torture torturetest \
    1116         test.utf16 check.utf16 utest.utf16 ucheck.utf16 \
    1117         test.third check.third utest.third ucheck.third test_notty.third \
    1118         test.deparse test_notty.deparse test_harness test_harness_notty \
    1119         minitest coretest test.taintwarn
    1120 
    1121 # Cannot delegate rebuilding of t/perl to make
    1122 # to allow interlaced test and minitest
    1123 
    1124 TESTFILE=TEST
    1125 
    1126 _test_prep: unpack_files
    1127         cd t && (rm -f $(PERL)$(EXE_EXT); $(LNS) ../$(PERL)$(EXE_EXT) $(PERL)$(EXE_EXT))
    1128 
    1129 # Architecture-neutral stuff:
    1130 
    1131 test_prep_pre: preplibrary utilities $(nonxs_ext)
    1132 
    1133 test_prep: test_prep_pre miniperl$(EXE_EXT) $(unidatafiles) perl$(EXE_EXT) $(dynamic_ext) $(TEST_PERL_DLL)
    1134         PERL=./perl $(MAKE) _test_prep
    1135 
    1136 _test_tty:
    1137         cd t && $(PERL_DEBUG) $(LDLIBPTH) $(PERL) $(TESTFILE) $(TEST_ARGS) </dev/tty
    1138 
    1139 _test_notty:
    1140         cd t && $(PERL_DEBUG) PERL_SKIP_TTY_TEST=1 $(LDLIBPTH) $(PERL) $(TESTFILE) $(TEST_ARGS)
    1141 
    1142 unpack_files:
    1143         $(LDLIBPTH) ./miniperl$(EXE_EXT) -Ilib uupacktool.pl -u -m
    1144 
    1145 cleanup_unpacked_files:
    1146         -@test ! -f ./miniperl$(EXE_EXT) || $(LDLIBPTH) ./miniperl$(EXE_EXT) -Ilib uupacktool.pl -c
    1147 
    1148 # The second branch is for testing without a tty or controlling terminal,
    1149 # see t/op/stat.t
    1150 _test:
    1151         if (true </dev/tty) >/dev/null 2>&1; then \
    1152           $(MAKE) TEST_ARGS=$(TEST_ARGS) TESTFILE=$(TESTFILE) _test_tty   ; \
    1153         else \
    1154           $(MAKE) TEST_ARGS=$(TEST_ARGS) TESTFILE=$(TESTFILE) _test_notty ; \
    1155         fi
    1156         @echo "Ran tests" > t/rantests
    1157 
    1158 test check: test_prep
    1159         PERL=./perl $(MAKE) _test
    1160 
    1161 test_tty: test_prep
    1162         PERL=./perl $(MAKE) _test_tty
    1163 
    1164 test_notty: test_prep
    1165         PERL=./perl $(MAKE) _test_notty
    1166 
    1167 utest ucheck test.utf8 check.utf8: test_prep
    1168         PERL=./perl TEST_ARGS=-utf8 $(MAKE) _test
    1169 
    1170 coretest: test_prep
    1171         PERL=./perl TEST_ARGS=-core $(MAKE) _test
    1172 
    1173 test-prep:      test_prep
    1174 
    1175 test-tty:       test_tty
    1176 
    1177 test-notty:     test_notty
    1178 
    1179 # Torture testing
    1180 
    1181 test.torture torturetest:       test_prep
    1182         PERL=./perl TEST_ARGS=-torture $(MAKE) _test
    1183 
    1184 # Targets for UTF16 testing:
    1185 
    1186 minitest.utf16: minitest.prep
    1187         - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl$(EXE_EXT) perl$(EXE_EXT)) \
    1188                 && $(LDLIBPTH) ./perl TEST -minitest -utf16 base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t </dev/tty
    1189 
    1190 test.utf16 check.utf16: test_prep
    1191         PERL=./perl $(MAKE) TEST_ARGS=-utf16 _test
    1192 
    1193 utest.utf16 ucheck.utf16: test_prep
    1194         PERL=./perl $(MAKE) TEST_ARGS="-utf8 -utf16" _test
    1195 
    1196 # Targets for valgrind testing:
    1197 
    1198 test_prep.valgrind: test_prep perl.valgrind
    1199         PERL=./perl $(MAKE) _test_prep
    1200 
    1201 test.valgrind check.valgrind:   test_prep perl.valgrind.config
    1202         PERL=./perl PERL_DEBUG=PERL_VALGRIND=1 VALGRIND='$(VALGRIND)' $(MAKE) _test
    1203 
    1204 utest.valgrind ucheck.valgrind: test_prep.valgrind perl.valgrind.config
    1205         PERL=./perl PERL_DEBUG=PERL_VALGRIND=1 TEST_ARGS=-utf8 $(MAKE) _test
    1206 
    1207 test_notty.valgrind: test_prep.valgrind perl.valgrind.config
    1208         PERL=./perl $(MAKE) PERL_DEBUG=PERL_VALGRIND=1 _test_notty
    1209 
    1210 # Targets for Third Degree testing.
    1211 
    1212 test_prep.third: test_prep perl.third
    1213         PERL=./perl.third $(MAKE) _test_prep
    1214 
    1215 test.third check.third: test_prep.third perl.third
    1216         PERL=./perl.third PERL_DEBUG=PERL_3LOG=1 $(MAKE) _test
    1217 
    1218 utest.third ucheck.third: test_prep.third perl.third
    1219         PERL=./perl.third PERL_DEBUG=PERL_3LOG=1 TEST_ARGS=-utf8 $(MAKE) _test
    1220 
    1221 test_notty.third: test_prep.third perl.third
    1222         PERL=./perl.third $(MAKE) PERL_DEBUG=PERL_3LOG=1 _test_notty
    1223 
    1224 # Targets for Deparse testing.
    1225 
    1226 test.deparse:   test_prep
    1227         PERL=./perl TEST_ARGS=-deparse $(MAKE) _test
    1228 
    1229 test_notty.deparse:     test_prep
    1230         PERL=./perl TEST_ARGS=-deparse $(MAKE) _test_notty
    1231 
    1232 # Targets to run the test suite with -t
    1233 
    1234 test.taintwarn: test_prep
    1235         PERL=./perl TEST_ARGS=-taintwarn $(MAKE) _test
    1236 
    1237 minitest.prep:
    1238         -@test -f lib/lib.pm && test -f lib/Config.pm || \
    1239           $(MAKE) lib/Config.pm lib/lib.pm $(unidatafiles)
    1240         @echo " "
    1241         @echo "You may see some irrelevant test failures if you have been unable"
    1242         @echo "to build lib/Config.pm, lib/lib.pm or the Unicode data files."
    1243         @echo " "
    1244 
    1245 # Can't depend on lib/Config.pm because that might be where miniperl
    1246 # is crashing.
    1247 minitest: miniperl$(EXE_EXT) lib/re.pm minitest.prep
    1248         - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl$(EXE_EXT) perl$(EXE_EXT)) \
    1249                 && $(LDLIBPTH) ./perl TEST -minitest base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t </dev/tty
    1250 
    1251 # Test via harness
    1252 
    1253 test_harness: test_prep
    1254         PERL=./perl $(MAKE) TESTFILE=harness _test
    1255 
    1256 test_harness_notty: test_prep
    1257         PERL=./perl HARNESS_NOTTY=1 $(MAKE) TESTFILE=harness _test
    1258 
    1259 # Handy way to run perlbug -ok without having to install and run the
    1260 # installed perlbug. We don't re-run the tests here - we trust the user.
    1261 # Please *don't* use this unless all tests pass.
    1262 # If you want to report test failures, use "make nok" instead.
    1263 
    1264 .PHONY: ok okfile oknack okfilenack nok nokfile noknack nokfilenack
    1265 
    1266 ok:     utilities
    1267         $(LDLIBPTH) ./perl -Ilib utils/perlbug -ok -s '(UNINSTALLED)'
    1268 
    1269 okfile: utilities
    1270         $(LDLIBPTH) ./perl -Ilib utils/perlbug -ok -s '(UNINSTALLED)' -F perl.ok
    1271 
    1272 oknack: utilities
    1273         $(LDLIBPTH) ./perl -Ilib utils/perlbug -ok -s '(UNINSTALLED)' -A
    1274 
    1275 okfilenack:     utilities
    1276         $(LDLIBPTH) ./perl -Ilib utils/perlbug -ok -s '(UNINSTALLED)' -F perl.ok -A
    1277 
    1278 nok:    utilities
    1279         $(LDLIBPTH) ./perl -Ilib utils/perlbug -nok -s '(UNINSTALLED)'
    1280 
    1281 nokfile:        utilities
    1282         $(LDLIBPTH) ./perl -Ilib utils/perlbug -nok -s '(UNINSTALLED)' -F perl.nok
    1283 
    1284 noknack:        utilities
    1285         $(LDLIBPTH) ./perl -Ilib utils/perlbug -nok -s '(UNINSTALLED)' -A
    1286 
    1287 nokfilenack:    utilities
    1288         $(LDLIBPTH) ./perl -Ilib utils/perlbug -nok -s '(UNINSTALLED)' -F perl.nok -A
    1289 
    1290 .PHONY: clist hlist shlist pllist
    1291 
    1292 clist:  $(c)
    1293         echo $(c) | tr ' ' $(TRNL) >.clist
    1294 
    1295 hlist:  $(h)
    1296         echo $(h) | tr ' ' $(TRNL) >.hlist
    1297 
    1298 shlist: $(sh)
    1299         echo $(sh) | tr ' ' $(TRNL) >.shlist
    1300 
    1301 pllist: $(pl)
    1302         echo $(pl) | tr ' ' $(TRNL) >.pllist
    1303 
    1304 Makefile: Makefile.SH ./config.sh
    1305         $(SHELL) Makefile.SH
    1306 
    1307 .PHONY: distcheck
    1308 distcheck: FORCE
    1309         perl '-MExtUtils::Manifest=&fullcheck' -e 'fullcheck()'
    1310 
    1311 .PHONY: elc
    1312 elc:    emacs/cperl-mode.elc
    1313 
    1314 emacs/cperl-mode.elc: emacs/cperl-mode.el
    1315         -cd emacs; emacs -batch -q -no-site-file -f batch-byte-compile cperl-mode.el
    1316 
    1317 .PHONY: etags ctags tags
    1318 
    1319 etags:  TAGS
    1320 
    1321 TAGS: emacs/cperl-mode.elc
    1322         sh emacs/ptags
    1323 
    1324 # Let's hope make will not go into an infinite loop on case-unsensitive systems
    1325 # This may also fail if . is in the head of the path, since perl will
    1326 # require -Ilib
    1327 tags:   TAGS
    1328         perl emacs/e2ctags.pl TAGS > tags
    1329 
    1330 ctags:
    1331         ctags -f Tags -N --totals --languages=c --langmap=c:+.h --exclude=opmini.c *.c *.h
    1332 
    1333 # AUTOMATICALLY GENERATED MAKE DEPENDENCIES--PUT NOTHING BELOW THIS LINE
    1334 # If this runs make out of memory, delete /usr/include lines.
    1335 !NO!SUBS!
    1336 
    1337 $eunicefix $Makefile
    1338 case `pwd` in
    1339 *SH)
    1340     $rm -f ../$Makefile
    1341     $ln $Makefile ../$Makefile
    1342     ;;
    1343 esac
    1344 $rm -f $firstmakefile
    1345 
    1346 # Now do any special processing required before building.
    1347 
    1348 case "$ebcdic" in
    1349 define)
    1350     xxx=''
    1351     echo "This is an EBCDIC system, checking if any parser files need regenerating." >&2
    1352 case "$osname" in
    1353 os390|posix-bc)
    1354     if cd x2p
    1355     then
    1356         rm -f y.tab.c y.tab.h
    1357         case "$osname" in
    1358         posix-bc)
    1359            # we are using two different yaccs in BS2000 Posix!
    1360            byacc a2p.y >/dev/null 2>&1
    1361            ;;
    1362         *) # e.g. os390
    1363            yacc  a2p.y >/dev/null 2>&1
    1364            ;;
    1365         esac
    1366         if cmp -s y.tab.c a2p.c
    1367         then
    1368             rm -f y.tab.c
    1369         else
    1370             echo "a2p.y -> a2p.c" >&2
    1371             mv -f y.tab.c a2p.c
    1372             chmod u+w a2p.c
    1373             sed -e 's/fprintf *( *stderr *,/PerlIO_printf(Perl_debug_log,/g' \
    1374                 -e 's|^static void __YY_YACC_MAIN.*BS2000.*|/*static main deleted*/|' \
    1375                 -e 's/y\.tab/a2p/g' a2p.c >a2p.tmp && mv a2p.tmp a2p.c
    1376             xxx="$xxx a2p.c"
    1377         fi
    1378         # In case somebody yacc -d:ed the a2p.y.
    1379         if test -f y.tab.h
    1380         then
    1381             if cmp -s y.tab.h a2p.h
    1382             then
    1383                 rm -f y.tab.h
    1384             else
    1385                 echo "a2p.h -> a2p.h" >&2
    1386                 mv -f y.tab.h a2p.h
    1387                 xxx="$xxx a2p.h"
    1388             fi
    1389         fi
    1390         cd ..
    1391     fi
    1392     ;;
    1393 vmesa)
    1394     # Do nothing in VM/ESA.
    1395     ;;
    1396 *)
    1397     echo "'$osname' is an EBCDIC system I don't know that well." >&4
    1398     ;;
    1399 esac
    1400     case "$xxx" in
    1401     '') echo "No parser files were regenerated.  That's okay." >&2 ;;
    1402     esac
    1403     ;;
    1404 esac
    1405 
    1406 # ex: set ts=8 sts=4 sw=4 noet:
  • Cross/Makefile.SH.patch

    diff -Naur perl-5.10.0.orig/Cross/Makefile.SH.patch perl-5.10.0/Cross/Makefile.SH.patch
    old new  
    1 --- ../Makefile.SH
    2 +++ ../Makefile.SH
    3 @@ -129,18 +129,7 @@
    4             # INSTALL file, under "Building a shared perl library".
    5             # If there is no pre-existing $libperl, we don't need
    6             # to do anything further.
    7 -           if test -f $archlib/CORE/$libperl; then
    8 -               rm -f preload
    9 -               cat <<'EOT' > preload
    10 -#! /bin/sh
    11 -lib=$1
    12 -shift
    13 -test -r $lib && export LD_PRELOAD="$lib $LD_PRELOAD"
    14 -exec "$@"
    15 -EOT
    16 -               chmod 755 preload
    17 -               ldlibpth="$ldlibpth `pwd`/preload `pwd`/$libperl"
    18 -           fi
    19 +           echo linux libraries overwritten by cross-compile patches
    20             ;;
    21         os390)  test -f /bin/env && ldlibpth="/bin/env $ldlibpth"
    22                 ;;
    23 @@ -389,9 +378,21 @@
    24  .c.s:
    25         $(CCCMDSRC) -S $*.c
    26  
    27 -all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT) extra.pods $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make
    28 -       @echo " ";
    29 -       @echo " Everything is up to date. Type '$(MAKE) test' to run test suite."
    30 +#all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT) extra.pods $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make
    31 +#      @echo " ";
    32 +#      @echo " Everything is up to date. Type '$(MAKE) test' to run test suite."
    33 +
    34 +all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT)
    35 +       mv miniperl miniperl-arm
    36 +       ln -s /usr/bin/perl miniperl
    37 +
    38 +more: extra.pods $(private) $(public)
    39 +
    40 +more2: $(dynamic_ext)
    41 +
    42 +more3: $(nonxs_ext)
    43 +
    44 +more4: extras.make
    45  
    46  .PHONY: all compile translators utilities
    47  
    48 @@ -401,10 +402,10 @@
    49         cd x2p; $(MAKE) compile;
    50         cd pod; $(MAKE) compile;
    51  
    52 -translators:   miniperl$(EXE_EXT) $(CONFIGPM) FORCE
    53 +translators:   $(CONFIGPM) FORCE
    54         @echo " "; echo "       Making x2p stuff"; cd x2p; $(LDLIBPTH) $(MAKE) all
    55  
    56 -utilities:     miniperl$(EXE_EXT) $(CONFIGPM) $(plextract) lib/lib.pm FORCE
    57 +utilities:     $(CONFIGPM) $(plextract) lib/lib.pm FORCE
    58         @echo " "; echo "       Making utilities"; cd utils; $(LDLIBPTH) $(MAKE) all
    59  
    60  
    61 @@ -579,7 +580,7 @@
    62         $(CC) -o miniperl $(CLDFLAGS) \
    63             `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
    64             miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perl$(OBJ_EXT) $(libs)
    65 -       $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
    66 +#      $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
    67  !NO!SUBS!
    68                 ;;
    69         next4*)
    70 @@ -587,7 +588,7 @@
    71  miniperl: $& miniperlmain$(OBJ_EXT) $(LIBPERL) opmini$(OBJ_EXT)
    72         $(CC) -o miniperl `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
    73             miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perl$(OBJ_EXT) $(libs)
    74 -       $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
    75 +#      $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
    76  !NO!SUBS!
    77                 ;;
    78         darwin*)
    79 @@ -754,7 +755,7 @@
    80  # We need to autosplit in two steps because VOS can't handle so many args
    81  #
    82  .PHONY: preplibrary
    83 -preplibrary: miniperl$(EXE_EXT) $(CONFIGPM) lib/lib.pm $(PREPLIBRARY_LIBPERL)
    84 +preplibrary: $(CONFIGPM) lib/lib.pm $(PREPLIBRARY_LIBPERL)
    85         @sh ./makedir lib/auto
    86         @echo " AutoSplitting perl library"
    87         $(LDLIBPTH) ./miniperl -Ilib -e 'use AutoSplit; \
    88 @@ -763,35 +764,35 @@
    89                 autosplit_lib_modules(@ARGV)' lib/*/*.pm
    90         $(MAKE) lib/re.pm
    91  
    92 -lib/Config.pod: config.sh miniperl$(EXE_EXT) configpm Porting/Glossary
    93 +lib/Config.pod: config.sh configpm Porting/Glossary
    94         $(LDLIBPTH) ./miniperl -Ilib configpm --heavy=lib/Config_heavy.pl lib/Config.pm
    95  
    96  $(CONFIGPM): lib/Config.pod
    97  
    98 -lib/ExtUtils/Miniperl.pm: miniperlmain.c miniperl$(EXE_EXT) minimod.pl $(CONFIGPM)
    99 +lib/ExtUtils/Miniperl.pm: miniperlmain.c minimod.pl $(CONFIGPM)
    100         $(LDLIBPTH) ./miniperl minimod.pl > lib/ExtUtils/Miniperl.pm
    101  
    102  lib/re.pm: ext/re/re.pm
    103         cp ext/re/re.pm lib/re.pm
    104  
    105 -$(plextract):  miniperl$(EXE_EXT) $(CONFIGPM) x2p/s2p
    106 +$(plextract):  $(CONFIGPM) x2p/s2p
    107         @-rm -f $@
    108         $(LDLIBPTH) ./miniperl -I`pwd`/lib $@.PL
    109  
    110 -x2p/s2p: miniperl$(EXE_EXT) $(CONFIGPM) x2p/s2p.PL
    111 +x2p/s2p: $(CONFIGPM) x2p/s2p.PL
    112         cd x2p; $(LDLIBPTH) $(MAKE) s2p
    113  
    114 -lib/lib.pm:    miniperl$(EXE_EXT) $(CONFIGPM)
    115 +lib/lib.pm:    $(CONFIGPM)
    116         @-rm -f $@
    117         $(LDLIBPTH) ./miniperl -Ilib lib/lib_pm.PL
    118  
    119  unidatafiles $(unidatafiles): uni.data
    120  
    121 -uni.data: miniperl$(EXE_EXT) $(CONFIGPM) lib/unicore/mktables
    122 +uni.data: $(CONFIGPM) lib/unicore/mktables
    123         cd lib/unicore && $(LDLIBPTH) ../../miniperl -I../../lib mktables -w
    124         touch uni.data
    125  
    126 -extra.pods: miniperl$(EXE_EXT)
    127 +extra.pods:
    128         -@test -f extra.pods && rm -f `cat extra.pods`
    129         -@rm -f extra.pods
    130         -@for x in `grep -l '^=[a-z]' README.* | grep -v README.vms` ; do \
    131 @@ -837,18 +838,7 @@
    132  INSTALL_DEPENDENCE = all
    133  
    134  install.perl:  $(INSTALL_DEPENDENCE) installperl
    135 -       if [ -n "$(COMPILE)" ]; \
    136 -       then \
    137 -               cd utils; $(MAKE) compile; \
    138 -               cd ../x2p; $(MAKE) compile; \
    139 -               cd ../pod; $(MAKE) compile; \
    140 -       else :; \
    141 -       fi
    142 -       $(LDLIBPTH) ./perl installperl --destdir=$(DESTDIR) $(INSTALLFLAGS) $(STRIPFLAGS)
    143 -       $(MAKE) extras.install
    144 -
    145 -install.man:   all installman
    146 -       $(LDLIBPTH) ./perl installman --destdir=$(DESTDIR) $(INSTALLFLAGS)
    147 +       /usr/bin/perl -Ifake_config_library -MConfig installperl $(INSTALLFLAGS) $(STRIPFLAGS)
    148  
    149  # XXX Experimental. Hardwired values, but useful for testing.
    150  # Eventually Configure could ask for some of these values.
    151 @@ -950,16 +940,16 @@
    152  #
    153  # DynaLoader may be needed for extensions that use Makefile.PL.
    154  
    155 -$(DYNALOADER): miniperl$(EXE_EXT) preplibrary FORCE
    156 +$(DYNALOADER): preplibrary FORCE
    157         @$(LDLIBPTH) sh ext/util/make_ext $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
    158  
    159 -d_dummy $(dynamic_ext):        miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE
    160 +d_dummy $(dynamic_ext):        preplibrary $(DYNALOADER) FORCE
    161         @$(LDLIBPTH) sh ext/util/make_ext dynamic $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
    162  
    163 -s_dummy $(static_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE
    164 +s_dummy $(static_ext): preplibrary $(DYNALOADER) FORCE
    165         @$(LDLIBPTH) sh ext/util/make_ext $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
    166  
    167 -n_dummy $(nonxs_ext):  miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE
    168 +n_dummy $(nonxs_ext):  preplibrary $(DYNALOADER) FORCE
    169         @$(LDLIBPTH) sh ext/util/make_ext nonxs $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
    170  
    171  .PHONY: clean _tidy _mopup _cleaner1 _cleaner2 \
    172 @@ -1101,7 +1091,7 @@
    173  
    174  test_prep_pre: preplibrary utilities $(nonxs_ext)
    175  
    176 -test_prep: test_prep_pre miniperl$(EXE_EXT) $(unidatafiles) perl$(EXE_EXT) $(dynamic_ext) $(TEST_PERL_DLL)
    177 +test_prep: test_prep_pre $(unidatafiles) perl$(EXE_EXT) $(dynamic_ext) $(TEST_PERL_DLL)
    178         PERL=./perl $(MAKE) _test_prep
    179  
    180  _test_tty:
    181 @@ -1214,7 +1204,7 @@
    182  
    183  # Can't depend on lib/Config.pm because that might be where miniperl
    184  # is crashing.
    185 -minitest: miniperl$(EXE_EXT) lib/re.pm minitest.prep
    186 +minitest: lib/re.pm minitest.prep
    187         - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl$(EXE_EXT) perl$(EXE_EXT)) \
    188                 && $(LDLIBPTH) ./perl TEST -minitest base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t </dev/tty
    189  
  • Cross/README

    diff -Naur perl-5.10.0.orig/Cross/README perl-5.10.0/Cross/README
    old new  
    1 Building for arm-linux
    2 ----------------------
    3 
    4 The files in this directory add another cross-compilation
    5 target to the Perl buildsystem.  It was built as a part of
    6 the Open Zaurus (http://www.openzaurus.com/) distribution.
    7 Most / All of the arm compiler optimisations are "borrowed"
    8 from this excellent project.
    9 
    10 (Further discussion about cross-compiling Perl in the top level
    11 INSTALL file, see the section "Cross-compilation".)
    12 
    13 The main target is arm-linux but I have also managed to
    14 successfully cross-compile Perl for Solaris x86 using the same
    15 buildsystem.
    16 
    17 We are currently dependent on an existing working local copy of
    18 Perl ** of the same version and revision ** which is available
    19 as /usr/bin/perl.
    20 
    21 You need a working and tested cross-compiler for your build
    22 and target combination.  The binary directory must be in
    23 your path.
    24 
    25 1)      You should be reading me (README) in perl-5.x.y/Cross
    26 
    27 2)      Make sure you are in the Cross directory.
    28 
    29 3)      Edit the file 'config' to contain your target platform information.
    30 
    31 4)      make patch      ## This will patch the existing source-tree.
    32 5)      make perl       ## Will make perl
    33 
    34 Your built Perl environment is in install_me_here/ in your build
    35 directory.  From here you can package and deploy as you wish.
    36 
    37 Omissions
    38 ----------
    39 
    40 This does NOT perform any installation.
    41 
    42 Make test will NOT work.
    43 
    44 We do not provide documentation in the core,  man pages are not generated.
    45 
    46 Other Targets (For Developers)
    47 ------------------------------
    48 
    49 It is possible to extend the cross-compilation to other targets.
    50 We have sucessfully compiled for the target solaris2.8/x86
    51 on linux/x86 build system.
    52 
    53 To attempt a cross-compile for another target using the methods
    54 in this directory:
    55 
    56 1)      Copy the Perl source code onto your TARGET machine.
    57 2)      Execute sh Configure as normal and configure as required,
    58         do not "make".
    59 3)      Copy the config.sh file that is generated to your BUILD
    60         machine and place it in the Cross directory with the
    61         filename config.sh-ARCH-OS.  For example,
    62         config.sh-i386-pc-solaris2.8.  For the appropriate ARCH
    63         and OS please refer to your cross-compiler documentation.
    64 4)      Edit Cross/config to reflect your new target and continue
    65         with build as above.
    66 
    67 Should you wish to produce optimised binaries for different
    68 architectures you can add the appropriate compiler flags to
    69 the Makefile in a new ifeq ($(ARCH),...) ... endif block.
    70 
    71 
    72 Please refer to your cross-compiler documentation for details.
    73 
    74 
    75         Note that the Cross/ directory is also used by a different
    76         cross-compilation setup described in the INSTALL file, and
    77         executed by Configure.  There should be no conflicts since
    78         it is unlikely both that cross-compilation setups are used
    79         simultaneously.
    80 
    81 Enjoy!
    82 
    83 References
    84 ----------
    85 Redvers Davies <red@criticalintegration.com>
    86 Open Zaurus http://www.openzaurus.org/
    87 Perl OZ Packages http://www.criticalintegration.com/perl-oz/
  • Cross/README.new

    diff -Naur perl-5.10.0.orig/Cross/README.new perl-5.10.0/Cross/README.new
    old new  
    1 You're reading ./Cross/README.new, describing Perl cross-compilation process.
    2 NOTE: this file will replace ./Cross/README, after the cross-compilation scheme
    3 is stabilized.
    4 
    5 =head1 NAME
    6 
    7 README.new - Cross-compilation for linux
    8 
    9 =head1 DESCRIPTION
    10 
    11 This is second approach to linux cross-compilation, which should allow
    12 building full perl and entensions for target platform. Cross-compilation
    13 for linux uses similar approach and shares the same files as
    14 cross-compilation for WinCE.
    15 
    16 We refer to HOST as the platform where the build is performed, and to
    17 TARGET as where final executables will run.
    18 
    19 =head2 Basic ideas
    20 
    21 =head3 common
    22 
    23 Unlike WinCE, output files from GCC cross-compiler are produced in the same
    24 directory where C files are. All TARGET binaries have different extensions
    25 so to distinguish HOST and TARGET binaries. Namely, object files for C<arm>
    26 cross-compilation will have extension C<.armo>, executable files will have
    27 C<.arm>.
    28 
    29 After typical cross-compilation the following files will be built, among
    30 others:
    31 
    32   sv.c
    33   sv.o
    34   sv.armo
    35   libperl.arma
    36 
    37 (this approach may be reconsidered, however.)
    38 
    39 =head3 build process
    40 
    41 C<miniperl> is built. This executable is intended to run on HOST, and it
    42 will facilitate the remaining build process; all binaries built after it are
    43 foreign (TARGET) and should not run locally (HOST).
    44 
    45 Unlike HOST build, miniperl will not have C<Config.pm> of HOST within reach;
    46 it rather will use the C<Config.pm> from the cross-compilation directories.
    47 In fact, if the build process does have Config.pm within reach, this is only
    48 an indication of a mistake somewhere in the middle.
    49 
    50   # following command is okay:
    51   ./miniperl -Ilib -MCross -MConfig -e 1
    52   # following command should cluck, and it is bad if it does not:
    53   ./miniperl -Ilib -MConfig -e 1
    54 
    55 After C<miniperl> is built, C<configpm> is invoked to create an
    56 appropriate C<Config.pm> in the right place and its corresponding
    57 C<Cross.pm>.
    58 
    59 File C<Cross.pm> is dead simple: for given cross-architecture places in @INC
    60 a path where perl modules are, and right C<Config.pm> in that place.
    61 
    62 That said, C<miniperl -Ilib -MConfig -we 1> should report an error, because
    63 it cannot find C<Config.pm>. If it does not give an error, a wrong C<Config.pm>
    64 is substituted, and resulting binaries will be a mess.
    65 
    66 C<miniperl -MCross -MConfig -we 1> should run okay, and it will provide a
    67 correct C<Config.pm> for further compilations.
    68 
    69 During extensions build phase, the script C<./ext/util/make_ext_cross> is
    70 invoked.
    71 
    72 All invocations of C<Makefile.PL> are provided with C<-MCross> so to enable
    73 cross-compilation.
    74 
    75 =head2 BUILD
    76 
    77 =head3 Tools & SDK
    78 
    79 To compile, you need the following:
    80 
    81 =over 4
    82 
    83 =item * TODO
    84 
    85 =back
    86 
    87 =head1 Things to be done
    88 
    89 =over 4
    90 
    91 =item * better distinguishing of config.h/xconfig.h, dependencies
    92 
    93 =item * object files created in ./xlib/cross-name/ ?
    94 
    95 =back
  • Cross/TODO

    diff -Naur perl-5.10.0.orig/Cross/TODO perl-5.10.0/Cross/TODO
    old new  
    1 Provide a better sandbox for building additional XS libraries.
  • Cross/warp

    diff -Naur perl-5.10.0.orig/Cross/warp perl-5.10.0/Cross/warp
    old new  
    1 #!/bin/sh -x
    2 
    3 ## This script contains an rm -rf.  This may alarm you.
    4 ## These directories need to be reccursively deleted.
    5 ## I don't see any method of making "Bad Things"[tm]
    6 ## Happen.  But we don't run buildroot as root do we? :-)
    7 
    8 for f in `find lib -name install_me_here`;do
    9 cp -r $f/* ./install_me_here/
    10 done
    11 
    12 for f in `find lib -name install_me_here`;do
    13 rm -rf $f
    14 done
  • ext/util/make_ext

    diff -Naur perl-5.10.0.orig/ext/util/make_ext perl-5.10.0/ext/util/make_ext
    old new  
    126126esac
    127127
    128128if test ! -f $makefile ; then
    129         test -f Makefile.PL && $run ../$depth/miniperl -I../$depth/lib Makefile.PL INSTALLDIRS=perl INSTALLMAN3DIR=none PERL_CORE=1 $passthru
     129        test -f Makefile.PL && $run ../$depth/miniperl-cross -I../$depth/lib Makefile.PL INSTALLDIRS=perl INSTALLMAN3DIR=none PERL_CORE=1 $passthru
    130130fi
    131131if test ! -f $makefile ; then
    132132        echo "Warning: No Makefile!"
  • lib/unicore/Makefile

    diff -Naur perl-5.10.0.orig/lib/unicore/Makefile perl-5.10.0/lib/unicore/Makefile
    old new  
    11all:
    2         ../../miniperl -I../../lib ./mktables
     2        ../../miniperl-cross -I../../lib ./mktables
    33
    44TestProp.pl: mktables UnicodeData.txt Scripts.txt Blocks.txt PropList.txt
    5         ../../miniperl -I../../lib ./mktables -maketest
     5        ../../miniperl-cross -I../../lib ./mktables -maketest
    66
    77test:   TestProp.pl
    8         ../../miniperl -I../../lib TestProp.pl
     8        ../../miniperl-cross -I../../lib TestProp.pl
    99
    1010clean:
    1111        rm -f *.pl */*.pl
  • Makefile.SH

    diff -Naur perl-5.10.0.orig/Makefile.SH perl-5.10.0/Makefile.SH
    old new  
    634634        $(CC) -o miniperl $(CLDFLAGS) \
    635635            `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
    636636            miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) $(libs)
    637         $(LDLIBPTH) $(RUN) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
     637        $(LDLIBPTH) $(RUN) ./miniperl-cross -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
    638638!NO!SUBS!
    639639                ;;
    640640        next4*)
     
    642642miniperl: $& miniperlmain$(OBJ_EXT) $(obj) opmini$(OBJ_EXT)
    643643        $(CC) -o miniperl `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
    644644            miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) $(libs)
    645         $(LDLIBPTH) $(RUN) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
     645        $(LDLIBPTH) $(RUN) ./miniperl-cross -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
    646646!NO!SUBS!
    647647                ;;
    648648        darwin*)
     
    664664        $(CC) $(CLDFLAGS) $(NAMESPACEFLAGS) -o miniperl \
    665665            `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
    666666            miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) $(libs)
    667         $(LDLIBPTH) $(RUN) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
     667        $(LDLIBPTH) $(RUN) ./miniperl-cross -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
    668668!NO!SUBS!
    669669                ;;
    670670        *)
     
    674674        $(LDLIBPTH) $(CC) $(CLDFLAGS) -o miniperl \
    675675            `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
    676676            miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) $(libs)
    677         $(LDLIBPTH) $(RUN) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
     677        $(LDLIBPTH) $(RUN) ./miniperl-cross -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
    678678!NO!SUBS!
    679679                ;;
    680680        esac
     
    806806.PHONY: makeppport
    807807makeppport: miniperl\$(EXE_EXT) \$(CONFIGPM)
    808808        -@for f in Makefile.PL PPPort_pm.PL PPPort_xs.PL ppport_h.PL; do \
    809         (cd ext/Devel/PPPort && `pwd`/run.sh ../../../miniperl -I../../../lib \$\$f); \
     809        (cd ext/Devel/PPPort && `pwd`/run.sh ../../../miniperl-cross -I../../../lib \$\$f); \
    810810        done
    811811
    812812!GROK!THIS!
     
    815815$spitshell >>Makefile <<'!NO!SUBS!'
    816816.PHONY: makeppport
    817817makeppport: miniperl$(EXE_EXT) $(CONFIGPM)
    818         $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -Ilib mkppport
     818        $(LDLIBPTH) $(RUN) ./miniperl-cross$(EXE_EXT) -Ilib mkppport
    819819
    820820!NO!SUBS!
    821821;;
     
    837837preplibrary: miniperl$(EXE_EXT) $(CONFIGPM) lib/lib.pm $(PREPLIBRARY_LIBPERL)
    838838        @sh ./makedir lib/auto
    839839        @echo " AutoSplitting perl library"
    840         $(LDLIBPTH) $(RUN) ./miniperl -Ilib -e 'use AutoSplit; \
     840        $(LDLIBPTH) $(RUN) ./miniperl-cross -Ilib -e 'use AutoSplit; \
    841841                autosplit_lib_modules(@ARGV)' lib/*.pm
    842         $(LDLIBPTH) $(RUN) ./miniperl -Ilib -e 'use AutoSplit; \
     842        $(LDLIBPTH) $(RUN) ./miniperl-cross -Ilib -e 'use AutoSplit; \
    843843                autosplit_lib_modules(@ARGV)' lib/*/*.pm
    844844        $(MAKE) lib/re.pm
    845845
    846846lib/Config.pod: config.sh miniperl$(EXE_EXT) configpm Porting/Glossary
    847         $(LDLIBPTH) $(RUN) ./miniperl -Ilib configpm
     847        $(LDLIBPTH) $(RUN) ./miniperl-cross -Ilib configpm
    848848
    849849$(CONFIGPM): lib/Config.pod
    850850
    851851lib/ExtUtils/Miniperl.pm: miniperlmain.c miniperl$(EXE_EXT) minimod.pl $(CONFIGPM)
    852         $(LDLIBPTH) $(RUN) ./miniperl minimod.pl > lib/ExtUtils/Miniperl.pm
     852        $(LDLIBPTH) $(RUN) ./miniperl-cross minimod.pl > lib/ExtUtils/Miniperl.pm
    853853
    854854lib/re.pm: ext/re/re.pm
    855855        @-rm -f $@
     
    857857
    858858$(plextract):   miniperl$(EXE_EXT) $(CONFIGPM) x2p/s2p
    859859        @-rm -f $@
    860         $(LDLIBPTH) $(RUN) ./miniperl -I`pwd`/lib $@.PL
     860        $(LDLIBPTH) $(RUN) ./miniperl-cross -I`pwd`/lib $@.PL
    861861
    862862x2p/s2p: miniperl$(EXE_EXT) $(CONFIGPM) x2p/s2p.PL
    863863        cd x2p; $(LDLIBPTH) $(MAKE) s2p
    864864
    865865lib/lib.pm:     miniperl$(EXE_EXT) $(CONFIGPM)
    866866        @-rm -f $@
    867         $(LDLIBPTH) $(RUN) ./miniperl -Ilib lib/lib_pm.PL
     867        $(LDLIBPTH) $(RUN) ./miniperl-cross -Ilib lib/lib_pm.PL
    868868
    869869unidatafiles $(unidatafiles): uni.data
    870870
    871871uni.data: miniperl$(EXE_EXT) $(CONFIGPM) lib/unicore/mktables
    872         cd lib/unicore && $(LDLIBPTH) $(RUN) ../../miniperl -I../../lib mktables -w
     872        cd lib/unicore && $(LDLIBPTH) $(RUN) ../../miniperl-cross -I../../lib mktables -w
    873873        touch uni.data
    874874
    875875extra.pods: miniperl$(EXE_EXT)
     
    898898        no-install install.perl install.man install.html
    899899
    900900META.yml:       Porting/makemeta Porting/Maintainers.pl Porting/Maintainers.pm
    901         $(LDLIBPTH) $(RUN) ./miniperl -Ilib Porting/makemeta
     901        $(LDLIBPTH) $(RUN) ./miniperl-cross -Ilib Porting/makemeta
    902902
    903903install-strip:
    904904        $(MAKE) STRIPFLAGS=-s install DESTDIR="$(DESTDIR)"
     
    11011101        -@for x in $(DYNALOADER) $(dynamic_ext) $(static_ext) $(nonxs_ext) ; do \
    11021102        $(LDLIBPTH) sh ext/util/make_ext $(CLEAN) $$x MAKE=$(MAKE) ; \
    11031103        done
    1104         -@test ! -f $(RUN) ./miniperl$(EXE_EXT) || $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -Ilib mkppport --clean
     1104        -@test ! -f $(RUN) ./miniperl-cross$(EXE_EXT) || $(LDLIBPTH) $(RUN) ./miniperl-cross$(EXE_EXT) -Ilib mkppport --clean
    11051105
    11061106# Some systems do not support "?", so keep these files separate.
    11071107_cleaner2:
     
    12041204        cd t && $(PERL_DEBUG) PERL_SKIP_TTY_TEST=1 $(LDLIBPTH) $(PERL) $(TESTFILE) $(TEST_ARGS) $(TEST_FILES)
    12051205
    12061206unpack_files:
    1207         $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -Ilib uupacktool.pl -u -m
     1207        $(LDLIBPTH) $(RUN) ./miniperl-cross$(EXE_EXT) -Ilib uupacktool.pl -u -m
    12081208
    12091209cleanup_unpacked_files:
    1210         -@test ! -f $(RUN) ./miniperl$(EXE_EXT) || $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -Ilib uupacktool.pl -c
     1210        -@test ! -f $(RUN) ./miniperl-cross$(EXE_EXT) || $(LDLIBPTH) $(RUN) ./miniperl-cross$(EXE_EXT) -Ilib uupacktool.pl -c
    12111211
    12121212# The second branch is for testing without a tty or controlling terminal,
    12131213# see t/op/stat.t
     
    12481248# Targets for UTF16 testing:
    12491249
    12501250minitest.utf16: minitest.prep
    1251         - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl$(EXE_EXT) perl$(EXE_EXT)) \
     1251        - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl-cross$(EXE_EXT) perl$(EXE_EXT)) \
    12521252                && $(LDLIBPTH) $(RUN) ./perl TEST -minitest -utf16 base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t mro/*.t </dev/tty
    12531253
    12541254test.utf16 check.utf16: test_prep
     
    13091309# Can't depend on lib/Config.pm because that might be where miniperl
    13101310# is crashing.
    13111311minitest: miniperl$(EXE_EXT) lib/re.pm minitest.prep
    1312         - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl$(EXE_EXT) perl$(EXE_EXT)) \
     1312        - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl-cross$(EXE_EXT) perl$(EXE_EXT)) \
    13131313                && $(LDLIBPTH) $(RUN) ./perl TEST -minitest base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t mro/*.t </dev/tty
    13141314
    13151315# Test via harness
  • perl-5.10.0

    diff -Naur perl-5.10.0.orig/MANIFEST perl-5.10.0/MANIFEST
    old new  
    2525configure.gnu           Crude emulation of GNU configure
    2626cop.h                   Control operator header
    2727Copying                 The GNU General Public License
    28 Cross/build-arm-n770-sh Cross-compilation
    29 Cross/cflags-cross-arm  Cross-compilation
    30 Cross/config            Cross-compilation
     28Cross/cleanconfig.sh    Cross-compilation
    3129Cross/config.sh-arm-linux       Cross-compilation
    32 Cross/config.sh-arm-linux-n770  Cross-compilation
    33 Cross/generate_config_sh        Cross-compilation
    34 Cross/installperl.patch         Cross-compilation
     30Cross/config.sh-x86-linux       Cross-compilation
    3531Cross/Makefile          Cross-compilation
    36 Cross/Makefile-cross-SH Cross-compilation
    37 Cross/Makefile.SH.patch Cross-compilation
    38 Cross/README            Cross-compilation
    39 Cross/README.new        Cross-compilation
    40 Cross/TODO              Cross-compilation
    41 Cross/warp              Cross-compilation
    4232cv.h                    Code value header
    4333cygwin/cygwin.c         Additional code for Cygwin port
    4434cygwin/Makefile.SHs     Shared library generation for Cygwin port
  • pod/Makefile.SH

    diff -Naur perl-5.10.0.orig/pod/Makefile.SH perl-5.10.0/pod/Makefile.SH
    old new  
    6363            --podroot=.. --podpath=pod:lib:ext:vms \
    6464            --libpods=perlfunc:perlguts:perlvar:perlrun:perlop
    6565
    66 PERL = ../miniperl
     66PERL = ../miniperl-cross
    6767PERLILIB = $(PERL) -I../lib
    6868REALPERL = ../perl
    6969
  • utils/Makefile

    diff -Naur perl-5.10.0.orig/utils/Makefile perl-5.10.0/utils/Makefile
    old new  
    11
    2 PERL = ../miniperl
     2PERL = ../miniperl-cross
    33REALPERL = ../perl
    44RUN =   # Used mainly cross-compilation setups.
    55
  • x2p/Makefile.SH

    diff -Naur perl-5.10.0.orig/x2p/Makefile.SH perl-5.10.0/x2p/Makefile.SH
    old new  
    171171# These should be automatically generated
    172172
    173173$(plextract):
    174         $(RUN) ../miniperl -I../lib $@.PL
     174        $(RUN) ../miniperl-cross -I../lib $@.PL
    175175
    176176find2perl: find2perl.PL
    177177
Note: See TracBrowser for help on using the repository browser.