source:
clfs-sysroot/patches/perl-5.10.0-cross_compile-1.patch@
884b14a
Last change on this file since 884b14a was 6bfb8bc, checked in by , 16 years ago | |
---|---|
|
|
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 TARGET3 # this approach is like Perl-CE cross-compiling, and allows4 # for full TARGET perl (as opposed to renamed miniperl)5 6 # to skip Configure/build for HOST miniperl, pass "noconf" argument to this script7 8 # some trick is different, however - the file extension for objects files9 # are choosen to be .${CROSS_NAME}, .armo in our case10 11 # note how invoked Makefile.PL for cross-compilation:12 # miniperl -MCross Makefile.PL13 14 # steps are:15 # - run HOST configure16 # - build HOST miniperl17 # given freshly-created HOST makefile and existing miniperl fix makefile18 # to use19 20 CROSS_NAME=arm21 22 # suppose compiler is in /opt/arm-2006q323 CCPATH=/opt/arm-2006q324 PATH=$CCPATH/bin:$PATH25 CCPREF=arm-none-linux-gnueabi-26 27 CROSSCC=${CCPREF}gcc28 export CROSSCC29 export CROSS_NAME30 31 cp config.sh-arm-linux-n770 config-${CROSS_NAME}.sh32 33 # following should be done better:34 cd ..35 36 if [[ "x$1" != xnoconf* ]] ; then37 # do miniperl on HOST38 ./Configure -des -D prefix=./dummy -Dusedevel39 make miniperl40 make uudmap.h41 # fake uudmap, which should be on HOST42 # TODO - all host utilities should be clearly stated and not built for TARGET43 cp generate_uudmap generate_uudmap.${CROSS_NAME}44 fi45 46 #?? cd Cross47 48 # do the rest for TARGET49 $CROSSCC --version50 51 # call make thusly so it will crosscompile...52 XCOREDIR=xlib/$CROSS_NAME/CORE53 PERL_CONFIG_SH=Cross/config-${CROSS_NAME}.sh54 55 #?? . $PERL_CONFIG_SH56 57 # make cflags do cross-compile work (now its hackish, will be improved!)58 rm cflags-cross-$CROSS_NAME59 cp Cross/cflags-cross-$CROSS_NAME .60 rm Makefile-cross-$CROSS_NAME61 sh Cross/Makefile-cross-SH62 cp Cross/Makefile-cross-$CROSS_NAME .63 64 mkdir xlib65 mkdir xlib/$CROSS_NAME66 mkdir ${XCOREDIR}67 68 #??OBJ_EXT=.${CROSS_NAME}o69 # TODO these -- AR=${CCPREF}ar LD=${CCPREF}ld70 make -f Makefile-cross-$CROSS_NAME xconfig.h71 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}ld72 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}ld73 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/sh2 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 stuff11 12 case $PERL_CONFIG_SH in13 '')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 else20 echo "Can't find config-arm.sh."; exit 121 fi22 . $TOP/Cross/config-arm.sh23 ;;24 esac25 26 : syntax: cflags [optimize=XXX] [file[.suffix]]27 : displays the compiler command line for file28 29 case "X$1" in30 Xoptimize=*|X"optimize=*")31 eval "$1"32 shift33 ;;34 esac35 36 also=': '37 case $# in38 1) also='echo 1>&2 " CCCMD = "'39 esac40 41 case $# in42 0) set *.c; echo "The current C flags are:" ;;43 esac44 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 do48 49 case "$#" in50 1) extra="-o $file.${CROSS_NAME}o $extra";;51 *) echo $n " $file.c $c" ;;52 esac53 54 : allow variables like toke_cflags to be evaluated55 56 if echo $file | grep -v / >/dev/null57 then58 eval 'eval ${'"${file}_cflags"'-""}'59 fi60 61 : or customize here62 63 case "$file" in64 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 esac114 115 case "$cc" in116 *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=c89121 do122 ccflags=`echo $ccflags|sed 's/$f/ /'`123 done124 ;;125 esac126 127 case "$cc" in128 *g++*)129 # Without -Wno-unused-variable g++ 4.x compiles are rather unwatchable130 # because of all the warnings about Perl___notused, and g++ doesn't do131 # __attribute__((unused)) (and even if at some stage it may, people do132 # have older gcc installations), and ((void)x) isn't enough to silence133 # the noises about XS functions not using their cv parameter, so we need134 # the -Wno-unused-parameter too.135 # Yes, we lose some valid warnings, but hopefully other compilers136 # (like gcc) will still pick up those warnings.137 for o in -Wno-unused-variable -Wno-unused-parameter138 do139 case "$warn" in140 *$o*) ;;141 *) warn="$warn $o" ;;142 esac143 done144 ;;145 esac146 147 if test -f .patch; then148 ccflags="-DPERL_PATCHNUM=`cat .patch` $ccflags"149 fi150 151 : Can we perhaps use $ansi2knr here152 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.sh156 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 3 if [ ! -f "$1" ]; then 4 echo "Usage: $0 filename" 5 exit 1 6 fi 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 13 sed -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 and4 # required level of debug or optimisation.5 #6 ##############################################################################7 8 ### Target Arch9 ARCH = arm10 #ARCH = i386-pc11 #ARCH = sh412 #ARCH = mips13 #ARCH = mipsel14 #ARCH = ppc15 16 ## Specific arm17 CONFIG_TARGET_ARM_SA11X0 = 118 #CONFIG_TARGET_ARM_XSCALE = 119 20 ### Target OS21 OS = linux22 #OS = solaris2.823 -
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 6 6 # instead choose to run each of the .SH files by yourself, or "Configure -S". 7 7 # 8 8 9 # Package name : perl510 # Source directory : .11 # Configuration time: Wed Sep 3 22:24:58 EDT 200312 # Configured by : red13 # Target system : linux openzaurus.criticalintegration.com 2.4.6-rmk1-np2-embedix #15 Wed Aug 6 07:49:44 UTC 2003 armv4l unknown14 9 15 10 Author='' 16 11 Date='$Date' … … 33 28 aphostname='/bin/hostname' 34 29 api_revision='5' 35 30 api_subversion='0' 36 api_version=' 9'31 api_version='10' 37 32 api_versionstring='5.10.0' 38 33 ar='ar' 39 archlib='/usr/lib/perl5/5.10.0/armv 4l-linux'40 archlibexp='/usr/lib/perl5/5.10.0/armv 4l-linux'34 archlib='/usr/lib/perl5/5.10.0/armv5tel-linux-thread-multi' 35 archlibexp='/usr/lib/perl5/5.10.0/armv5tel-linux-thread-multi' 41 36 archname64='' 42 archname='armv 4l-linux'37 archname='armv5tel-linux-thread-multi' 43 38 archobjs='' 44 asctime_r_proto=' 0'39 asctime_r_proto='REENTRANT_PROTO_B_SB' 45 40 awk='awk' 46 41 baserev='5.0' 47 42 bash='' … … 54 49 castflags='0' 55 50 cat='cat' 56 51 cc='cc' 57 cccdlflags='-f pic'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'52 cccdlflags='-fPIC' 53 ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.10.0/armv5tel-linux-thread-multi/CORE' 54 ccflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' 60 55 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'56 ccname='gcc' 57 ccsymbols='' 63 58 ccversion='' 64 cf_by=' red'65 cf_email=' red@criticalintegration.com'66 cf_time=' Wed Sep 3 22:24:58 EDT 2003'59 cf_by='' 60 cf_email='' 61 cf_time='' 67 62 chgrp='' 68 63 chmod='chmod' 69 64 chown='' … … 75 70 cpio='' 76 71 cpp='cpp' 77 72 cpp_stuff='42' 78 cppccsymbols=' __ELF__=1 __GNUC__=2 linux=1 unix=1'79 cppflags='- fno-strict-aliasing-I/usr/local/include'73 cppccsymbols='' 74 cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include' 80 75 cpplast='-' 81 76 cppminus='-' 82 77 cpprun='cc -E' 83 78 cppstdin='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'79 cppsymbols='_FILE_OFFSET_BITS=64 _GNU_SOURCE=1 _LARGEFILE64_SOURCE=1 _LARGEFILE_SOURCE=1 _POSIX_C_SOURCE=200112L _POSIX_SOURCE=1 _REENTRANT=1 _XOPEN_SOURCE=600 _XOPEN_SOURCE_EXTENDED=1 __APCS_32__=1 __ARMEL__=1 __ARM_ARCH_3__=1 __CHAR_BIT__=8 __CHAR_UNSIGNED__=1 __DBL_DENORM_MIN__=4.9406564584124654e-324 __DBL_DIG__=15 __DBL_EPSILON__=2.2204460492503131e-16 __DBL_HAS_DENORM__=1 __DBL_HAS_INFINITY__=1 __DBL_HAS_QUIET_NAN__=1 __DBL_MANT_DIG__=53 __DBL_MAX_10_EXP__=308 __DBL_MAX_EXP__=1024 __DBL_MAX__=1.7976931348623157e+308 __DBL_MIN_10_EXP__=(-307) __DBL_MIN_EXP__=(-1021) __DBL_MIN__=2.2250738585072014e-308 __DEC128_DEN__=0.000000000000000000000000000000001E-6143DL __DEC128_EPSILON__=1E-33DL __DEC128_MANT_DIG__=34 __DEC128_MAX_EXP__=6144 __DEC128_MAX__=9.999999999999999999999999999999999E6144DL __DEC128_MIN_EXP__=(-6143) __DEC128_MIN__=1E-6143DL __DEC32_DEN__=0.000001E-95DF __DEC32_EPSILON__=1E-6DF __DEC32_MANT_DIG__=7 __DEC32_MAX_EXP__=96 __DEC32_MAX__=9.999999E96DF __DEC32_MIN_EXP__=(-95) __DEC32_MIN__=1E-95DF __DEC64_DEN__=0.000000000000001E-383DD __DEC64_EPSILON__=1E-15DD __DEC64_MANT_DIG__=16 __DEC64_MAX_EXP__=384 __DEC64_MAX__=9.999999999999999E384DD __DEC64_MIN_EXP__=(-383) __DEC64_MIN__=1E-383DD __DECIMAL_DIG__=17 __DEC_EVAL_METHOD__=2 __ELF__=1 __FINITE_MATH_ONLY__=0 __FLT_DENORM_MIN__=1.40129846e-45F __FLT_DIG__=6 __FLT_EPSILON__=1.19209290e-7F __FLT_EVAL_METHOD__=0 __FLT_HAS_DENORM__=1 __FLT_HAS_INFINITY__=1 __FLT_HAS_QUIET_NAN__=1 __FLT_MANT_DIG__=24 __FLT_MAX_10_EXP__=38 __FLT_MAX_EXP__=128 __FLT_MAX__=3.40282347e+38F __FLT_MIN_10_EXP__=(-37) __FLT_MIN_EXP__=(-125) __FLT_MIN__=1.17549435e-38F __FLT_RADIX__=2 __GLIBC_MINOR__=9 __GLIBC__=2 __GNUC_GNU_INLINE__=1 __GNUC_MINOR__=3 __GNUC_PATCHLEVEL__=3 __GNUC__=4 __GNU_LIBRARY__=6 __GXX_ABI_VERSION=1002 __INTMAX_MAX__=9223372036854775807LL __INTMAX_TYPE__=long\ long\ int __INT_MAX__=2147483647 __LDBL_DENORM_MIN__=4.9406564584124654e-324L __LDBL_DIG__=15 __LDBL_EPSILON__=2.2204460492503131e-16L __LDBL_HAS_DENORM__=1 __LDBL_HAS_INFINITY__=1 __LDBL_HAS_QUIET_NAN__=1 __LDBL_MANT_DIG__=53 __LDBL_MAX_10_EXP__=308 __LDBL_MAX_EXP__=1024 __LDBL_MAX__=1.7976931348623157e+308L __LDBL_MIN_10_EXP__=(-307) __LDBL_MIN_EXP__=(-1021) __LDBL_MIN__=2.2250738585072014e-308L __LONG_LONG_MAX__=9223372036854775807LL __LONG_MAX__=2147483647L __PTRDIFF_TYPE__=int __REGISTER_PREFIX__= __SCHAR_MAX__=127 __SHRT_MAX__=32767 __SIZEOF_DOUBLE__=8 __SIZEOF_FLOAT__=4 __SIZEOF_INT__=4 __SIZEOF_LONG_DOUBLE__=8 __SIZEOF_LONG_LONG__=8 __SIZEOF_LONG__=4 __SIZEOF_POINTER__=4 __SIZEOF_PTRDIFF_T__=4 __SIZEOF_SHORT__=2 __SIZEOF_SIZE_T__=4 __SIZEOF_WCHAR_T__=4 __SIZEOF_WINT_T__=4 __SIZE_TYPE__=unsigned\ int __STDC_HOSTED__=1 __STDC__=1 __UINTMAX_TYPE__=long\ long\ unsigned\ int __USER_LABEL_PREFIX__= __USE_BSD=1 __USE_FILE_OFFSET64=1 __USE_GNU=1 __USE_LARGEFILE64=1 __USE_LARGEFILE=1 __USE_MISC=1 __USE_POSIX199309=1 __USE_POSIX199506=1 __USE_POSIX2=1 __USE_POSIX=1 __USE_REENTRANT=1 __USE_SVID=1 __USE_UNIX98=1 __USE_XOPEN=1 __USE_XOPEN_EXTENDED=1 __USING_SJLJ_EXCEPTIONS__=1 __VERSION__="4.3.3" __WCHAR_MAX__=2147483647 __WCHAR_TYPE__=long\ int __WINT_TYPE__=unsigned\ int __arm__=1 __gnu_linux__=1 __linux=1 __linux__=1 __unix=1 __unix__=1 linux=1 unix=1' 80 crypt_r_proto='REENTRANT_PROTO_B_CCS' 86 81 cryptlib='' 87 82 csh='csh' 88 83 ctermid_r_proto='0' 89 ctime_r_proto=' 0'84 ctime_r_proto='REENTRANT_PROTO_B_SB' 90 85 d_Gconvert='gcvt((x),(n),(b))' 91 86 d_PRIEUldbl='define' 92 87 d_PRIFUldbl='define' … … 107 102 d_aintl='undef' 108 103 d_alarm='define' 109 104 d_archlib='define' 110 d_asctime_r=' undef'105 d_asctime_r='define' 111 106 d_atolf='undef' 112 107 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'108 d_attribute_format='define' 109 d_attribute_malloc='define' 110 d_attribute_nonnull='define' 111 d_attribute_noreturn='define' 112 d_attribute_pure='define' 113 d_attribute_unused='define' 114 d_attribute_warn_unused_result='define' 120 115 d_bcmp='define' 121 116 d_bcopy='define' 122 117 d_bsd='undef' 123 118 d_bsdgetpgrp='undef' 124 119 d_bsdsetpgrp='undef' 125 120 d_builtin_choose_expr='define' 126 d_builtin_expect=' define'121 d_builtin_expect='undef' 127 122 d_bzero='define' 128 d_c99_variadic_macros=' undef'123 d_c99_variadic_macros='define' 129 124 d_casti32='define' 130 125 d_castneg='define' 131 126 d_charvspr='undef' … … 140 135 d_copysignl='define' 141 136 d_cplusplus='undef' 142 137 d_crypt='define' 143 d_crypt_r=' undef'144 d_csh=' define'145 d_ctermid=' undef'138 d_crypt_r='define' 139 d_csh='undef' 140 d_ctermid='define' 146 141 d_ctermid_r='undef' 147 d_ctime_r=' undef'142 d_ctime_r='define' 148 143 d_cuserid='define' 149 144 d_dbl_dig='define' 150 145 d_dbminitproto='undef' … … 156 151 d_dlopen='define' 157 152 d_dlsymun='undef' 158 153 d_dosuid='undef' 159 d_drand48_r=' undef'154 d_drand48_r='define' 160 155 d_drand48proto='define' 161 156 d_dup2='define' 162 d_eaccess=' undef'157 d_eaccess='define' 163 158 d_endgrent='define' 164 159 d_endgrent_r='undef' 165 160 d_endhent='define' … … 174 169 d_endservent_r='undef' 175 170 d_eofnblk='define' 176 171 d_eunice='undef' 177 d_faststdio=' define'172 d_faststdio='undef' 178 173 d_fchdir='define' 179 174 d_fchmod='define' 180 175 d_fchown='define' … … 182 177 d_fcntl_can_lock='define' 183 178 d_fd_macros='define' 184 179 d_fd_set='define' 185 d_fds_bits=' undef'180 d_fds_bits='define' 186 181 d_fgetpos='define' 187 182 d_finite='define' 188 183 d_finitel='define' … … 205 200 d_fsync='define' 206 201 d_ftello='define' 207 202 d_ftime='undef' 208 d_futimes=' undef'203 d_futimes='define' 209 204 d_getcwd='define' 210 205 d_getespwnam='undef' 211 206 d_getfsstat='undef' 212 207 d_getgrent='define' 213 d_getgrent_r=' undef'214 d_getgrgid_r=' undef'215 d_getgrnam_r=' undef'208 d_getgrent_r='define' 209 d_getgrgid_r='define' 210 d_getgrnam_r='define' 216 211 d_getgrps='define' 217 212 d_gethbyaddr='define' 218 213 d_gethbyname='define' 219 214 d_gethent='define' 220 215 d_gethname='define' 221 d_gethostbyaddr_r=' undef'222 d_gethostbyname_r=' undef'223 d_gethostent_r=' undef'216 d_gethostbyaddr_r='define' 217 d_gethostbyname_r='define' 218 d_gethostent_r='define' 224 219 d_gethostprotos='define' 225 220 d_getitimer='define' 226 221 d_getlogin='define' 227 d_getlogin_r=' undef'222 d_getlogin_r='define' 228 223 d_getmnt='undef' 229 224 d_getmntent='define' 230 225 d_getnbyaddr='define' 231 226 d_getnbyname='define' 232 227 d_getnent='define' 233 d_getnetbyaddr_r=' undef'234 d_getnetbyname_r=' undef'235 d_getnetent_r=' undef'228 d_getnetbyaddr_r='define' 229 d_getnetbyname_r='define' 230 d_getnetent_r='define' 236 231 d_getnetprotos='define' 237 232 d_getpagsz='define' 238 233 d_getpbyname='define' … … 243 238 d_getpgrp='define' 244 239 d_getppid='define' 245 240 d_getprior='define' 246 d_getprotobyname_r=' undef'247 d_getprotobynumber_r=' undef'248 d_getprotoent_r=' undef'241 d_getprotobyname_r='define' 242 d_getprotobynumber_r='define' 243 d_getprotoent_r='define' 249 244 d_getprotoprotos='define' 250 245 d_getprpwnam='undef' 251 246 d_getpwent='define' 252 d_getpwent_r=' undef'253 d_getpwnam_r=' undef'254 d_getpwuid_r=' undef'247 d_getpwent_r='define' 248 d_getpwnam_r='define' 249 d_getpwuid_r='define' 255 250 d_getsbyname='define' 256 251 d_getsbyport='define' 257 252 d_getsent='define' 258 d_getservbyname_r=' undef'259 d_getservbyport_r=' undef'260 d_getservent_r=' undef'253 d_getservbyname_r='define' 254 d_getservbyport_r='define' 255 d_getservent_r='define' 261 256 d_getservprotos='define' 262 257 d_getspnam='define' 263 d_getspnam_r=' undef'258 d_getspnam_r='define' 264 259 d_gettimeod='define' 265 d_gmtime_r=' undef'260 d_gmtime_r='define' 266 261 d_gnulibc='define' 267 262 d_grpasswd='define' 268 263 d_hasmntopt='define' 269 264 d_htonl='define' 270 265 d_ilogbl='define' 271 d_inc_version_list=' define'266 d_inc_version_list='undef' 272 267 d_index='undef' 273 268 d_inetaton='define' 274 269 d_int64_t='define' … … 282 277 d_ldbl_dig='define' 283 278 d_libm_lib_version='define' 284 279 d_link='define' 285 d_localtime_r=' undef'286 d_localtime_r_needs_tzset=' undef'280 d_localtime_r='define' 281 d_localtime_r_needs_tzset='define' 287 282 d_locconv='define' 288 283 d_lockf='define' 289 284 d_longdbl='define' … … 329 324 d_nice='define' 330 325 d_nl_langinfo='define' 331 326 d_nv_preserves_uv='define' 332 d_nv_zero_is_allbits_zero=' undef'333 d_off64_t=' undef'327 d_nv_zero_is_allbits_zero='define' 328 d_off64_t='define' 334 329 d_old_pthread_create_joinable='undef' 335 330 d_oldpthreads='undef' 336 331 d_oldsock='undef' … … 342 337 d_pipe='define' 343 338 d_poll='define' 344 339 d_portable='define' 345 d_printf_format_null=' undef'340 d_printf_format_null='define' 346 341 d_procselfexe='define' 347 342 d_pseudofork='undef' 348 d_pthread_atfork=' undef'343 d_pthread_atfork='define' 349 344 d_pthread_attr_setscope='define' 350 d_pthread_yield=' undef'345 d_pthread_yield='define' 351 346 d_pwage='undef' 352 347 d_pwchange='undef' 353 348 d_pwclass='undef' … … 358 353 d_pwquota='undef' 359 354 d_qgcvt='define' 360 355 d_quad='define' 361 d_random_r=' undef'362 d_readdir64_r=' undef'356 d_random_r='define' 357 d_readdir64_r='define' 363 358 d_readdir='define' 364 d_readdir_r=' undef'359 d_readdir_r='define' 365 360 d_readlink='define' 366 361 d_readv='define' 367 362 d_recvmsg='define' … … 428 423 d_sigprocmask='define' 429 424 d_sigsetjmp='define' 430 425 d_sitearch='define' 431 d_snprintf=' undef'432 d_sockatmark=' undef'433 d_sockatmarkproto=' undef'426 d_snprintf='define' 427 d_sockatmark='define' 428 d_sockatmarkproto='define' 434 429 d_socket='define' 435 430 d_socklen_t='define' 436 431 d_sockpair='define' 437 432 d_socks5_init='undef' 438 433 d_sprintf_returns_strlen='define' 439 434 d_sqrtl='define' 440 d_srand48_r=' undef'441 d_srandom_r=' undef'442 d_sresgproto=' undef'443 d_sresuproto=' undef'435 d_srand48_r='define' 436 d_srandom_r='define' 437 d_sresgproto='define' 438 d_sresuproto='define' 444 439 d_statblks='define' 445 440 d_statfs_f_flags='undef' 446 441 d_statfs_s='define' 447 442 d_statvfs='define' 448 443 d_stdio_cnt_lval='undef' 449 d_stdio_ptr_lval=' define'444 d_stdio_ptr_lval='undef' 450 445 d_stdio_ptr_lval_nochange_cnt='undef' 451 d_stdio_ptr_lval_sets_cnt=' define'446 d_stdio_ptr_lval_sets_cnt='undef' 452 447 d_stdio_stream_array='undef' 453 d_stdiobase=' define'454 d_stdstdio=' define'448 d_stdiobase='undef' 449 d_stdstdio='undef' 455 450 d_strchr='define' 456 451 d_strcoll='define' 457 452 d_strctcpy='define' 458 453 d_strerrm='strerror(e)' 459 454 d_strerror='define' 460 d_strerror_r=' undef'455 d_strerror_r='define' 461 456 d_strftime='define' 462 457 d_strlcat='undef' 463 458 d_strlcpy='undef' … … 486 481 d_times='define' 487 482 d_tm_tm_gmtoff='define' 488 483 d_tm_tm_zone='define' 489 d_tmpnam_r=' undef'484 d_tmpnam_r='define' 490 485 d_truncate='define' 491 d_ttyname_r=' undef'486 d_ttyname_r='define' 492 487 d_tzname='define' 493 488 d_u32align='undef' 494 489 d_ualarm='define' … … 500 495 d_usleep='define' 501 496 d_usleepproto='define' 502 497 d_ustat='define' 503 d_vendorarch=' undef'504 d_vendorbin=' undef'505 d_vendorlib=' undef'506 d_vendorscript=' undef'498 d_vendorarch='define' 499 d_vendorbin='define' 500 d_vendorlib='define' 501 d_vendorscript='define' 507 502 d_vfork='undef' 508 503 d_void_closedir='undef' 509 504 d_voidsig='define' … … 529 524 dlsrc='dl_dlopen.xs' 530 525 doublesize='8' 531 526 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'527 drand48_r_proto='REENTRANT_PROTO_I_ST' 528 dynamic_ext='attrs B Compress/Raw/Zlib Cwd Data/Dumper Devel/DProf Devel/Peek Devel/PPPort Digest/MD5 Digest/SHA Encode Fcntl File/Glob Filter/Util/Call Hash/Util I18N/Langinfo IO IPC/SysV List/Util Math/BigInt/FastCalc MIME/Base64 Opcode PerlIO/encoding PerlIO/scalar PerlIO/via POSIX re SDBM_File Socket Storable Sys/Hostname Sys/Syslog Text/Soundex threads Time/HiRes Time/Piece Unicode/Normalize XS/APItest XS/Typemap threads/shared Hash/Util/FieldHash' 534 529 eagain='EAGAIN' 535 530 ebcdic='undef' 536 531 echo='echo' … … 545 540 eunicefix=':' 546 541 exe_ext='' 547 542 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'543 extensions='attrs B Compress/Raw/Zlib Cwd Data/Dumper Devel/DProf Devel/Peek Devel/PPPort Digest/MD5 Digest/SHA Encode Fcntl File/Glob Filter/Util/Call Hash/Util I18N/Langinfo IO IPC/SysV List/Util Math/BigInt/FastCalc MIME/Base64 Opcode PerlIO/encoding PerlIO/scalar PerlIO/via POSIX re SDBM_File Socket Storable Sys/Hostname Sys/Syslog Text/Soundex threads Time/HiRes Time/Piece Unicode/Normalize XS/APItest XS/Typemap threads/shared Hash/Util/FieldHash Compress/Zlib Errno IO_Compress_Base IO_Compress_Zlib' 549 544 extras='' 550 545 fflushNULL='define' 551 546 fflushall='undef' … … 557 552 freetype='void' 558 553 from=':' 559 554 full_ar='/usr/bin/ar' 560 full_csh=' /bin/csh'555 full_csh='csh' 561 556 full_sed='/bin/sed' 562 557 gccansipedantic='' 563 558 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'559 gccversion='4.3.3' 560 getgrent_r_proto='REENTRANT_PROTO_I_SBWR' 561 getgrgid_r_proto='REENTRANT_PROTO_I_TSBWR' 562 getgrnam_r_proto='REENTRANT_PROTO_I_CSBWR' 563 gethostbyaddr_r_proto='REENTRANT_PROTO_I_TsISBWRE' 564 gethostbyname_r_proto='REENTRANT_PROTO_I_CSBWRE' 565 gethostent_r_proto='REENTRANT_PROTO_I_SBWRE' 566 getlogin_r_proto='REENTRANT_PROTO_I_BW' 567 getnetbyaddr_r_proto='REENTRANT_PROTO_I_uISBWRE' 568 getnetbyname_r_proto='REENTRANT_PROTO_I_CSBWRE' 569 getnetent_r_proto='REENTRANT_PROTO_I_SBWRE' 570 getprotobyname_r_proto='REENTRANT_PROTO_I_CSBWR' 571 getprotobynumber_r_proto='REENTRANT_PROTO_I_ISBWR' 572 getprotoent_r_proto='REENTRANT_PROTO_I_SBWR' 573 getpwent_r_proto='REENTRANT_PROTO_I_SBWR' 574 getpwnam_r_proto='REENTRANT_PROTO_I_CSBWR' 575 getpwuid_r_proto='REENTRANT_PROTO_I_TSBWR' 576 getservbyname_r_proto='REENTRANT_PROTO_I_CCSBWR' 577 getservbyport_r_proto='REENTRANT_PROTO_I_ICSBWR' 578 getservent_r_proto='REENTRANT_PROTO_I_SBWR' 579 getspnam_r_proto='REENTRANT_PROTO_I_CSBWR' 585 580 gidformat='"lu"' 586 581 gidsign='1' 587 582 gidsize='4' 588 583 gidtype='gid_t' 589 584 glibpth='/usr/shlib /lib /usr/lib /usr/lib/386 /lib/386 /usr/ccs/lib /usr/ucblib /usr/local/lib ' 590 585 gmake='gmake' 591 gmtime_r_proto=' 0'592 gnulibc_version='2. 2.2'586 gmtime_r_proto='REENTRANT_PROTO_S_TS' 587 gnulibc_version='2.9' 593 588 grep='grep' 594 589 groupcat='cat /etc/group' 595 590 groupstype='gid_t' … … 697 692 inc_version_list_init='0' 698 693 incpath='' 699 694 inews='' 700 installarchlib='./install_me_here/usr/lib/perl5/5.10.0/armv4l-linux' 701 installbin='./install_me_here/usr/bin' 695 initialinstalllocation='/usr/bin' 696 installarchlib='/usr/lib/perl5/5.10.0/armv5tel-linux-thread-multi' 697 installbin='/usr/bin' 702 698 installhtml1dir='' 703 699 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'700 installman1dir='/usr/share/man/man1' 701 installman3dir='/usr/share/man/man3' 702 installprefix='/usr' 703 installprefixexp='/usr' 704 installprivlib='/usr/lib/perl5/5.10.0' 705 installscript='/usr/bin' 706 installsitearch='/usr/lib/perl5/site_perl/5.10.0/armv5tel-linux-thread-multi' 707 installsitebin='/usr/bin' 712 708 installsitehtml1dir='' 713 709 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'710 installsitelib='/usr/lib/perl5/site_perl/5.10.0' 711 installsiteman1dir='/usr/share/man/man1' 712 installsiteman3dir='/usr/share/man/man3' 713 installsitescript='/usr/bin' 714 installstyle='lib/perl5' 719 715 installusrbinperl='undef' 720 installvendorarch=' '721 installvendorbin=' '716 installvendorarch='/usr/lib/perl5/vendor_perl/5.10.0/armv5tel-linux-thread-multi' 717 installvendorbin='/usr/bin' 722 718 installvendorhtml1dir='' 723 719 installvendorhtml3dir='' 724 installvendorlib=' '725 installvendorman1dir=' '726 installvendorman3dir=' '727 installvendorscript=' '720 installvendorlib='/usr/lib/perl5/vendor_perl/5.10.0' 721 installvendorman1dir='/usr/share/man/man1' 722 installvendorman3dir='/usr/share/man/man3' 723 installvendorscript='/usr/bin' 728 724 intsize='4' 729 issymlink=' /usr/bin/test -h'725 issymlink='test -h' 730 726 ivdformat='"ld"' 731 727 ivsize='4' 732 728 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'729 known_extensions='attrs B Compress/Raw/Zlib Cwd Data/Dumper DB_File Devel/DProf Devel/Peek Devel/PPPort Digest/MD5 Digest/SHA Encode Fcntl File/Glob Filter/Util/Call GDBM_File Hash/Util I18N/Langinfo IO IPC/SysV List/Util Math/BigInt/FastCalc MIME/Base64 NDBM_File ODBM_File Opcode PerlIO/encoding PerlIO/scalar PerlIO/via POSIX re SDBM_File Socket Storable Sys/Hostname Sys/Syslog Text/Soundex threads Time/HiRes Time/Piece Unicode/Normalize Win32 Win32API/File Win32CORE XS/APItest XS/Typemap threads/shared Hash/Util/FieldHash' 734 730 ksh='' 735 731 ld='cc' 736 lddlflags='-shared - L/usr/local/lib'732 lddlflags='-shared -O2 -L/usr/local/lib' 737 733 ldflags=' -L/usr/local/lib' 738 734 ldflags_uselargefiles='' 739 735 ldlibpthname='LD_LIBRARY_PATH' 740 736 less='less' 741 737 lib_ext='.a' 742 libc='/lib/libc-2. 2.2.so'738 libc='/lib/libc-2.9.so' 743 739 libperl='libperl.so' 744 740 libpth='/usr/local/lib /lib /usr/lib' 745 libs='-lnsl -ldl -lm -lcrypt -lutil -l c'741 libs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc' 746 742 libsdirs=' /usr/lib' 747 libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so lib c.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/lib c.so'743 libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libpthread.so libc.so' 744 libsfound=' /usr/lib/libnsl.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libpthread.so /usr/lib/libc.so' 749 745 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 utilc cposix posix ucb BSD'746 libswanted='sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util pthread c cposix posix ucb BSD' 751 747 libswanted_uselargefiles='' 752 748 line='' 753 749 lint='' 754 750 lkflags='' 755 751 ln='ln' 756 752 lns='/bin/ln -s' 757 localtime_r_proto=' 0'753 localtime_r_proto='REENTRANT_PROTO_S_TS' 758 754 locincpth='/usr/local/include /opt/local/include /usr/gnu/include /opt/gnu/include /usr/GNU/include /opt/GNU/include' 759 755 loclibpth='/usr/local/lib /opt/local/lib /usr/gnu/lib /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib' 760 756 longdblsize='8' … … 766 762 lseeksize='8' 767 763 lseektype='off_t' 768 764 mad='undef' 765 madlyh='' 766 madlyobj='' 767 madlysrc='' 769 768 mail='' 770 769 mailx='' 771 770 make='make' … … 787 786 more='more' 788 787 multiarch='undef' 789 788 mv='' 790 myarchname='armv 4l-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'789 myarchname='armv5tel-linux' 790 mydomain='' 791 myhostname='' 792 myuname='' 794 793 n='-n' 795 794 need_va_copy='undef' 796 795 netdb_hlen_type='size_t' … … 800 799 nm='nm' 801 800 nm_opt='' 802 801 nm_so_opt='--dynamic' 803 nonxs_ext=' Errno'802 nonxs_ext='Compress/Zlib Errno IO_Compress_Base IO_Compress_Zlib' 804 803 nroff='nroff' 805 804 nvEUformat='"E"' 806 805 nvFUformat='"F"' … … 817 816 optimize='-O2' 818 817 orderlib='false' 819 818 osname='linux' 820 osvers='2. 4.6-rmk1-np2-embedix'819 osvers='2.6.24-rc7' 821 820 otherlibdirs=' ' 822 821 package='perl5' 823 pager='/ usr/bin/less'822 pager='/bin/less -isR' 824 823 passcat='cat /etc/passwd' 825 patchlevel=' 9'824 patchlevel='10' 826 825 path_sep=':' 827 perl5=' /usr/bin/perl'826 perl5='' 828 827 perl='' 829 828 perl_patchlevel='' 830 perladmin=' red@criticalintegration.com'831 perllibs='-lnsl -ldl -lm -lcrypt -lutil -l c'829 perladmin='' 830 perllibs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc' 832 831 perlpath='/usr/bin/perl' 833 832 pg='pg' 834 833 phostname='hostname' … … 847 846 quadtype='long long' 848 847 randbits='48' 849 848 randfunc='drand48' 850 random_r_proto=' 0'849 random_r_proto='REENTRANT_PROTO_I_St' 851 850 randseedtype='long' 852 851 ranlib=':' 853 852 rd_nodata='-1' 854 readdir64_r_proto=' 0'855 readdir_r_proto=' 0'853 readdir64_r_proto='REENTRANT_PROTO_I_TSR' 854 readdir_r_proto='REENTRANT_PROTO_I_TSR' 856 855 revision='5' 857 856 rm='rm' 857 rm_try='/bin/rm -f try try a.out .out try.[cho] try..o core core.try* try.core*' 858 858 rmail='' 859 859 run='' 860 860 runnm='false' … … 893 893 shortsize='2' 894 894 shrpenv='' 895 895 shsharp='true' 896 sig_count='6 4'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 NUM62RTMAX 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='6 8'896 sig_count='65' 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 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 ' 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", "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' 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 64 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, 64, 6, 17, 29, 31, 0' 901 sig_size='69' 902 902 signal_t='void' 903 sitearch='/usr/lib/perl5/site_perl/5.10.0/armv 4l-linux'904 sitearchexp='/usr/lib/perl5/site_perl/5.10.0/armv 4l-linux'903 sitearch='/usr/lib/perl5/site_perl/5.10.0/armv5tel-linux-thread-multi' 904 sitearchexp='/usr/lib/perl5/site_perl/5.10.0/armv5tel-linux-thread-multi' 905 905 sitebin='/usr/bin' 906 906 sitebinexp='/usr/bin' 907 907 sitehtml1dir='' … … 930 930 sort='sort' 931 931 spackage='Perl5' 932 932 spitshell='cat' 933 srand48_r_proto=' 0'934 srandom_r_proto=' 0'933 srand48_r_proto='REENTRANT_PROTO_I_LS' 934 srandom_r_proto='REENTRANT_PROTO_I_TS' 935 935 src='.' 936 936 ssizetype='ssize_t' 937 937 startperl='#!/usr/bin/perl' … … 944 944 stdio_filbuf='' 945 945 stdio_ptr='((fp)->_IO_read_ptr)' 946 946 stdio_stream_array='' 947 strerror_r_proto=' 0'947 strerror_r_proto='REENTRANT_PROTO_B_IBW' 948 948 strings='/usr/include/string.h' 949 949 submit='' 950 subversion=' 3'950 subversion='0' 951 951 sysman='/usr/share/man/man1' 952 952 tail='' 953 953 tar='' … … 957 957 test='test' 958 958 timeincl='/usr/include/sys/time.h /usr/include/time.h ' 959 959 timetype='time_t' 960 tmpnam_r_proto=' 0'960 tmpnam_r_proto='REENTRANT_PROTO_B_B' 961 961 to=':' 962 962 touch='touch' 963 963 tr='tr' 964 964 trnl='\n' 965 965 troff='' 966 ttyname_r_proto=' 0'966 ttyname_r_proto='REENTRANT_PROTO_I_IBW' 967 967 u16size='2' 968 968 u16type='unsigned short' 969 969 u32size='4' … … 984 984 use64bitint='undef' 985 985 usecrosscompile='undef' 986 986 usedl='define' 987 usefaststdio=' define'988 useithreads=' undef'987 usefaststdio='undef' 988 useithreads='define' 989 989 uselargefiles='define' 990 990 uselongdouble='undef' 991 991 usemallocwrap='define' 992 992 usemorebits='undef' 993 usemultiplicity=' undef'993 usemultiplicity='define' 994 994 usemymalloc='n' 995 995 usenm='false' 996 996 useopcode='true' … … 1002 1002 useshrplib='true' 1003 1003 usesitecustomize='undef' 1004 1004 usesocks='undef' 1005 usethreads=' undef'1006 usevendorprefix=' undef'1005 usethreads='define' 1006 usevendorprefix='define' 1007 1007 usevfork='false' 1008 1008 usrinc='/usr/include' 1009 1009 uuname='' … … 1013 1013 uvtype='unsigned long' 1014 1014 uvuformat='"lu"' 1015 1015 uvxformat='"lx"' 1016 vendorarch=' '1017 vendorarchexp=' '1018 vendorbin=' '1019 vendorbinexp=' '1016 vendorarch='/usr/lib/perl5/vendor_perl/5.10.0/armv5tel-linux-thread-multi' 1017 vendorarchexp='/usr/lib/perl5/vendor_perl/5.10.0/armv5tel-linux-thread-multi' 1018 vendorbin='/usr/bin' 1019 vendorbinexp='/usr/bin' 1020 1020 vendorhtml1dir=' ' 1021 1021 vendorhtml1direxp='' 1022 1022 vendorhtml3dir=' ' 1023 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=' '1024 vendorlib='/usr/lib/perl5/vendor_perl/5.10.0' 1025 vendorlib_stem='/usr/lib/perl5/vendor_perl' 1026 vendorlibexp='/usr/lib/perl5/vendor_perl/5.10.0' 1027 vendorman1dir='/usr/share/man/man1' 1028 vendorman1direxp='/usr/share/man/man1' 1029 vendorman3dir='/usr/share/man/man3' 1030 vendorman3direxp='/usr/share/man/man3' 1031 vendorprefix='/usr' 1032 vendorprefixexp='/usr' 1033 vendorscript='/usr/bin' 1034 vendorscriptexp='/usr/bin' 1035 1035 version='5.10.0' 1036 version_patchlevel_string='version 9 subversion 4'1036 version_patchlevel_string='version 10 subversion 0' 1037 1037 versiononly='undef' 1038 1038 vi='' 1039 1039 voidflags='15' … … 1044 1044 zip='zip' 1045 1045 # Configure command line arguments. 1046 1046 config_arg0='Configure' 1047 config_args='' 1048 config_argc=0 1047 config_args='-ds -e -Dprefix=/usr -Dvendorprefix=/usr -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dpager=/bin/less -isR -Dusethreads -Duseshrplib' 1048 config_argc=9 1049 config_arg1='-ds' 1050 config_arg2='-e' 1051 config_arg3='-Dprefix=/usr' 1052 config_arg4='-Dvendorprefix=/usr' 1053 config_arg5='-Dman1dir=/usr/share/man/man1' 1054 config_arg6='-Dman3dir=/usr/share/man/man3' 1055 config_arg7='-Dpager=/bin/less -isR' 1056 config_arg8='-Dusethreads' 1057 config_arg9='-Duseshrplib' 1049 1058 PERL_REVISION=5 1050 PERL_VERSION= 91051 PERL_SUBVERSION= 41059 PERL_VERSION=10 1060 PERL_SUBVERSION=0 1052 1061 PERL_API_REVISION=5 1053 PERL_API_VERSION= 91062 PERL_API_VERSION=10 1054 1063 PERL_API_SUBVERSION=0 1055 1064 PERL_PATCHLEVEL= 1056 1065 PERL_CONFIG_SH=true 1066 # Variables propagated from previous config.sh file. 1067 libdb_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/sh2 #3 # This file was produced by running the Configure script. It holds all the4 # 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 may6 # instead choose to run each of the .SH files by yourself, or "Configure -S".7 #8 9 # Package name : perl510 # Source directory : .11 # Configuration time: Wed Sep 3 22:24:58 EDT 200312 # Configured by : vadrer13 # Target system : linux nokia770 armv5teji114 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=01049 PERL_REVISION=51050 PERL_VERSION=91051 PERL_SUBVERSION=41052 PERL_API_REVISION=51053 PERL_API_VERSION=91054 PERL_API_SUBVERSION=01055 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 10 Author='' 11 Date='$Date' 12 Header='' 13 Id='$Id' 14 Locker='' 15 Log='$Log' 16 Mcc='Mcc' 17 RCSfile='$RCSfile' 18 Revision='$Revision' 19 Source='' 20 State='' 21 _a='.a' 22 _exe='' 23 _o='.o' 24 afs='false' 25 afsroot='/afs' 26 alignbytes='4' 27 ansi2knr='' 28 aphostname='/bin/hostname' 29 api_revision='5' 30 api_subversion='0' 31 api_version='10' 32 api_versionstring='5.10.0' 33 ar='ar' 34 archlib='/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi' 35 archlibexp='/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi' 36 archname64='' 37 archname='x86_64-linux-thread-multi' 38 archobjs='' 39 asctime_r_proto='REENTRANT_PROTO_B_SB' 40 awk='awk' 41 baserev='5.0' 42 bash='' 43 bin='/usr/bin' 44 binexp='/usr/bin' 45 bison='bison' 46 byacc='byacc' 47 byteorder='1234' 48 c='' 49 castflags='0' 50 cat='cat' 51 cc='cc' 52 cccdlflags='-fPIC' 53 ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/CORE' 54 ccflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' 55 ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' 56 ccname='gcc' 57 ccsymbols='' 58 ccversion='' 59 cf_by='' 60 cf_email='' 61 cf_time='' 62 chgrp='' 63 chmod='chmod' 64 chown='' 65 clocktype='clock_t' 66 comm='comm' 67 compress='' 68 contains='grep' 69 cp='cp' 70 cpio='' 71 cpp='cpp' 72 cpp_stuff='42' 73 cppccsymbols='' 74 cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include' 75 cpplast='-' 76 cppminus='-' 77 cpprun='cc -E' 78 cppstdin='cc -E' 79 cppsymbols='_FILE_OFFSET_BITS=64 _GNU_SOURCE=1 _LARGEFILE64_SOURCE=1 _LARGEFILE_SOURCE=1 _POSIX_C_SOURCE=200112L _POSIX_SOURCE=1 _REENTRANT=1 _XOPEN_SOURCE=600 _XOPEN_SOURCE_EXTENDED=1 __CHAR_BIT__=8 __DBL_DENORM_MIN__=4.9406564584124654e-324 __DBL_DIG__=15 __DBL_EPSILON__=2.2204460492503131e-16 __DBL_HAS_DENORM__=1 __DBL_HAS_INFINITY__=1 __DBL_HAS_QUIET_NAN__=1 __DBL_MANT_DIG__=53 __DBL_MAX_10_EXP__=308 __DBL_MAX_EXP__=1024 __DBL_MAX__=1.7976931348623157e+308 __DBL_MIN_10_EXP__=(-307) __DBL_MIN_EXP__=(-1021) __DBL_MIN__=2.2250738585072014e-308 __DEC128_DEN__=0.000000000000000000000000000000001E-6143DL __DEC128_EPSILON__=1E-33DL __DEC128_MANT_DIG__=34 __DEC128_MAX_EXP__=6144 __DEC128_MAX__=9.999999999999999999999999999999999E6144DL __DEC128_MIN_EXP__=(-6143) __DEC128_MIN__=1E-6143DL __DEC32_DEN__=0.000001E-95DF __DEC32_EPSILON__=1E-6DF __DEC32_MANT_DIG__=7 __DEC32_MAX_EXP__=96 __DEC32_MAX__=9.999999E96DF __DEC32_MIN_EXP__=(-95) __DEC32_MIN__=1E-95DF __DEC64_DEN__=0.000000000000001E-383DD __DEC64_EPSILON__=1E-15DD __DEC64_MANT_DIG__=16 __DEC64_MAX_EXP__=384 __DEC64_MAX__=9.999999999999999E384DD __DEC64_MIN_EXP__=(-383) __DEC64_MIN__=1E-383DD __DECIMAL_BID_FORMAT__=1 __DECIMAL_DIG__=21 __DEC_EVAL_METHOD__=2 __ELF__=1 __FINITE_MATH_ONLY__=0 __FLT_DENORM_MIN__=1.40129846e-45F __FLT_DIG__=6 __FLT_EPSILON__=1.19209290e-7F __FLT_EVAL_METHOD__=2 __FLT_HAS_DENORM__=1 __FLT_HAS_INFINITY__=1 __FLT_HAS_QUIET_NAN__=1 __FLT_MANT_DIG__=24 __FLT_MAX_10_EXP__=38 __FLT_MAX_EXP__=128 __FLT_MAX__=3.40282347e+38F __FLT_MIN_10_EXP__=(-37) __FLT_MIN_EXP__=(-125) __FLT_MIN__=1.17549435e-38F __FLT_RADIX__=2 __GLIBC_MINOR__=9 __GLIBC__=2 __GNUC_GNU_INLINE__=1 __GNUC_MINOR__=3 __GNUC_PATCHLEVEL__=3 __GNUC__=4 __GNU_LIBRARY__=6 __GXX_ABI_VERSION=1002 __INTMAX_MAX__=9223372036854775807LL __INTMAX_TYPE__=long\ long\ int __INT_MAX__=2147483647 __LDBL_DENORM_MIN__=3.64519953188247460253e-4951L __LDBL_DIG__=18 __LDBL_EPSILON__=1.08420217248550443401e-19L __LDBL_HAS_DENORM__=1 __LDBL_HAS_INFINITY__=1 __LDBL_HAS_QUIET_NAN__=1 __LDBL_MANT_DIG__=64 __LDBL_MAX_10_EXP__=4932 __LDBL_MAX_EXP__=16384 __LDBL_MAX__=1.18973149535723176502e+4932L __LDBL_MIN_10_EXP__=(-4931) __LDBL_MIN_EXP__=(-16381) __LDBL_MIN__=3.36210314311209350626e-4932L __LONG_LONG_MAX__=9223372036854775807LL __LONG_MAX__=2147483647L __PTRDIFF_TYPE__=int __REGISTER_PREFIX__= __SCHAR_MAX__=127 __SHRT_MAX__=32767 __SIZEOF_DOUBLE__=8 __SIZEOF_FLOAT__=4 __SIZEOF_INT__=4 __SIZEOF_LONG_DOUBLE__=12 __SIZEOF_LONG_LONG__=8 __SIZEOF_LONG__=4 __SIZEOF_POINTER__=4 __SIZEOF_PTRDIFF_T__=4 __SIZEOF_SHORT__=2 __SIZEOF_SIZE_T__=4 __SIZEOF_WCHAR_T__=4 __SIZEOF_WINT_T__=4 __SIZE_TYPE__=unsigned\ int __STDC_HOSTED__=1 __STDC__=1 __UINTMAX_TYPE__=long\ long\ unsigned\ int __USER_LABEL_PREFIX__= __USE_BSD=1 __USE_FILE_OFFSET64=1 __USE_GNU=1 __USE_LARGEFILE64=1 __USE_LARGEFILE=1 __USE_MISC=1 __USE_POSIX199309=1 __USE_POSIX199506=1 __USE_POSIX2=1 __USE_POSIX=1 __USE_REENTRANT=1 __USE_SVID=1 __USE_UNIX98=1 __USE_XOPEN=1 __USE_XOPEN_EXTENDED=1 __VERSION__="4.3.3" __WCHAR_MAX__=2147483647 __WCHAR_TYPE__=long\ int __WINT_TYPE__=unsigned\ int __gnu_linux__=1 __i386=1 __i386__=1 __linux=1 __linux__=1 __unix=1 __unix__=1 i386=1 linux=1 unix=1' 80 crypt_r_proto='REENTRANT_PROTO_B_CCS' 81 cryptlib='' 82 csh='csh' 83 ctermid_r_proto='0' 84 ctime_r_proto='REENTRANT_PROTO_B_SB' 85 d_Gconvert='gcvt((x),(n),(b))' 86 d_PRIEUldbl='define' 87 d_PRIFUldbl='define' 88 d_PRIGUldbl='define' 89 d_PRIXU64='define' 90 d_PRId64='define' 91 d_PRIeldbl='define' 92 d_PRIfldbl='define' 93 d_PRIgldbl='define' 94 d_PRIi64='define' 95 d_PRIo64='define' 96 d_PRIu64='define' 97 d_PRIx64='define' 98 d_SCNfldbl='define' 99 d__fwalk='undef' 100 d_access='define' 101 d_accessx='undef' 102 d_aintl='undef' 103 d_alarm='define' 104 d_archlib='define' 105 d_asctime_r='define' 106 d_atolf='undef' 107 d_atoll='define' 108 d_attribute_format='define' 109 d_attribute_malloc='define' 110 d_attribute_nonnull='define' 111 d_attribute_noreturn='define' 112 d_attribute_pure='define' 113 d_attribute_unused='define' 114 d_attribute_warn_unused_result='define' 115 d_bcmp='define' 116 d_bcopy='define' 117 d_bsd='undef' 118 d_bsdgetpgrp='undef' 119 d_bsdsetpgrp='undef' 120 d_builtin_choose_expr='define' 121 d_builtin_expect='undef' 122 d_bzero='define' 123 d_c99_variadic_macros='define' 124 d_casti32='undef' 125 d_castneg='define' 126 d_charvspr='undef' 127 d_chown='define' 128 d_chroot='define' 129 d_chsize='undef' 130 d_class='undef' 131 d_clearenv='define' 132 d_closedir='define' 133 d_cmsghdr_s='define' 134 d_const='define' 135 d_copysignl='define' 136 d_cplusplus='undef' 137 d_crypt='define' 138 d_crypt_r='define' 139 d_csh='undef' 140 d_ctermid='define' 141 d_ctermid_r='undef' 142 d_ctime_r='define' 143 d_cuserid='define' 144 d_dbl_dig='define' 145 d_dbminitproto='undef' 146 d_difftime='define' 147 d_dir_dd_fd='undef' 148 d_dirfd='define' 149 d_dirnamlen='undef' 150 d_dlerror='define' 151 d_dlopen='define' 152 d_dlsymun='undef' 153 d_dosuid='undef' 154 d_drand48_r='define' 155 d_drand48proto='define' 156 d_dup2='define' 157 d_eaccess='define' 158 d_endgrent='define' 159 d_endgrent_r='undef' 160 d_endhent='define' 161 d_endhostent_r='undef' 162 d_endnent='define' 163 d_endnetent_r='undef' 164 d_endpent='define' 165 d_endprotoent_r='undef' 166 d_endpwent='define' 167 d_endpwent_r='undef' 168 d_endsent='define' 169 d_endservent_r='undef' 170 d_eofnblk='define' 171 d_eunice='undef' 172 d_faststdio='undef' 173 d_fchdir='define' 174 d_fchmod='define' 175 d_fchown='define' 176 d_fcntl='define' 177 d_fcntl_can_lock='define' 178 d_fd_macros='define' 179 d_fd_set='define' 180 d_fds_bits='define' 181 d_fgetpos='define' 182 d_finite='define' 183 d_finitel='define' 184 d_flexfnam='define' 185 d_flock='define' 186 d_flockproto='define' 187 d_fork='define' 188 d_fp_class='undef' 189 d_fpathconf='define' 190 d_fpclass='undef' 191 d_fpclassify='undef' 192 d_fpclassl='undef' 193 d_fpos64_t='undef' 194 d_frexpl='define' 195 d_fs_data_s='undef' 196 d_fseeko='define' 197 d_fsetpos='define' 198 d_fstatfs='define' 199 d_fstatvfs='define' 200 d_fsync='define' 201 d_ftello='define' 202 d_ftime='undef' 203 d_futimes='define' 204 d_getcwd='define' 205 d_getespwnam='undef' 206 d_getfsstat='undef' 207 d_getgrent='define' 208 d_getgrent_r='define' 209 d_getgrgid_r='define' 210 d_getgrnam_r='define' 211 d_getgrps='define' 212 d_gethbyaddr='define' 213 d_gethbyname='define' 214 d_gethent='define' 215 d_gethname='define' 216 d_gethostbyaddr_r='define' 217 d_gethostbyname_r='define' 218 d_gethostent_r='define' 219 d_gethostprotos='define' 220 d_getitimer='define' 221 d_getlogin='define' 222 d_getlogin_r='define' 223 d_getmnt='undef' 224 d_getmntent='define' 225 d_getnbyaddr='define' 226 d_getnbyname='define' 227 d_getnent='define' 228 d_getnetbyaddr_r='define' 229 d_getnetbyname_r='define' 230 d_getnetent_r='define' 231 d_getnetprotos='define' 232 d_getpagsz='define' 233 d_getpbyname='define' 234 d_getpbynumber='define' 235 d_getpent='define' 236 d_getpgid='define' 237 d_getpgrp2='undef' 238 d_getpgrp='define' 239 d_getppid='define' 240 d_getprior='define' 241 d_getprotobyname_r='define' 242 d_getprotobynumber_r='define' 243 d_getprotoent_r='define' 244 d_getprotoprotos='define' 245 d_getprpwnam='undef' 246 d_getpwent='define' 247 d_getpwent_r='define' 248 d_getpwnam_r='define' 249 d_getpwuid_r='define' 250 d_getsbyname='define' 251 d_getsbyport='define' 252 d_getsent='define' 253 d_getservbyname_r='define' 254 d_getservbyport_r='define' 255 d_getservent_r='define' 256 d_getservprotos='define' 257 d_getspnam='define' 258 d_getspnam_r='define' 259 d_gettimeod='define' 260 d_gmtime_r='define' 261 d_gnulibc='define' 262 d_grpasswd='define' 263 d_hasmntopt='define' 264 d_htonl='define' 265 d_ilogbl='define' 266 d_inc_version_list='undef' 267 d_index='undef' 268 d_inetaton='define' 269 d_int64_t='define' 270 d_isascii='define' 271 d_isfinite='undef' 272 d_isinf='define' 273 d_isnan='define' 274 d_isnanl='define' 275 d_killpg='define' 276 d_lchown='define' 277 d_ldbl_dig='define' 278 d_libm_lib_version='define' 279 d_link='define' 280 d_localtime_r='define' 281 d_localtime_r_needs_tzset='define' 282 d_locconv='define' 283 d_lockf='define' 284 d_longdbl='define' 285 d_longlong='define' 286 d_lseekproto='define' 287 d_lstat='define' 288 d_madvise='define' 289 d_malloc_good_size='undef' 290 d_malloc_size='undef' 291 d_mblen='define' 292 d_mbstowcs='define' 293 d_mbtowc='define' 294 d_memchr='define' 295 d_memcmp='define' 296 d_memcpy='define' 297 d_memmove='define' 298 d_memset='define' 299 d_mkdir='define' 300 d_mkdtemp='define' 301 d_mkfifo='define' 302 d_mkstemp='define' 303 d_mkstemps='undef' 304 d_mktime='define' 305 d_mmap='define' 306 d_modfl='define' 307 d_modfl_pow32_bug='undef' 308 d_modflproto='define' 309 d_mprotect='define' 310 d_msg='define' 311 d_msg_ctrunc='define' 312 d_msg_dontroute='define' 313 d_msg_oob='define' 314 d_msg_peek='define' 315 d_msg_proxy='define' 316 d_msgctl='define' 317 d_msgget='define' 318 d_msghdr_s='define' 319 d_msgrcv='define' 320 d_msgsnd='define' 321 d_msync='define' 322 d_munmap='define' 323 d_mymalloc='undef' 324 d_nice='define' 325 d_nl_langinfo='define' 326 d_nv_preserves_uv='define' 327 d_nv_zero_is_allbits_zero='define' 328 d_off64_t='define' 329 d_old_pthread_create_joinable='undef' 330 d_oldpthreads='undef' 331 d_oldsock='undef' 332 d_open3='define' 333 d_pathconf='define' 334 d_pause='define' 335 d_perl_otherlibdirs='undef' 336 d_phostname='undef' 337 d_pipe='define' 338 d_poll='define' 339 d_portable='define' 340 d_printf_format_null='define' 341 d_procselfexe='undef' 342 d_pseudofork='undef' 343 d_pthread_atfork='define' 344 d_pthread_attr_setscope='define' 345 d_pthread_yield='define' 346 d_pwage='undef' 347 d_pwchange='undef' 348 d_pwclass='undef' 349 d_pwcomment='undef' 350 d_pwexpire='undef' 351 d_pwgecos='define' 352 d_pwpasswd='define' 353 d_pwquota='undef' 354 d_qgcvt='define' 355 d_quad='define' 356 d_random_r='define' 357 d_readdir64_r='define' 358 d_readdir='define' 359 d_readdir_r='define' 360 d_readlink='define' 361 d_readv='define' 362 d_recvmsg='define' 363 d_rename='define' 364 d_rewinddir='define' 365 d_rmdir='define' 366 d_safebcpy='undef' 367 d_safemcpy='undef' 368 d_sanemcmp='define' 369 d_sbrkproto='define' 370 d_scalbnl='define' 371 d_sched_yield='define' 372 d_scm_rights='define' 373 d_seekdir='define' 374 d_select='define' 375 d_sem='define' 376 d_semctl='define' 377 d_semctl_semid_ds='define' 378 d_semctl_semun='define' 379 d_semget='define' 380 d_semop='define' 381 d_sendmsg='define' 382 d_setegid='define' 383 d_seteuid='define' 384 d_setgrent='define' 385 d_setgrent_r='undef' 386 d_setgrps='define' 387 d_sethent='define' 388 d_sethostent_r='undef' 389 d_setitimer='define' 390 d_setlinebuf='define' 391 d_setlocale='define' 392 d_setlocale_r='undef' 393 d_setnent='define' 394 d_setnetent_r='undef' 395 d_setpent='define' 396 d_setpgid='define' 397 d_setpgrp2='undef' 398 d_setpgrp='define' 399 d_setprior='define' 400 d_setproctitle='undef' 401 d_setprotoent_r='undef' 402 d_setpwent='define' 403 d_setpwent_r='undef' 404 d_setregid='define' 405 d_setresgid='define' 406 d_setresuid='define' 407 d_setreuid='define' 408 d_setrgid='undef' 409 d_setruid='undef' 410 d_setsent='define' 411 d_setservent_r='undef' 412 d_setsid='define' 413 d_setvbuf='define' 414 d_sfio='undef' 415 d_shm='define' 416 d_shmat='define' 417 d_shmatprototype='define' 418 d_shmctl='define' 419 d_shmdt='define' 420 d_shmget='define' 421 d_sigaction='define' 422 d_signbit='define' 423 d_sigprocmask='define' 424 d_sigsetjmp='define' 425 d_sitearch='define' 426 d_snprintf='define' 427 d_sockatmark='define' 428 d_sockatmarkproto='define' 429 d_socket='define' 430 d_socklen_t='define' 431 d_sockpair='define' 432 d_socks5_init='undef' 433 d_sprintf_returns_strlen='define' 434 d_sqrtl='define' 435 d_srand48_r='define' 436 d_srandom_r='define' 437 d_sresgproto='define' 438 d_sresuproto='define' 439 d_statblks='define' 440 d_statfs_f_flags='undef' 441 d_statfs_s='define' 442 d_statvfs='define' 443 d_stdio_cnt_lval='undef' 444 d_stdio_ptr_lval='undef' 445 d_stdio_ptr_lval_nochange_cnt='undef' 446 d_stdio_ptr_lval_sets_cnt='undef' 447 d_stdio_stream_array='undef' 448 d_stdiobase='undef' 449 d_stdstdio='undef' 450 d_strchr='define' 451 d_strcoll='define' 452 d_strctcpy='define' 453 d_strerrm='strerror(e)' 454 d_strerror='define' 455 d_strerror_r='define' 456 d_strftime='define' 457 d_strlcat='undef' 458 d_strlcpy='undef' 459 d_strtod='define' 460 d_strtol='define' 461 d_strtold='define' 462 d_strtoll='define' 463 d_strtoq='define' 464 d_strtoul='define' 465 d_strtoull='define' 466 d_strtouq='define' 467 d_strxfrm='define' 468 d_suidsafe='undef' 469 d_symlink='define' 470 d_syscall='define' 471 d_syscallproto='define' 472 d_sysconf='define' 473 d_sysernlst='' 474 d_syserrlst='define' 475 d_system='define' 476 d_tcgetpgrp='define' 477 d_tcsetpgrp='define' 478 d_telldir='define' 479 d_telldirproto='define' 480 d_time='define' 481 d_times='define' 482 d_tm_tm_gmtoff='define' 483 d_tm_tm_zone='define' 484 d_tmpnam_r='define' 485 d_truncate='define' 486 d_ttyname_r='define' 487 d_tzname='define' 488 d_u32align='undef' 489 d_ualarm='define' 490 d_umask='define' 491 d_uname='define' 492 d_union_semun='undef' 493 d_unordered='undef' 494 d_unsetenv='define' 495 d_usleep='define' 496 d_usleepproto='define' 497 d_ustat='define' 498 d_vendorarch='define' 499 d_vendorbin='define' 500 d_vendorlib='define' 501 d_vendorscript='define' 502 d_vfork='undef' 503 d_void_closedir='undef' 504 d_voidsig='define' 505 d_voidtty='' 506 d_volatile='define' 507 d_vprintf='define' 508 d_vsnprintf='define' 509 d_wait4='define' 510 d_waitpid='define' 511 d_wcstombs='define' 512 d_wctomb='define' 513 d_writev='define' 514 d_xenix='undef' 515 date='date' 516 db_hashtype='u_int32_t' 517 db_prefixtype='size_t' 518 db_version_major='' 519 db_version_minor='' 520 db_version_patch='' 521 defvoidused='15' 522 direntrytype='struct dirent' 523 dlext='so' 524 dlsrc='dl_dlopen.xs' 525 doublesize='8' 526 drand01='drand48()' 527 drand48_r_proto='REENTRANT_PROTO_I_ST' 528 dynamic_ext='attrs B Compress/Raw/Zlib Cwd Data/Dumper Devel/DProf Devel/Peek Devel/PPPort Digest/MD5 Digest/SHA Encode Fcntl File/Glob Filter/Util/Call Hash/Util I18N/Langinfo IO IPC/SysV List/Util Math/BigInt/FastCalc MIME/Base64 Opcode PerlIO/encoding PerlIO/scalar PerlIO/via POSIX re SDBM_File Socket Storable Sys/Hostname Sys/Syslog Text/Soundex threads Time/HiRes Time/Piece Unicode/Normalize XS/APItest XS/Typemap threads/shared Hash/Util/FieldHash' 529 eagain='EAGAIN' 530 ebcdic='undef' 531 echo='echo' 532 egrep='egrep' 533 emacs='' 534 endgrent_r_proto='0' 535 endhostent_r_proto='0' 536 endnetent_r_proto='0' 537 endprotoent_r_proto='0' 538 endpwent_r_proto='0' 539 endservent_r_proto='0' 540 eunicefix=':' 541 exe_ext='' 542 expr='expr' 543 extensions='attrs B Compress/Raw/Zlib Cwd Data/Dumper Devel/DProf Devel/Peek Devel/PPPort Digest/MD5 Digest/SHA Encode Fcntl File/Glob Filter/Util/Call Hash/Util I18N/Langinfo IO IPC/SysV List/Util Math/BigInt/FastCalc MIME/Base64 Opcode PerlIO/encoding PerlIO/scalar PerlIO/via POSIX re SDBM_File Socket Storable Sys/Hostname Sys/Syslog Text/Soundex threads Time/HiRes Time/Piece Unicode/Normalize XS/APItest XS/Typemap threads/shared Hash/Util/FieldHash Compress/Zlib Errno IO_Compress_Base IO_Compress_Zlib' 544 extras='' 545 fflushNULL='define' 546 fflushall='undef' 547 find='' 548 firstmakefile='makefile' 549 flex='' 550 fpossize='16' 551 fpostype='fpos_t' 552 freetype='void' 553 from=':' 554 full_ar='/usr/bin/ar' 555 full_csh='csh' 556 full_sed='/bin/sed' 557 gccansipedantic='' 558 gccosandvers='' 559 gccversion='4.3.3' 560 getgrent_r_proto='REENTRANT_PROTO_I_SBWR' 561 getgrgid_r_proto='REENTRANT_PROTO_I_TSBWR' 562 getgrnam_r_proto='REENTRANT_PROTO_I_CSBWR' 563 gethostbyaddr_r_proto='REENTRANT_PROTO_I_TsISBWRE' 564 gethostbyname_r_proto='REENTRANT_PROTO_I_CSBWRE' 565 gethostent_r_proto='REENTRANT_PROTO_I_SBWRE' 566 getlogin_r_proto='REENTRANT_PROTO_I_BW' 567 getnetbyaddr_r_proto='REENTRANT_PROTO_I_uISBWRE' 568 getnetbyname_r_proto='REENTRANT_PROTO_I_CSBWRE' 569 getnetent_r_proto='REENTRANT_PROTO_I_SBWRE' 570 getprotobyname_r_proto='REENTRANT_PROTO_I_CSBWR' 571 getprotobynumber_r_proto='REENTRANT_PROTO_I_ISBWR' 572 getprotoent_r_proto='REENTRANT_PROTO_I_SBWR' 573 getpwent_r_proto='REENTRANT_PROTO_I_SBWR' 574 getpwnam_r_proto='REENTRANT_PROTO_I_CSBWR' 575 getpwuid_r_proto='REENTRANT_PROTO_I_TSBWR' 576 getservbyname_r_proto='REENTRANT_PROTO_I_CCSBWR' 577 getservbyport_r_proto='REENTRANT_PROTO_I_ICSBWR' 578 getservent_r_proto='REENTRANT_PROTO_I_SBWR' 579 getspnam_r_proto='REENTRANT_PROTO_I_CSBWR' 580 gidformat='"lu"' 581 gidsign='1' 582 gidsize='4' 583 gidtype='gid_t' 584 glibpth='/usr/shlib /lib /usr/lib /usr/lib/386 /lib/386 /usr/ccs/lib /usr/ucblib /usr/local/lib ' 585 gmake='gmake' 586 gmtime_r_proto='REENTRANT_PROTO_S_TS' 587 gnulibc_version='2.9' 588 grep='grep' 589 groupcat='cat /etc/group' 590 groupstype='gid_t' 591 gzip='gzip' 592 h_fcntl='false' 593 h_sysfile='true' 594 hint='recommended' 595 hostcat='cat /etc/hosts' 596 html1dir=' ' 597 html1direxp='' 598 html3dir=' ' 599 html3direxp='' 600 i16size='2' 601 i16type='short' 602 i32size='4' 603 i32type='long' 604 i64size='8' 605 i64type='long long' 606 i8size='1' 607 i8type='char' 608 i_arpainet='define' 609 i_bsdioctl='' 610 i_crypt='define' 611 i_db='undef' 612 i_dbm='undef' 613 i_dirent='define' 614 i_dld='undef' 615 i_dlfcn='define' 616 i_fcntl='undef' 617 i_float='define' 618 i_fp='undef' 619 i_fp_class='undef' 620 i_gdbm='undef' 621 i_grp='define' 622 i_ieeefp='undef' 623 i_inttypes='define' 624 i_langinfo='define' 625 i_libutil='undef' 626 i_limits='define' 627 i_locale='define' 628 i_machcthr='undef' 629 i_malloc='define' 630 i_math='define' 631 i_memory='undef' 632 i_mntent='define' 633 i_ndbm='undef' 634 i_netdb='define' 635 i_neterrno='undef' 636 i_netinettcp='define' 637 i_niin='define' 638 i_poll='define' 639 i_prot='undef' 640 i_pthread='define' 641 i_pwd='define' 642 i_rpcsvcdbm='undef' 643 i_sfio='undef' 644 i_sgtty='undef' 645 i_shadow='define' 646 i_socks='undef' 647 i_stdarg='define' 648 i_stddef='define' 649 i_stdlib='define' 650 i_string='define' 651 i_sunmath='undef' 652 i_sysaccess='undef' 653 i_sysdir='define' 654 i_sysfile='define' 655 i_sysfilio='undef' 656 i_sysin='undef' 657 i_sysioctl='define' 658 i_syslog='define' 659 i_sysmman='define' 660 i_sysmode='undef' 661 i_sysmount='define' 662 i_sysndir='undef' 663 i_sysparam='define' 664 i_sysresrc='define' 665 i_syssecrt='undef' 666 i_sysselct='define' 667 i_syssockio='undef' 668 i_sysstat='define' 669 i_sysstatfs='define' 670 i_sysstatvfs='define' 671 i_systime='define' 672 i_systimek='undef' 673 i_systimes='define' 674 i_systypes='define' 675 i_sysuio='define' 676 i_sysun='define' 677 i_sysutsname='define' 678 i_sysvfs='define' 679 i_syswait='define' 680 i_termio='undef' 681 i_termios='define' 682 i_time='define' 683 i_unistd='define' 684 i_ustat='define' 685 i_utime='define' 686 i_values='define' 687 i_varargs='undef' 688 i_varhdr='stdarg.h' 689 i_vfork='undef' 690 ignore_versioned_solibs='y' 691 inc_version_list=' ' 692 inc_version_list_init='0' 693 incpath='' 694 inews='' 695 initialinstalllocation='/usr/bin' 696 installarchlib='/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi' 697 installbin='/usr/bin' 698 installhtml1dir='' 699 installhtml3dir='' 700 installman1dir='/usr/share/man/man1' 701 installman3dir='/usr/share/man/man3' 702 installprefix='/usr' 703 installprefixexp='/usr' 704 installprivlib='/usr/lib/perl5/5.10.0' 705 installscript='/usr/bin' 706 installsitearch='/usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi' 707 installsitebin='/usr/bin' 708 installsitehtml1dir='' 709 installsitehtml3dir='' 710 installsitelib='/usr/lib/perl5/site_perl/5.10.0' 711 installsiteman1dir='/usr/share/man/man1' 712 installsiteman3dir='/usr/share/man/man3' 713 installsitescript='/usr/bin' 714 installstyle='lib/perl5' 715 installusrbinperl='undef' 716 installvendorarch='/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi' 717 installvendorbin='/usr/bin' 718 installvendorhtml1dir='' 719 installvendorhtml3dir='' 720 installvendorlib='/usr/lib/perl5/vendor_perl/5.10.0' 721 installvendorman1dir='/usr/share/man/man1' 722 installvendorman3dir='/usr/share/man/man3' 723 installvendorscript='/usr/bin' 724 intsize='4' 725 issymlink='test -h' 726 ivdformat='"ld"' 727 ivsize='4' 728 ivtype='long' 729 known_extensions='attrs B Compress/Raw/Zlib Cwd Data/Dumper DB_File Devel/DProf Devel/Peek Devel/PPPort Digest/MD5 Digest/SHA Encode Fcntl File/Glob Filter/Util/Call GDBM_File Hash/Util I18N/Langinfo IO IPC/SysV List/Util Math/BigInt/FastCalc MIME/Base64 NDBM_File ODBM_File Opcode PerlIO/encoding PerlIO/scalar PerlIO/via POSIX re SDBM_File Socket Storable Sys/Hostname Sys/Syslog Text/Soundex threads Time/HiRes Time/Piece Unicode/Normalize Win32 Win32API/File Win32CORE XS/APItest XS/Typemap threads/shared Hash/Util/FieldHash' 730 ksh='' 731 ld='cc' 732 lddlflags='-shared -O2 -L/usr/local/lib' 733 ldflags=' -L/usr/local/lib' 734 ldflags_uselargefiles='' 735 ldlibpthname='LD_LIBRARY_PATH' 736 less='less' 737 lib_ext='.a' 738 libc='/lib/libc-2.9.so' 739 libperl='libperl.so' 740 libpth='/usr/local/lib /lib /usr/lib' 741 libs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc' 742 libsdirs=' /usr/lib' 743 libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libpthread.so libc.so' 744 libsfound=' /usr/lib/libnsl.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libpthread.so /usr/lib/libc.so' 745 libspath=' /usr/local/lib /lib /usr/lib' 746 libswanted='sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util pthread c cposix posix ucb BSD' 747 libswanted_uselargefiles='' 748 line='' 749 lint='' 750 lkflags='' 751 ln='ln' 752 lns='/bin/ln -s' 753 localtime_r_proto='REENTRANT_PROTO_S_TS' 754 locincpth='/usr/local/include /opt/local/include /usr/gnu/include /opt/gnu/include /usr/GNU/include /opt/GNU/include' 755 loclibpth='/usr/local/lib /opt/local/lib /usr/gnu/lib /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib' 756 longdblsize='12' 757 longlongsize='8' 758 longsize='4' 759 lp='' 760 lpr='' 761 ls='ls' 762 lseeksize='8' 763 lseektype='off_t' 764 mad='undef' 765 madlyh='' 766 madlyobj='' 767 madlysrc='' 768 mail='' 769 mailx='' 770 make='make' 771 make_set_make='#' 772 mallocobj='' 773 mallocsrc='' 774 malloctype='void *' 775 man1dir='/usr/share/man/man1' 776 man1direxp='/usr/share/man/man1' 777 man1ext='1' 778 man3dir='/usr/share/man/man3' 779 man3direxp='/usr/share/man/man3' 780 man3ext='3' 781 mips_type='' 782 mistrustnm='' 783 mkdir='mkdir' 784 mmaptype='void *' 785 modetype='mode_t' 786 more='more' 787 multiarch='undef' 788 mv='' 789 myarchname='x86_64-linux' 790 mydomain='' 791 myhostname='' 792 myuname='' 793 n='-n' 794 need_va_copy='undef' 795 netdb_hlen_type='size_t' 796 netdb_host_type='const void *' 797 netdb_name_type='const char *' 798 netdb_net_type='in_addr_t' 799 nm='nm' 800 nm_opt='' 801 nm_so_opt='--dynamic' 802 nonxs_ext='Compress/Zlib Errno IO_Compress_Base IO_Compress_Zlib' 803 nroff='nroff' 804 nvEUformat='"E"' 805 nvFUformat='"F"' 806 nvGUformat='"G"' 807 nv_preserves_uv_bits='32' 808 nveformat='"e"' 809 nvfformat='"f"' 810 nvgformat='"g"' 811 nvsize='8' 812 nvtype='double' 813 o_nonblock='O_NONBLOCK' 814 obj_ext='.o' 815 old_pthread_create_joinable='' 816 optimize='-O2' 817 orderlib='false' 818 osname='linux' 819 osvers='2.6.27.10-r4' 820 otherlibdirs=' ' 821 package='perl5' 822 pager='/bin/less -isR' 823 passcat='cat /etc/passwd' 824 patchlevel='10' 825 path_sep=':' 826 perl5='' 827 perl='' 828 perl_patchlevel='' 829 perladmin='' 830 perllibs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc' 831 perlpath='/usr/bin/perl' 832 pg='pg' 833 phostname='hostname' 834 pidtype='pid_t' 835 plibpth='' 836 pmake='' 837 pr='' 838 prefix='/usr' 839 prefixexp='/usr' 840 privlib='/usr/lib/perl5/5.10.0' 841 privlibexp='/usr/lib/perl5/5.10.0' 842 procselfexe='' 843 prototype='define' 844 ptrsize='4' 845 quadkind='3' 846 quadtype='long long' 847 randbits='48' 848 randfunc='drand48' 849 random_r_proto='REENTRANT_PROTO_I_St' 850 randseedtype='long' 851 ranlib=':' 852 rd_nodata='-1' 853 readdir64_r_proto='REENTRANT_PROTO_I_TSR' 854 readdir_r_proto='REENTRANT_PROTO_I_TSR' 855 revision='5' 856 rm='rm' 857 rm_try='/bin/rm -f try try a.out .out try.[cho] try..o core core.try* try.core*' 858 rmail='' 859 run='' 860 runnm='false' 861 sPRIEUldbl='"LE"' 862 sPRIFUldbl='"LF"' 863 sPRIGUldbl='"LG"' 864 sPRIXU64='"LX"' 865 sPRId64='"Ld"' 866 sPRIeldbl='"Le"' 867 sPRIfldbl='"Lf"' 868 sPRIgldbl='"Lg"' 869 sPRIi64='"Li"' 870 sPRIo64='"Lo"' 871 sPRIu64='"Lu"' 872 sPRIx64='"Lx"' 873 sSCNfldbl='"Lf"' 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='65' 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 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 ' 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", "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' 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 64 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, 64, 6, 17, 29, 31, 0' 901 sig_size='69' 902 signal_t='void' 903 sitearch='/usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi' 904 sitearchexp='/usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi' 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='REENTRANT_PROTO_I_LS' 934 srandom_r_proto='REENTRANT_PROTO_I_TS' 935 src='.' 936 ssizetype='ssize_t' 937 startperl='#!/usr/bin/perl' 938 startsh='#!/bin/sh' 939 static_ext=' ' 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='REENTRANT_PROTO_B_IBW' 948 strings='/usr/include/string.h' 949 submit='' 950 subversion='0' 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='REENTRANT_PROTO_B_B' 961 to=':' 962 touch='touch' 963 tr='tr' 964 trnl='\n' 965 troff='' 966 ttyname_r_proto='REENTRANT_PROTO_I_IBW' 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='undef' 988 useithreads='define' 989 uselargefiles='define' 990 uselongdouble='undef' 991 usemallocwrap='define' 992 usemorebits='undef' 993 usemultiplicity='define' 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='define' 1006 usevendorprefix='define' 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='/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi' 1017 vendorarchexp='/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi' 1018 vendorbin='/usr/bin' 1019 vendorbinexp='/usr/bin' 1020 vendorhtml1dir=' ' 1021 vendorhtml1direxp='' 1022 vendorhtml3dir=' ' 1023 vendorhtml3direxp='' 1024 vendorlib='/usr/lib/perl5/vendor_perl/5.10.0' 1025 vendorlib_stem='/usr/lib/perl5/vendor_perl' 1026 vendorlibexp='/usr/lib/perl5/vendor_perl/5.10.0' 1027 vendorman1dir='/usr/share/man/man1' 1028 vendorman1direxp='/usr/share/man/man1' 1029 vendorman3dir='/usr/share/man/man3' 1030 vendorman3direxp='/usr/share/man/man3' 1031 vendorprefix='/usr' 1032 vendorprefixexp='/usr' 1033 vendorscript='/usr/bin' 1034 vendorscriptexp='/usr/bin' 1035 version='5.10.0' 1036 version_patchlevel_string='version 10 subversion 0' 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='-ds -e -Dprefix=/usr -Dvendorprefix=/usr -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dpager=/bin/less -isR -Dusethreads -Duseshrplib' 1048 config_argc=9 1049 config_arg1='-ds' 1050 config_arg2='-e' 1051 config_arg3='-Dprefix=/usr' 1052 config_arg4='-Dvendorprefix=/usr' 1053 config_arg5='-Dman1dir=/usr/share/man/man1' 1054 config_arg6='-Dman3dir=/usr/share/man/man3' 1055 config_arg7='-Dpager=/bin/less -isR' 1056 config_arg8='-Dusethreads' 1057 config_arg9='-Duseshrplib' 1058 PERL_REVISION=5 1059 PERL_VERSION=10 1060 PERL_SUBVERSION=0 1061 PERL_API_REVISION=5 1062 PERL_API_VERSION=10 1063 PERL_API_SUBVERSION=0 1064 PERL_PATCHLEVEL= 1065 PERL_CONFIG_SH=true 1066 # Variables propagated from previous config.sh file. 1067 libdb_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/perl2 3 ##############################################################################4 #5 # generate_config_sh6 # Process that takes an automatically generated config.sh7 # file and allows the environment to overload the values8 # 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 -05002 +++ installperl 2003-09-05 02:38:40.000000000 -05003 @@ -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 1 PWD := $(shell pwd) 2 TOP := $(shell dirname $(PWD)) 63 3 4 VERSION := $(shell awk '/define[ ]PERL_REVISION/ {printf $$3"."} /define[ ]PERL_VERSION/ {printf $$3"."} /define[ ]PERL_SUBVERSION/ {print $$3}' $(TOP)/patchlevel.h) 64 5 6 CROSS_COMPILE := arm-unknown-linux-gnu- 7 8 ARCH := arm 9 OS := linux 10 11 SYS := $(ARCH)-$(OS) 12 13 AR := $(CROSS_COMPILE)ar 14 CC := $(CROSS_COMPILE)gcc 15 CXX := $(CROSS_COMPILE)g++ 16 CPP := $(CROSS_COMPILE)cpp 17 LD := $(CROSS_COMPILE)gcc 18 RANLIB := $(CROSS_COMPILE)ranlib 19 STRIP := $(CROSS_COMPILE)strip 20 21 ARCHNAME := $(SYS)-thread-multi 22 MYARCHNAME := $(SYS) 23 24 HOSTNAME := none 25 DOMAIN := .nonet 26 CFBY := root 27 EMAIL := $(CFBY)@$(HOSTNAME)$(DOMAIN) 28 UNAME := 29 CFTIME := 30 31 .PHONY: all install create-config.sh 32 33 all: $(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 47 install: 48 $(MAKE) -C $(TOP) install 49 50 create-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/sh2 3 # This file is used to create generic Makefile for cross-compile4 # (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 HOST7 8 Makefile=Makefile-cross-$CROSS_NAME9 10 . Cross/config-${CROSS_NAME}.sh11 12 # H.Merijn Brand [17 Feb 2004]13 # This comment is just to ensure that Configure will find variables that14 # are removed/replaced in patches on blead, but are still needed in the15 # 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), and17 # not in x2p and other subfolders. This file is as good as any .SH18 # patch references19 # #22227 $baserev20 # #22302 $yacc $byacc21 22 # H.Merijn Brand [30 Oct 2004]23 # Mentioned for the same reason for future reference24 # #23434 $d_strlcat $d_strlcpy25 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" in29 */*) cd `expr X$0 : 'X\(.*\)/'` ;;30 esac31 32 case "$d_dosuid" in33 *define*) suidperl='suidperl' ;;34 *) suidperl='';;35 esac36 37 linklibperl='$(LIBPERL)'38 shrpldflags='$(LDDLFLAGS)'39 ldlibpth=''40 DPERL_EXTERNAL_GLOB='-DPERL_EXTERNAL_GLOB'41 case "$useshrplib" in42 true)43 # Prefix all runs of 'miniperl' and 'perl' with44 # $ldlibpth so that ./perl finds *this* shared libperl.45 case "$LD_LIBRARY_PATH" in46 '')47 ldlibpth="LD_LIBRARY_PATH=`pwd`";;48 *)49 ldlibpth="LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}";;50 esac51 52 pldlflags="$cccdlflags"53 static_target='static_pic'54 case "${osname}${osvers}" in55 next4*)56 ld=libtool57 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" in88 3*) shrpldflags="$shrpldflags -e _nostart"89 ;;90 *) shrpldflags="$shrpldflags -b noentry"91 ;;92 esac93 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 esac105 case "$ldlibpthname" in106 '') ;;107 *)108 case "$osname" in109 os2)110 ldlibpth=''111 ;;112 *)113 eval "ldlibpth=\"$ldlibpthname=`pwd`:\$$ldlibpthname\""114 ;;115 esac116 # Strip off any trailing :'s117 ldlibpth=`echo $ldlibpth | sed 's/:*$//'`118 ;;119 esac120 121 case "$ldlibpth" in122 # Protect any spaces123 *" "*) ldlibpth=`echo $ldlibpth|sed 's/ /\\\\ /g'` ;;124 esac125 126 case "$osname" in127 linux)128 # If there is a pre-existing $libperl from a previous129 # installation, Linux needs to use LD_PRELOAD to130 # override the LD_LIBRARY_PATH setting. See the131 # INSTALL file, under "Building a shared perl library".132 # If there is no pre-existing $libperl, we don't need133 # to do anything further.134 if test -f $archlib/CORE/$libperl; then135 rm -f preload136 cat <<'EOT' > preload137 #! /bin/sh138 lib=$1139 shift140 test -r $lib && export LD_PRELOAD="$lib $LD_PRELOAD"141 exec "$@"142 EOT143 chmod 755 preload144 ldlibpth="$ldlibpth `pwd`/preload `pwd`/$libperl"145 fi146 ;;147 os390) test -f /bin/env && ldlibpth="/bin/env $ldlibpth"148 ;;149 esac150 151 ;;152 153 *) pldlflags=''154 static_target='static'155 ;;156 esac157 158 : Prepare dependency lists for Makefile.159 dynamic_list=' '160 extra_dep=''161 for f in $dynamic_ext; do162 : the dependency named here will never exist163 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 interdependencies168 case $f in169 Math/BigInt/FastCalc) extra_dep="$extra_dep170 $this_target: lib/auto/List/Util/Util.$dlext" ;;171 Unicode/Normalize) extra_dep="$extra_dep172 $this_target: uni.data" ;;173 esac174 done175 176 static_list=' '177 for f in $static_ext; do178 base=`echo "$f" | sed 's/.*\///'`179 static_list="$static_list lib/auto/$f/$base\$(LIB_EXT)"180 done181 182 nonxs_list=' '183 for f in $nonxs_ext; do184 base=`echo "$f" | sed 's/.*\///'`185 nonxs_list="$nonxs_list ext/$f/pm_to_blib"186 done187 188 echo "Extracting $Makefile (with variable substitutions)"189 $spitshell >$Makefile <<!GROK!THIS!190 # $Makefile.SH191 # This file is derived from $Makefile.SH. Any changes made here will192 # be lost the next time you run Configure.193 # $Makefile is used to generate $firstmakefile. The only difference194 # is that $firstmakefile has the dependencies filled in at the end.195 196 CC = $cc197 LD = $ld198 199 LDFLAGS = $ldflags200 CLDFLAGS = $ldflags201 202 mallocsrc = $mallocsrc203 mallocobj = $mallocobj204 madlysrc = $madlysrc205 madlyobj = $madlyobj206 LNS = $lns207 # NOTE: some systems don't grok "cp -f". XXX Configure test needed?208 CPS = $cp209 RMS = rm -f210 ranlib = $ranlib211 212 # The following are mentioned only to make metaconfig include the213 # appropriate questions in Configure. If you want to change these,214 # edit config.sh instead, or specify --man1dir=/wherever on215 # installman commandline.216 bin = $installbin217 scriptdir = $scriptdir218 shrpdir = $archlibexp/CORE219 privlib = $installprivlib220 man1dir = $man1dir221 man1ext = $man1ext222 man3dir = $man3dir223 man3ext = $man3ext224 225 # The following are used to build and install shared libraries for226 # dynamic loading.227 LDDLFLAGS = $lddlflags228 SHRPLDFLAGS = $shrpldflags229 CCDLFLAGS = $ccdlflags230 DLSUFFIX = .$dlext231 PLDLFLAGS = $pldlflags232 LIBPERL = $libperl233 LLIBPERL= $linklibperl234 SHRPENV = $shrpenv235 236 # Static targets are ordinarily built without CCCDLFLAGS. However,237 # if building a shared libperl.so that might later be linked into238 # another application, then it might be appropriate to also build static239 # extensions (usually just DynaLoader) with relocatable code (e.g. -fPIC240 # for GNU cc). This is handled by ext/util/make_ext.241 STATIC = $static_target242 243 # The following is used to include the current directory in244 # the dynamic loader path you are building a shared libperl.245 LDLIBPTH = $ldlibpth246 247 dynamic_ext = $dynamic_list248 static_ext = $static_list249 nonxs_ext = $nonxs_list250 ext = \$(dynamic_ext) \$(static_ext) \$(nonxs_ext)251 DYNALOADER = DynaLoader\$(OBJ_EXT)252 253 libs = $perllibs $cryptlib254 255 public = perl\$(EXE_EXT) $suidperl utilities translators256 257 shellflags = $shellflags258 259 # This is set to MAKE=$make if your $make command doesn't260 # do it for you.261 $make_set_make262 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_ar267 EXE_EXT = $_exe268 LIB_EXT = $_a269 OBJ_EXT = $_o270 PATH_SEP = $p_271 272 # If you're going to use valgrind and it can't be invoked as plain valgrind273 # then you'll need to change this, or override it on the make command line.274 VALGRIND=valgrind275 276 FIRSTMAKEFILE = $firstmakefile277 278 # Any special object files needed by this architecture, e.g. os2/os2.obj279 ARCHOBJS = $archobjs280 281 .SUFFIXES: .c \$(OBJ_EXT) .i .s282 283 # grrr284 SHELL = $sh285 286 # how to tr(anslate) newlines287 TRNL = '$trnl'288 289 OPTIMIZE = $optimize290 291 EXTRAS = $extras292 293 INSTALLPREFIXEXP = $prefix294 295 !GROK!THIS!296 # not used by Makefile but by installperl;297 # mentioned here so that metaconfig picks these up298 # $installusrbinperl299 # $versiononly300 301 case "${osname}:${osvers}" in302 darwin:*)303 $spitshell >>$Makefile <<EOF304 305 # Your locales are broken (osname $osname, osvers $osvers)306 # and to avoid the numerous307 # perl: warning: Setting locale failed.308 # warnings during the build process we reset the locale variables.309 310 LC_ALL=C311 LANG=C312 LANGUAGE=C313 EOF314 ;;315 esac316 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.pm331 332 private = preplibrary $(CONFIGPM) $(CROSS_LIB)/Config.pod333 334 shextract = Makefile cflags config.h makeaperl makedepend \335 makedir myconfig writemain pod/Makefile336 337 # Files to be built with variable substitution after miniperl is338 # 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.PL342 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/podselect346 347 addedbyconf = UU $(shextract) $(plextract) lib/lib.pm pstruct348 349 # Unicode data files generated by mktables350 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.pl353 354 # Directories of Unicode data files generated by mktables355 unidatadirs = lib/unicore/To lib/unicore/lib356 357 h1 = EXTERN.h INTERN.h XSUB.h av.h xconfig.h cop.h cv.h dosish.h358 h2 = embed.h form.h gv.h handy.h hv.h keywords.h mg.h op.h opcode.h359 h3 = pad.h patchlevel.h perl.h perlapi.h perly.h pp.h proto.h regcomp.h360 h4 = regexp.h scope.h sv.h unixish.h util.h iperlsys.h thread.h361 h5 = utf8.h warnings.h362 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.c365 c2 = perly.c pp.c pp_hot.c pp_ctl.c pp_sys.c regcomp.c regexec.c utf8.c sv.c366 c3 = taint.c toke.c util.c deb.c run.c universal.c xsutils.c pad.c globals.c367 c4 = perlio.c perlapi.c numeric.c mathoms.c locale.c pp_pack.c pp_sort.c368 c5 = $(madlysrc) $(mallocsrc)369 370 c = $(c1) $(c2) $(c3) $(c4) $(c5) miniperlmain.c perlmain.c opmini.c371 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_EXPR409 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 +weak433 434 splintfiles = $(c1)435 436 .c$(OBJ_EXT):437 $(CCCMD) -I$(CROSS_LIB) $(PLDLFLAGS) $*.c438 439 .c.i:440 $(CCCMDSRC) -E $*.c > $*.i441 442 .c.s:443 $(CCCMDSRC) -S $*.c444 445 all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT) extra.pods $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make446 @echo " ";447 @echo " Everything is up to date. Type '$(MAKE) test' to run test suite."448 449 .PHONY: all450 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: FORCE458 FORCE:459 @sh -c true460 !NO!SUBS!461 $spitshell >>$Makefile <<!GROK!THIS!462 463 # We do a copy of the op.c instead of a symlink because gcc gets huffy464 # if we have a symlink forest to another disk (it complains about too many465 # levels of symbolic links, even if we have only two)466 467 opmini.c: op.c468 \$(RMS) opmini.c469 \$(CPS) op.c opmini.c470 471 opmini\$(OBJ_EXT): opmini.c472 \$(CCCMD) \$(PLDLFLAGS) $DPERL_EXTERNAL_GLOB opmini.c473 474 globals\$(OBJ_EXT):475 476 !GROK!THIS!477 $spitshell >>$Makefile <<'!NO!SUBS!'478 miniperlmain$(OBJ_EXT): miniperlmain.c patchlevel.h479 $(CCCMD) $(PLDLFLAGS) $*.c480 481 perlmain.c: miniperlmain.c config.sh $(FIRSTMAKEFILE)482 sh writemain $(DYNALOADER) $(static_ext) > perlmain.c483 484 !NO!SUBS!485 case "$osname" in486 cygwin)487 ;; # Let cygwin/Makefile.SHs do its work.488 *)489 $spitshell >>$Makefile <<'!NO!SUBS!'490 perlmain$(OBJ_EXT): perlmain.c491 $(CCCMD) $(PLDLFLAGS) $*.c492 493 !NO!SUBS!494 ;;495 esac496 $spitshell >>$Makefile <<'!NO!SUBS!'497 # The file ext.libs is a list of libraries that must be linked in498 # for static extensions, e.g. -lm -lgdbm, etc. The individual499 # static extension Makefile's add to it.500 ext.libs: $(static_ext)501 -@test -f ext.libs || touch ext.libs502 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" in508 *)509 Makefile_s="$osname/Makefile.SHs"510 ;;511 esac512 513 case "$osname" in514 aix)515 $spitshell >>$Makefile <<!GROK!THIS!516 LIBS = $perllibs517 # In AIX we need to change this for building Perl itself from518 # its earlier definition (which is for building external519 # 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" in524 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.exp541 542 !NO!SUBS!543 544 ;;545 *)546 $spitshell >>$Makefile <<'!NO!SUBS!'547 MINIPERLEXP = miniperl$(EXE_EXT)548 549 PERLEXPORT = perl.exp550 551 !NO!SUBS!552 ;;553 esac554 $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.exp557 558 !NO!SUBS!559 ;;560 os2)561 $spitshell >>$Makefile <<'!NO!SUBS!'562 MINIPERLEXP = miniperl563 564 perl5.def: $(MINIPERLEXP) makedef.pl config.sh $(SYM) $(SYMH) miniperl.map565 ./$(MINIPERLEXP) makedef.pl PLATFORM=os2 -DPERL_DLL=$(PERL_DLL) CC_FLAGS="$(OPTIMIZE)" > perl5.def566 567 !NO!SUBS!568 ;;569 esac570 571 if test -r $Makefile_s ; then572 . $Makefile_s573 $spitshell >>$Makefile <<!GROK!THIS!574 575 $Makefile: $Makefile_s576 !GROK!THIS!577 else578 $spitshell >>$Makefile <<'!NO!SUBS!'579 $(LIBPERL): $& $(obj) $(DYNALOADER) $(LIBPERLEXPORT)580 !NO!SUBS!581 case "$useshrplib" in582 true)583 $spitshell >>$Makefile <<'!NO!SUBS!'584 rm -f $@585 $(LD) -o $@ $(SHRPLDFLAGS) $(obj) $(DYNALOADER) $(libs)586 !NO!SUBS!587 case "$osname" in588 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 esac596 ;;597 *)598 $spitshell >>$Makefile <<'!NO!SUBS!'599 rm -f $(LIBPERL)600 $(AR) rcu $(LIBPERL) $(obj) $(DYNALOADER)601 @$(ranlib) $(LIBPERL)602 !NO!SUBS!603 ;;604 esac605 $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 errors612 # before make goes on to run preplibrary and then MakeMaker on extensions.613 # This is very handy because later errors are often caused by miniperl614 # 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.xok624 $(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.sh641 @echo "To build perl.valgrind you must Configure -Doptimize=-g -Uusemymalloc, checking..."642 @$(MAKE) perl.config.dashg643 @echo "Checking usemymalloc='n' in config.sh..."644 @grep "^usemymalloc=" config.sh645 @grep "^usemymalloc='n'" config.sh >/dev/null || exit 1646 @echo "And of course you have to have valgrind..."647 $(VALGRIND) ./perl -e 1 2>/dev/null || exit 1648 649 # Third Degree Perl (Tru64 only)650 651 perl.config.dashg:652 @echo "Checking optimize='-g' in config.sh..."653 @grep "^optimize=" config.sh654 @egrep "^optimize='(.*-g.*)'" config.sh >/dev/null || exit 1655 656 perl.third.config: config.sh657 @echo "To build perl.third you must Configure -Doptimize=-g -Uusemymalloc, checking..."658 @$(MAKE) perl.config.dashg659 @echo "Checking usemymalloc='n' in config.sh..."660 @grep "^usemymalloc=" config.sh661 @grep "^usemymalloc='n'" config.sh >/dev/null || exit 1662 663 perl.third: /usr/bin/atom perl.third.config perl664 atom -tool third -L. -all -gp -toolargs="-invalid -uninit heap+stack+copy -min 0" perl665 @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.sh670 @echo "To build perl.pixie you must Configure -Doptimize=-g, checking..."671 @$(MAKE) perl.config.dashg672 673 perl.pixie.atom: /usr/bin/atom perl674 atom -tool pixie -L. -all -toolargs="-quiet" perl675 676 perl.pixie.irix: perl677 pixie perl678 679 perl.pixie: /usr/bin/pixie perl.pixie.config perl680 if test -x /usr/bin/atom; then \681 $(MAKE) perl.pixie.atom; \682 else \683 $(MAKE) perl.pixie.irix; \684 fi685 @echo "Now you may run perl.pixie and then run pixie."686 687 # Gprof Perl688 689 perl.config.dashpg:690 @echo "Checking optimize='-pg' in config.sh..."691 @grep "^optimize=" config.sh692 @grep "^optimize='.*-pg.*'" config.sh >/dev/null || exit 1693 694 perl.gprof.config: config.sh695 @echo "To build perl.gprof you must Configure -Doptimize=-pg, checking..."696 @$(MAKE) perl.config.dashpg697 698 perl.gprof: /usr/bin/gprof perl.gprof.config699 @-rm -f perl700 $(MAKE) PERL_SUFFIX=.gprof PERL_PROFILE_LDFLAGS=-pg perl701 @echo "Now you may run perl.gprof and then run gprof perl.gprof."702 703 # Gcov Perl704 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.sh709 @grep "^gccversion='[3-9]\." config.sh >/dev/null || exit 1710 @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.sh713 @grep "^ccflags='.*-fprofile-arcs -ftest-coverage.*'" config.sh >/dev/null || exit 1714 715 perl.gcov: perl.config.gcov716 @-rm -f perl717 $(MAKE) PERL_SUFFIX=.gcov PERL_PROFILE_LDFLAGS='' perl718 @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 to721 # build also the full Perl and therefore the real big Makefile:722 # usually one should manually explicitly issue the below command.723 724 .PHONY: microperl725 microperl:726 $(MAKE) -f Makefile.micro727 728 # This version, if specified in Configure, does ONLY those scripts which need729 # 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 question731 # 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 fi739 740 $spitshell >>$Makefile <<'!NO!SUBS!'741 742 sperl$(OBJ_EXT): perl.c $(h)743 $(RMS) sperl.c744 $(LNS) perl.c sperl.c745 $(CCCMD) -DIAMSUID sperl.c746 $(RMS) sperl.c747 748 # We have to call our ./makedir because Ultrix 4.3 make can't handle the line749 # test -d lib/auto || mkdir lib/auto750 # We need to autosplit in two steps because VOS can't handle so many args751 #752 .PHONY: preplibrary753 preplibrary: miniperl $(CONFIGPM) lib/lib.pm $(PREPLIBRARY_LIBPERL)754 @sh ./makedir lib/auto755 @echo " AutoSplitting perl library"756 $(LDLIBPTH) ./miniperl -Ilib -MCross -e 'use AutoSplit; \757 autosplit_lib_modules(@ARGV)' lib/*.pm758 $(LDLIBPTH) ./miniperl -Ilib -MCross -e 'use AutoSplit; \759 autosplit_lib_modules(@ARGV)' lib/*/*.pm760 $(MAKE) lib/re.pm761 762 .PHONY: makeppport763 makeppport: miniperl$(EXE_EXT) $(CONFIGPM)764 $(LDLIBPTH) ./miniperl$(EXE_EXT) -Ilib mkppport765 766 $(CROSS_LIB)/Config.pod: config.sh miniperl configpm Porting/Glossary767 $(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.h772 773 lib/re.pm: ext/re/re.pm774 @-rm -f $@775 cp ext/re/re.pm lib/re.pm776 777 $(plextract): miniperl $(CONFIGPM) x2p/s2p778 @-rm -f $@779 $(LDLIBPTH) ./miniperl -I`pwd`/lib $@.PL780 781 lib/lib.pm: miniperl $(CONFIGPM)782 @-rm -f $@783 $(LDLIBPTH) ./miniperl -Ilib -MCross lib/lib_pm.PL784 785 unidatafiles $(unidatafiles): uni.data786 787 uni.data: miniperl$(EXE_EXT) $(CONFIGPM) lib/unicore/mktables788 cd lib/unicore && $(LDLIBPTH) ../../miniperl -I../../lib mktables -w789 touch uni.data790 791 extra.pods: miniperl792 -@test ! -f extra.pods || rm -f `cat extra.pods`793 -@rm -f extra.pods794 -@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 done799 -@rm -f pod/perlvms.pod800 -@test -f vms/perlvms.pod && cd pod && $(LNS) ../vms/perlvms.pod perlvms.pod && cd .. && echo "pod/perlvms.pod" >> extra.pods801 -@rm -f pod/perldelta.pod802 -@test -f pod/perl5100delta.pod && cd pod && $(LNS) perl5100delta.pod perldelta.pod && cd .. && echo "pod/perldelta.pod" >> extra.pods # See buildtoc803 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.html815 816 META.yml: Porting/makemeta Porting/Maintainers.pl Porting/Maintainers.pm817 $(LDLIBPTH) ./miniperl -Ilib Porting/makemeta818 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 install835 INSTALL_DEPENDENCE = all836 837 install.perl: $(INSTALL_DEPENDENCE) installperl838 $(LDLIBPTH) ./perl installperl --destdir=$(DESTDIR) $(INSTALLFLAGS) $(STRIPFLAGS)839 -@test ! -s extras.lst || $(MAKE) extras.install840 841 install.man: all installman842 $(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 installhtml847 -@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 --verbose857 858 859 # I now supply perly.c with the kits, so the following section is860 # used only if you force bison to run by saying861 # make regen_perly862 # You normally shouldn't remake perly.[ch].863 864 .PHONY: regen_perly865 866 run_byacc:867 @echo "run_byacc is obsolete; try 'make regen_perly' instead"868 869 # this outputs perly.h, perly.act and perly.tab870 regen_perly:871 perl regen_perly.pl872 873 # We don't want to regenerate perly.c and perly.h, but they might874 # appear out-of-date after a patch is applied or a new distribution is875 # made.876 perly.c: perly.y877 -@sh -c true878 879 perly.h: perly.y880 -@sh -c true881 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.sym885 886 SYMH = perlvars.h intrpvar.h887 888 CHMOD_W = chmod +w889 890 # The following files are generated automatically891 # autodoc.pl: pod/perlapi.pod pod/perlintern.pod892 # embed.pl: proto.h embed.h embedvar.h global.sym893 # perlapi.h perlapi.c894 # [* embed.pl needs pp.sym generated by opcode.pl! *]895 # keywords.pl: keywords.h896 # opcode.pl: opcode.h opnames.h pp_proto.h pp.sym897 # regcomp.pl: regnodes.h898 # warnings.pl: warnings.h lib/warnings.pm899 # 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, run902 # perl regen.pl903 # with your existing copy of perl904 # (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.pm911 912 .PHONY: regen_headers regen_pods regen_all913 914 regen regen_headers: FORCE915 -perl regen.pl916 917 regen_pods: FORCE918 -cd pod; $(LDLIBPTH) $(MAKE) regen_pods919 920 regen_all: regen regen_pods921 922 .PHONY: manisort manicheck923 924 manisort: FORCE925 LC_ALL=C sort -fdc MANIFEST || (echo "WARNING: re-sorting MANIFEST"; \926 LC_ALL=C sort -fdo MANIFEST MANIFEST)927 928 manicheck: FORCE929 perl Porting/manicheck930 931 # Extensions:932 # Names added to $(dynamic_ext) or $(static_ext) or $(nonxs_ext) will933 # automatically get built. There should ordinarily be no need to change934 # any of this part of makefile.935 #936 # The dummy dependency is a place holder in case $(dynamic_ext) or937 # $(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.PL945 ### $(HPERL) -I..\..\lib -MCross=$(CROSS_NAME) XSLoader_pm.PL946 ### cd ..\..\win32947 ### $(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).c951 ### cd ..\..\win32952 ###953 ###$(EXTDIR)\DynaLoader\dl_win32.xs: dl_win32.xs954 ### $(COPY) dl_win32.xs $(EXTDIR)\DynaLoader\dl_win32.xs955 956 957 958 $(DYNALOADER): preplibrary FORCE959 @$(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) FORCE962 @$(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) FORCE965 @$(LDLIBPTH) sh ext/util/make_ext_cross $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)966 967 n_dummy $(nonxs_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE968 @$(LDLIBPTH) sh ext/util/make_ext_cross nonxs $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)969 !NO!SUBS!970 971 $spitshell >>$Makefile <<EOF972 $extra_dep973 EOF974 975 $spitshell >>$Makefile <<'!NO!SUBS!'976 977 .PHONY: printconfig978 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_files985 986 clean: cleanup_unpacked_files _tidy _mopup987 988 realclean: cleanup_unpacked_files _realcleaner _mopup989 @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.lst994 995 clobber: cleanup_unpacked_files _realcleaner _mopup _clobber996 997 distclean: clobber998 999 # Like distclean but also removes emacs backups and *.orig.1000 veryclean: _verycleaner _mopup _clobber1001 -@rm -f Obsolete Wanted1002 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 .depending1007 -@test -f extra.pods && rm -f `cat extra.pods`1008 -@test -f vms/README_vms.pod && rm -f vms/README_vms.pod1009 -rm -f perl.exp ext.libs extra.pods uni.data opmini.o1010 -rm -f perl.export perl.dll perl.libexp perl.map perl.def1011 -rm -f perl.loadmap miniperl.loadmap perl.prelmap miniperl.prelmap1012 -rm -f perl.third lib*.so.perl.third perl.3log t/perl.third t/perl.3log1013 -rm -f perl.pixie lib*.so.perl.pixie lib*.so.Addrs1014 -rm -f perl.Addrs perl.Counts t/perl.Addrs t/perl.Counts *perl.xok1015 -rm -f cygwin.c libperl*.def libperl*.dll cygperl*.dll *.exe.stackdump1016 -rm -f perl$(EXE_EXT) suidperl$(EXE_EXT) miniperl$(EXE_EXT) $(LIBPERL) libperl.* microperl1017 -rm -f opcode.h-old opnames.h-old pp.sym-old pp_proto.h-old1018 -rm -f config.over1019 1020 # Do not 'make _tidy' directly.1021 _tidy:1022 -cd pod; $(LDLIBPTH) $(MAKE) clean1023 -cd utils; $(LDLIBPTH) $(MAKE) clean1024 -cd x2p; $(LDLIBPTH) $(MAKE) clean1025 -@for x in $(DYNALOADER) $(dynamic_ext) $(static_ext) $(nonxs_ext) ; do \1026 $(LDLIBPTH) sh ext/util/make_ext clean $$x MAKE=$(MAKE) ; \1027 done1028 1029 _cleaner1:1030 -cd os2; rm -f Makefile1031 -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 done1037 -@test ! -f ./miniperl$(EXE_EXT) || $(LDLIBPTH) ./miniperl$(EXE_EXT) -Ilib mkppport --clean1038 1039 # Some systems do not support "?", so keep these files separate.1040 _cleaner2:1041 -rm -f core.*perl.*.? t/core.perl.*.? .?*.c1042 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/rantests1044 rm -f so_locations $(LIBPERL_NONSHR) $(MINIPERL_NONSHR)1045 rm -rf $(addedbyconf)1046 rm -f $(FIRSTMAKEFILE) $(FIRSTMAKEFILE).old makefile.old1047 rm -f $(private)1048 rm -rf $(unidatafiles) $(unidatadirs)1049 rm -rf lib/auto1050 rm -f lib/.exists lib/*/.exists lib/*/*/.exists1051 rm -f h2ph.man pstruct1052 rm -rf .config1053 rm -f preload1054 rm -rf lib/Encode lib/Compress lib/Hash lib/re1055 rm -rf lib/IO/Compress lib/IO/Uncompress1056 rm -f lib/ExtUtils/ParseXS/t/XSTest.c1057 rm -f lib/ExtUtils/ParseXS/t/XSTest$(OBJ_EXT)1058 rm -f lib/ExtUtils/ParseXS/t/XSTest$(DLSUFFIX)1059 -rmdir lib/B lib/Data1060 -rmdir lib/Filter/Util lib/IO/Socket1061 -rmdir lib/List lib/MIME lib/Scalar lib/Sys1062 -rmdir lib/threads lib/XS1063 1064 _realcleaner:1065 @$(LDLIBPTH) $(MAKE) _cleaner1 CLEAN=realclean1066 @$(LDLIBPTH) $(MAKE) _cleaner21067 1068 _verycleaner:1069 @$(LDLIBPTH) $(MAKE) _cleaner1 CLEAN=veryclean1070 @$(LDLIBPTH) $(MAKE) _cleaner21071 -rm -f *~ *.orig */*~ */*.orig */*/*~ */*/*.orig1072 1073 .PHONY: lint1074 lint: $(c)1075 rm -f *.ln1076 lint $(lintflags) -DPERL_CORE -D_REENTRANT -DDEBUGGING -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(c)1077 1078 .PHONY: splint1079 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 and1084 # that when MAKEDEPEND is empty $(FIRSTMAKEFILE) doesn't need rebuilding.1085 1086 MAKEDEPEND = Makefile makedepend1087 1088 $(FIRSTMAKEFILE): README $(MAKEDEPEND)1089 $(MAKE) depend MAKEDEPEND=1090 1091 config.h: config_h.SH config.sh1092 $(SHELL) config_h.SH1093 # TODO - improve following line1094 cp config.h $(CROSS_LIB)/1095 1096 xconfig.h: config_h.SH Cross/config-$(CROSS_NAME).sh1097 CONFIG_SH=Cross/config-$(CROSS_NAME).sh CONFIG_H=xconfig.h $(SHELL) config_h.SH1098 #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.h1101 1102 # When done, touch perlmain.c so that it doesn't get remade each time.1103 .PHONY: depend1104 depend: makedepend1105 sh ./makedepend MAKE=$(MAKE)1106 - test -s perlmain.c && touch perlmain.c1107 cd x2p; $(MAKE) depend1108 1109 # Cannot postpone this until $firstmakefile is ready ;-)1110 makedepend: makedepend.SH config.sh1111 sh ./makedepend.SH1112 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.taintwarn1120 1121 # Cannot delegate rebuilding of t/perl to make1122 # to allow interlaced test and minitest1123 1124 TESTFILE=TEST1125 1126 _test_prep: unpack_files1127 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_prep1135 1136 _test_tty:1137 cd t && $(PERL_DEBUG) $(LDLIBPTH) $(PERL) $(TESTFILE) $(TEST_ARGS) </dev/tty1138 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 -m1144 1145 cleanup_unpacked_files:1146 -@test ! -f ./miniperl$(EXE_EXT) || $(LDLIBPTH) ./miniperl$(EXE_EXT) -Ilib uupacktool.pl -c1147 1148 # The second branch is for testing without a tty or controlling terminal,1149 # see t/op/stat.t1150 _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 fi1156 @echo "Ran tests" > t/rantests1157 1158 test check: test_prep1159 PERL=./perl $(MAKE) _test1160 1161 test_tty: test_prep1162 PERL=./perl $(MAKE) _test_tty1163 1164 test_notty: test_prep1165 PERL=./perl $(MAKE) _test_notty1166 1167 utest ucheck test.utf8 check.utf8: test_prep1168 PERL=./perl TEST_ARGS=-utf8 $(MAKE) _test1169 1170 coretest: test_prep1171 PERL=./perl TEST_ARGS=-core $(MAKE) _test1172 1173 test-prep: test_prep1174 1175 test-tty: test_tty1176 1177 test-notty: test_notty1178 1179 # Torture testing1180 1181 test.torture torturetest: test_prep1182 PERL=./perl TEST_ARGS=-torture $(MAKE) _test1183 1184 # Targets for UTF16 testing:1185 1186 minitest.utf16: minitest.prep1187 - 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/tty1189 1190 test.utf16 check.utf16: test_prep1191 PERL=./perl $(MAKE) TEST_ARGS=-utf16 _test1192 1193 utest.utf16 ucheck.utf16: test_prep1194 PERL=./perl $(MAKE) TEST_ARGS="-utf8 -utf16" _test1195 1196 # Targets for valgrind testing:1197 1198 test_prep.valgrind: test_prep perl.valgrind1199 PERL=./perl $(MAKE) _test_prep1200 1201 test.valgrind check.valgrind: test_prep perl.valgrind.config1202 PERL=./perl PERL_DEBUG=PERL_VALGRIND=1 VALGRIND='$(VALGRIND)' $(MAKE) _test1203 1204 utest.valgrind ucheck.valgrind: test_prep.valgrind perl.valgrind.config1205 PERL=./perl PERL_DEBUG=PERL_VALGRIND=1 TEST_ARGS=-utf8 $(MAKE) _test1206 1207 test_notty.valgrind: test_prep.valgrind perl.valgrind.config1208 PERL=./perl $(MAKE) PERL_DEBUG=PERL_VALGRIND=1 _test_notty1209 1210 # Targets for Third Degree testing.1211 1212 test_prep.third: test_prep perl.third1213 PERL=./perl.third $(MAKE) _test_prep1214 1215 test.third check.third: test_prep.third perl.third1216 PERL=./perl.third PERL_DEBUG=PERL_3LOG=1 $(MAKE) _test1217 1218 utest.third ucheck.third: test_prep.third perl.third1219 PERL=./perl.third PERL_DEBUG=PERL_3LOG=1 TEST_ARGS=-utf8 $(MAKE) _test1220 1221 test_notty.third: test_prep.third perl.third1222 PERL=./perl.third $(MAKE) PERL_DEBUG=PERL_3LOG=1 _test_notty1223 1224 # Targets for Deparse testing.1225 1226 test.deparse: test_prep1227 PERL=./perl TEST_ARGS=-deparse $(MAKE) _test1228 1229 test_notty.deparse: test_prep1230 PERL=./perl TEST_ARGS=-deparse $(MAKE) _test_notty1231 1232 # Targets to run the test suite with -t1233 1234 test.taintwarn: test_prep1235 PERL=./perl TEST_ARGS=-taintwarn $(MAKE) _test1236 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 miniperl1246 # is crashing.1247 minitest: miniperl$(EXE_EXT) lib/re.pm minitest.prep1248 - 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/tty1250 1251 # Test via harness1252 1253 test_harness: test_prep1254 PERL=./perl $(MAKE) TESTFILE=harness _test1255 1256 test_harness_notty: test_prep1257 PERL=./perl HARNESS_NOTTY=1 $(MAKE) TESTFILE=harness _test1258 1259 # Handy way to run perlbug -ok without having to install and run the1260 # 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 nokfilenack1265 1266 ok: utilities1267 $(LDLIBPTH) ./perl -Ilib utils/perlbug -ok -s '(UNINSTALLED)'1268 1269 okfile: utilities1270 $(LDLIBPTH) ./perl -Ilib utils/perlbug -ok -s '(UNINSTALLED)' -F perl.ok1271 1272 oknack: utilities1273 $(LDLIBPTH) ./perl -Ilib utils/perlbug -ok -s '(UNINSTALLED)' -A1274 1275 okfilenack: utilities1276 $(LDLIBPTH) ./perl -Ilib utils/perlbug -ok -s '(UNINSTALLED)' -F perl.ok -A1277 1278 nok: utilities1279 $(LDLIBPTH) ./perl -Ilib utils/perlbug -nok -s '(UNINSTALLED)'1280 1281 nokfile: utilities1282 $(LDLIBPTH) ./perl -Ilib utils/perlbug -nok -s '(UNINSTALLED)' -F perl.nok1283 1284 noknack: utilities1285 $(LDLIBPTH) ./perl -Ilib utils/perlbug -nok -s '(UNINSTALLED)' -A1286 1287 nokfilenack: utilities1288 $(LDLIBPTH) ./perl -Ilib utils/perlbug -nok -s '(UNINSTALLED)' -F perl.nok -A1289 1290 .PHONY: clist hlist shlist pllist1291 1292 clist: $(c)1293 echo $(c) | tr ' ' $(TRNL) >.clist1294 1295 hlist: $(h)1296 echo $(h) | tr ' ' $(TRNL) >.hlist1297 1298 shlist: $(sh)1299 echo $(sh) | tr ' ' $(TRNL) >.shlist1300 1301 pllist: $(pl)1302 echo $(pl) | tr ' ' $(TRNL) >.pllist1303 1304 Makefile: Makefile.SH ./config.sh1305 $(SHELL) Makefile.SH1306 1307 .PHONY: distcheck1308 distcheck: FORCE1309 perl '-MExtUtils::Manifest=&fullcheck' -e 'fullcheck()'1310 1311 .PHONY: elc1312 elc: emacs/cperl-mode.elc1313 1314 emacs/cperl-mode.elc: emacs/cperl-mode.el1315 -cd emacs; emacs -batch -q -no-site-file -f batch-byte-compile cperl-mode.el1316 1317 .PHONY: etags ctags tags1318 1319 etags: TAGS1320 1321 TAGS: emacs/cperl-mode.elc1322 sh emacs/ptags1323 1324 # Let's hope make will not go into an infinite loop on case-unsensitive systems1325 # This may also fail if . is in the head of the path, since perl will1326 # require -Ilib1327 tags: TAGS1328 perl emacs/e2ctags.pl TAGS > tags1329 1330 ctags:1331 ctags -f Tags -N --totals --languages=c --langmap=c:+.h --exclude=opmini.c *.c *.h1332 1333 # AUTOMATICALLY GENERATED MAKE DEPENDENCIES--PUT NOTHING BELOW THIS LINE1334 # If this runs make out of memory, delete /usr/include lines.1335 !NO!SUBS!1336 1337 $eunicefix $Makefile1338 case `pwd` in1339 *SH)1340 $rm -f ../$Makefile1341 $ln $Makefile ../$Makefile1342 ;;1343 esac1344 $rm -f $firstmakefile1345 1346 # Now do any special processing required before building.1347 1348 case "$ebcdic" in1349 define)1350 xxx=''1351 echo "This is an EBCDIC system, checking if any parser files need regenerating." >&21352 case "$osname" in1353 os390|posix-bc)1354 if cd x2p1355 then1356 rm -f y.tab.c y.tab.h1357 case "$osname" in1358 posix-bc)1359 # we are using two different yaccs in BS2000 Posix!1360 byacc a2p.y >/dev/null 2>&11361 ;;1362 *) # e.g. os3901363 yacc a2p.y >/dev/null 2>&11364 ;;1365 esac1366 if cmp -s y.tab.c a2p.c1367 then1368 rm -f y.tab.c1369 else1370 echo "a2p.y -> a2p.c" >&21371 mv -f y.tab.c a2p.c1372 chmod u+w a2p.c1373 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.c1376 xxx="$xxx a2p.c"1377 fi1378 # In case somebody yacc -d:ed the a2p.y.1379 if test -f y.tab.h1380 then1381 if cmp -s y.tab.h a2p.h1382 then1383 rm -f y.tab.h1384 else1385 echo "a2p.h -> a2p.h" >&21386 mv -f y.tab.h a2p.h1387 xxx="$xxx a2p.h"1388 fi1389 fi1390 cd ..1391 fi1392 ;;1393 vmesa)1394 # Do nothing in VM/ESA.1395 ;;1396 *)1397 echo "'$osname' is an EBCDIC system I don't know that well." >&41398 ;;1399 esac1400 case "$xxx" in1401 '') echo "No parser files were regenerated. That's okay." >&2 ;;1402 esac1403 ;;1404 esac1405 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.SH2 +++ ../Makefile.SH3 @@ -129,18 +129,7 @@4 # INSTALL file, under "Building a shared perl library".5 # If there is no pre-existing $libperl, we don't need6 # to do anything further.7 - if test -f $archlib/CORE/$libperl; then8 - rm -f preload9 - cat <<'EOT' > preload10 -#! /bin/sh11 -lib=$112 -shift13 -test -r $lib && export LD_PRELOAD="$lib $LD_PRELOAD"14 -exec "$@"15 -EOT16 - chmod 755 preload17 - ldlibpth="$ldlibpth `pwd`/preload `pwd`/$libperl"18 - fi19 + echo linux libraries overwritten by cross-compile patches20 ;;21 os390) test -f /bin/env && ldlibpth="/bin/env $ldlibpth"22 ;;23 @@ -389,9 +378,21 @@24 .c.s:25 $(CCCMDSRC) -S $*.c26 27 -all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT) extra.pods $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make28 - @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.make31 +# @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-arm36 + ln -s /usr/bin/perl miniperl37 +38 +more: extra.pods $(private) $(public)39 +40 +more2: $(dynamic_ext)41 +42 +more3: $(nonxs_ext)43 +44 +more4: extras.make45 46 .PHONY: all compile translators utilities47 48 @@ -401,10 +402,10 @@49 cd x2p; $(MAKE) compile;50 cd pod; $(MAKE) compile;51 52 -translators: miniperl$(EXE_EXT) $(CONFIGPM) FORCE53 +translators: $(CONFIGPM) FORCE54 @echo " "; echo " Making x2p stuff"; cd x2p; $(LDLIBPTH) $(MAKE) all55 56 -utilities: miniperl$(EXE_EXT) $(CONFIGPM) $(plextract) lib/lib.pm FORCE57 +utilities: $(CONFIGPM) $(plextract) lib/lib.pm FORCE58 @echo " "; echo " Making utilities"; cd utils; $(LDLIBPTH) $(MAKE) all59 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) minitest66 +# $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest67 !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) minitest75 +# $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest76 !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 args81 #82 .PHONY: preplibrary83 -preplibrary: miniperl$(EXE_EXT) $(CONFIGPM) lib/lib.pm $(PREPLIBRARY_LIBPERL)84 +preplibrary: $(CONFIGPM) lib/lib.pm $(PREPLIBRARY_LIBPERL)85 @sh ./makedir lib/auto86 @echo " AutoSplitting perl library"87 $(LDLIBPTH) ./miniperl -Ilib -e 'use AutoSplit; \88 @@ -763,35 +764,35 @@89 autosplit_lib_modules(@ARGV)' lib/*/*.pm90 $(MAKE) lib/re.pm91 92 -lib/Config.pod: config.sh miniperl$(EXE_EXT) configpm Porting/Glossary93 +lib/Config.pod: config.sh configpm Porting/Glossary94 $(LDLIBPTH) ./miniperl -Ilib configpm --heavy=lib/Config_heavy.pl lib/Config.pm95 96 $(CONFIGPM): lib/Config.pod97 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.pm101 102 lib/re.pm: ext/re/re.pm103 cp ext/re/re.pm lib/re.pm104 105 -$(plextract): miniperl$(EXE_EXT) $(CONFIGPM) x2p/s2p106 +$(plextract): $(CONFIGPM) x2p/s2p107 @-rm -f $@108 $(LDLIBPTH) ./miniperl -I`pwd`/lib $@.PL109 110 -x2p/s2p: miniperl$(EXE_EXT) $(CONFIGPM) x2p/s2p.PL111 +x2p/s2p: $(CONFIGPM) x2p/s2p.PL112 cd x2p; $(LDLIBPTH) $(MAKE) s2p113 114 -lib/lib.pm: miniperl$(EXE_EXT) $(CONFIGPM)115 +lib/lib.pm: $(CONFIGPM)116 @-rm -f $@117 $(LDLIBPTH) ./miniperl -Ilib lib/lib_pm.PL118 119 unidatafiles $(unidatafiles): uni.data120 121 -uni.data: miniperl$(EXE_EXT) $(CONFIGPM) lib/unicore/mktables122 +uni.data: $(CONFIGPM) lib/unicore/mktables123 cd lib/unicore && $(LDLIBPTH) ../../miniperl -I../../lib mktables -w124 touch uni.data125 126 -extra.pods: miniperl$(EXE_EXT)127 +extra.pods:128 -@test -f extra.pods && rm -f `cat extra.pods`129 -@rm -f extra.pods130 -@for x in `grep -l '^=[a-z]' README.* | grep -v README.vms` ; do \131 @@ -837,18 +838,7 @@132 INSTALL_DEPENDENCE = all133 134 install.perl: $(INSTALL_DEPENDENCE) installperl135 - if [ -n "$(COMPILE)" ]; \136 - then \137 - cd utils; $(MAKE) compile; \138 - cd ../x2p; $(MAKE) compile; \139 - cd ../pod; $(MAKE) compile; \140 - else :; \141 - fi142 - $(LDLIBPTH) ./perl installperl --destdir=$(DESTDIR) $(INSTALLFLAGS) $(STRIPFLAGS)143 - $(MAKE) extras.install144 -145 -install.man: all installman146 - $(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 FORCE156 +$(DYNALOADER): preplibrary FORCE157 @$(LDLIBPTH) sh ext/util/make_ext $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)158 159 -d_dummy $(dynamic_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE160 +d_dummy $(dynamic_ext): preplibrary $(DYNALOADER) FORCE161 @$(LDLIBPTH) sh ext/util/make_ext dynamic $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)162 163 -s_dummy $(static_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE164 +s_dummy $(static_ext): preplibrary $(DYNALOADER) FORCE165 @$(LDLIBPTH) sh ext/util/make_ext $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)166 167 -n_dummy $(nonxs_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE168 +n_dummy $(nonxs_ext): preplibrary $(DYNALOADER) FORCE169 @$(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_prep179 180 _test_tty:181 @@ -1214,7 +1204,7 @@182 183 # Can't depend on lib/Config.pm because that might be where miniperl184 # is crashing.185 -minitest: miniperl$(EXE_EXT) lib/re.pm minitest.prep186 +minitest: lib/re.pm minitest.prep187 - 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/tty189 -
Cross/README
diff -Naur perl-5.10.0.orig/Cross/README perl-5.10.0/Cross/README
old new 1 Building for arm-linux2 ----------------------3 4 The files in this directory add another cross-compilation5 target to the Perl buildsystem. It was built as a part of6 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 level11 INSTALL file, see the section "Cross-compilation".)12 13 The main target is arm-linux but I have also managed to14 successfully cross-compile Perl for Solaris x86 using the same15 buildsystem.16 17 We are currently dependent on an existing working local copy of18 Perl ** of the same version and revision ** which is available19 as /usr/bin/perl.20 21 You need a working and tested cross-compiler for your build22 and target combination. The binary directory must be in23 your path.24 25 1) You should be reading me (README) in perl-5.x.y/Cross26 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 perl33 34 Your built Perl environment is in install_me_here/ in your build35 directory. From here you can package and deploy as you wish.36 37 Omissions38 ----------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/x8651 on linux/x86 build system.52 53 To attempt a cross-compile for another target using the methods54 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 BUILD60 machine and place it in the Cross directory with the61 filename config.sh-ARCH-OS. For example,62 config.sh-i386-pc-solaris2.8. For the appropriate ARCH63 and OS please refer to your cross-compiler documentation.64 4) Edit Cross/config to reflect your new target and continue65 with build as above.66 67 Should you wish to produce optimised binaries for different68 architectures you can add the appropriate compiler flags to69 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 different76 cross-compilation setup described in the INSTALL file, and77 executed by Configure. There should be no conflicts since78 it is unlikely both that cross-compilation setups are used79 simultaneously.80 81 Enjoy!82 83 References84 ----------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 scheme3 is stabilized.4 5 =head1 NAME6 7 README.new - Cross-compilation for linux8 9 =head1 DESCRIPTION10 11 This is second approach to linux cross-compilation, which should allow12 building full perl and entensions for target platform. Cross-compilation13 for linux uses similar approach and shares the same files as14 cross-compilation for WinCE.15 16 We refer to HOST as the platform where the build is performed, and to17 TARGET as where final executables will run.18 19 =head2 Basic ideas20 21 =head3 common22 23 Unlike WinCE, output files from GCC cross-compiler are produced in the same24 directory where C files are. All TARGET binaries have different extensions25 so to distinguish HOST and TARGET binaries. Namely, object files for C<arm>26 cross-compilation will have extension C<.armo>, executable files will have27 C<.arm>.28 29 After typical cross-compilation the following files will be built, among30 others:31 32 sv.c33 sv.o34 sv.armo35 libperl.arma36 37 (this approach may be reconsidered, however.)38 39 =head3 build process40 41 C<miniperl> is built. This executable is intended to run on HOST, and it42 will facilitate the remaining build process; all binaries built after it are43 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 only48 an indication of a mistake somewhere in the middle.49 50 # following command is okay:51 ./miniperl -Ilib -MCross -MConfig -e 152 # following command should cluck, and it is bad if it does not:53 ./miniperl -Ilib -MConfig -e 154 55 After C<miniperl> is built, C<configpm> is invoked to create an56 appropriate C<Config.pm> in the right place and its corresponding57 C<Cross.pm>.58 59 File C<Cross.pm> is dead simple: for given cross-architecture places in @INC60 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, because63 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 a67 correct C<Config.pm> for further compilations.68 69 During extensions build phase, the script C<./ext/util/make_ext_cross> is70 invoked.71 72 All invocations of C<Makefile.PL> are provided with C<-MCross> so to enable73 cross-compilation.74 75 =head2 BUILD76 77 =head3 Tools & SDK78 79 To compile, you need the following:80 81 =over 482 83 =item * TODO84 85 =back86 87 =head1 Things to be done88 89 =over 490 91 =item * better distinguishing of config.h/xconfig.h, dependencies92 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 -x2 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`;do9 cp -r $f/* ./install_me_here/10 done11 12 for f in `find lib -name install_me_here`;do13 rm -rf $f14 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 126 126 esac 127 127 128 128 if test ! -f $makefile ; then 129 test -f Makefile.PL && $run ../$depth/miniperl -I../$depth/lib Makefile.PL INSTALLDIRS=perl INSTALLMAN3DIR=none PERL_CORE=1 $passthru129 test -f Makefile.PL && $run ../$depth/miniperl-cross -I../$depth/lib Makefile.PL INSTALLDIRS=perl INSTALLMAN3DIR=none PERL_CORE=1 $passthru 130 130 fi 131 131 if test ! -f $makefile ; then 132 132 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 1 1 all: 2 ../../miniperl -I../../lib ./mktables2 ../../miniperl-cross -I../../lib ./mktables 3 3 4 4 TestProp.pl: mktables UnicodeData.txt Scripts.txt Blocks.txt PropList.txt 5 ../../miniperl -I../../lib ./mktables -maketest5 ../../miniperl-cross -I../../lib ./mktables -maketest 6 6 7 7 test: TestProp.pl 8 ../../miniperl -I../../lib TestProp.pl8 ../../miniperl-cross -I../../lib TestProp.pl 9 9 10 10 clean: 11 11 rm -f *.pl */*.pl -
Makefile.SH
diff -Naur perl-5.10.0.orig/Makefile.SH perl-5.10.0/Makefile.SH
old new 634 634 $(CC) -o miniperl $(CLDFLAGS) \ 635 635 `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \ 636 636 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) $(libs) 637 $(LDLIBPTH) $(RUN) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest637 $(LDLIBPTH) $(RUN) ./miniperl-cross -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest 638 638 !NO!SUBS! 639 639 ;; 640 640 next4*) … … 642 642 miniperl: $& miniperlmain$(OBJ_EXT) $(obj) opmini$(OBJ_EXT) 643 643 $(CC) -o miniperl `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \ 644 644 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) $(libs) 645 $(LDLIBPTH) $(RUN) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest645 $(LDLIBPTH) $(RUN) ./miniperl-cross -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest 646 646 !NO!SUBS! 647 647 ;; 648 648 darwin*) … … 664 664 $(CC) $(CLDFLAGS) $(NAMESPACEFLAGS) -o miniperl \ 665 665 `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \ 666 666 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) $(libs) 667 $(LDLIBPTH) $(RUN) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest667 $(LDLIBPTH) $(RUN) ./miniperl-cross -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest 668 668 !NO!SUBS! 669 669 ;; 670 670 *) … … 674 674 $(LDLIBPTH) $(CC) $(CLDFLAGS) -o miniperl \ 675 675 `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \ 676 676 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) $(libs) 677 $(LDLIBPTH) $(RUN) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest677 $(LDLIBPTH) $(RUN) ./miniperl-cross -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest 678 678 !NO!SUBS! 679 679 ;; 680 680 esac … … 806 806 .PHONY: makeppport 807 807 makeppport: miniperl\$(EXE_EXT) \$(CONFIGPM) 808 808 -@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); \ 810 810 done 811 811 812 812 !GROK!THIS! … … 815 815 $spitshell >>Makefile <<'!NO!SUBS!' 816 816 .PHONY: makeppport 817 817 makeppport: miniperl$(EXE_EXT) $(CONFIGPM) 818 $(LDLIBPTH) $(RUN) ./miniperl $(EXE_EXT) -Ilib mkppport818 $(LDLIBPTH) $(RUN) ./miniperl-cross$(EXE_EXT) -Ilib mkppport 819 819 820 820 !NO!SUBS! 821 821 ;; … … 837 837 preplibrary: miniperl$(EXE_EXT) $(CONFIGPM) lib/lib.pm $(PREPLIBRARY_LIBPERL) 838 838 @sh ./makedir lib/auto 839 839 @echo " AutoSplitting perl library" 840 $(LDLIBPTH) $(RUN) ./miniperl -Ilib -e 'use AutoSplit; \840 $(LDLIBPTH) $(RUN) ./miniperl-cross -Ilib -e 'use AutoSplit; \ 841 841 autosplit_lib_modules(@ARGV)' lib/*.pm 842 $(LDLIBPTH) $(RUN) ./miniperl -Ilib -e 'use AutoSplit; \842 $(LDLIBPTH) $(RUN) ./miniperl-cross -Ilib -e 'use AutoSplit; \ 843 843 autosplit_lib_modules(@ARGV)' lib/*/*.pm 844 844 $(MAKE) lib/re.pm 845 845 846 846 lib/Config.pod: config.sh miniperl$(EXE_EXT) configpm Porting/Glossary 847 $(LDLIBPTH) $(RUN) ./miniperl -Ilib configpm847 $(LDLIBPTH) $(RUN) ./miniperl-cross -Ilib configpm 848 848 849 849 $(CONFIGPM): lib/Config.pod 850 850 851 851 lib/ExtUtils/Miniperl.pm: miniperlmain.c miniperl$(EXE_EXT) minimod.pl $(CONFIGPM) 852 $(LDLIBPTH) $(RUN) ./miniperl minimod.pl > lib/ExtUtils/Miniperl.pm852 $(LDLIBPTH) $(RUN) ./miniperl-cross minimod.pl > lib/ExtUtils/Miniperl.pm 853 853 854 854 lib/re.pm: ext/re/re.pm 855 855 @-rm -f $@ … … 857 857 858 858 $(plextract): miniperl$(EXE_EXT) $(CONFIGPM) x2p/s2p 859 859 @-rm -f $@ 860 $(LDLIBPTH) $(RUN) ./miniperl -I`pwd`/lib $@.PL860 $(LDLIBPTH) $(RUN) ./miniperl-cross -I`pwd`/lib $@.PL 861 861 862 862 x2p/s2p: miniperl$(EXE_EXT) $(CONFIGPM) x2p/s2p.PL 863 863 cd x2p; $(LDLIBPTH) $(MAKE) s2p 864 864 865 865 lib/lib.pm: miniperl$(EXE_EXT) $(CONFIGPM) 866 866 @-rm -f $@ 867 $(LDLIBPTH) $(RUN) ./miniperl -Ilib lib/lib_pm.PL867 $(LDLIBPTH) $(RUN) ./miniperl-cross -Ilib lib/lib_pm.PL 868 868 869 869 unidatafiles $(unidatafiles): uni.data 870 870 871 871 uni.data: miniperl$(EXE_EXT) $(CONFIGPM) lib/unicore/mktables 872 cd lib/unicore && $(LDLIBPTH) $(RUN) ../../miniperl -I../../lib mktables -w872 cd lib/unicore && $(LDLIBPTH) $(RUN) ../../miniperl-cross -I../../lib mktables -w 873 873 touch uni.data 874 874 875 875 extra.pods: miniperl$(EXE_EXT) … … 898 898 no-install install.perl install.man install.html 899 899 900 900 META.yml: Porting/makemeta Porting/Maintainers.pl Porting/Maintainers.pm 901 $(LDLIBPTH) $(RUN) ./miniperl -Ilib Porting/makemeta901 $(LDLIBPTH) $(RUN) ./miniperl-cross -Ilib Porting/makemeta 902 902 903 903 install-strip: 904 904 $(MAKE) STRIPFLAGS=-s install DESTDIR="$(DESTDIR)" … … 1101 1101 -@for x in $(DYNALOADER) $(dynamic_ext) $(static_ext) $(nonxs_ext) ; do \ 1102 1102 $(LDLIBPTH) sh ext/util/make_ext $(CLEAN) $$x MAKE=$(MAKE) ; \ 1103 1103 done 1104 -@test ! -f $(RUN) ./miniperl $(EXE_EXT) || $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -Ilib mkppport --clean1104 -@test ! -f $(RUN) ./miniperl-cross$(EXE_EXT) || $(LDLIBPTH) $(RUN) ./miniperl-cross$(EXE_EXT) -Ilib mkppport --clean 1105 1105 1106 1106 # Some systems do not support "?", so keep these files separate. 1107 1107 _cleaner2: … … 1204 1204 cd t && $(PERL_DEBUG) PERL_SKIP_TTY_TEST=1 $(LDLIBPTH) $(PERL) $(TESTFILE) $(TEST_ARGS) $(TEST_FILES) 1205 1205 1206 1206 unpack_files: 1207 $(LDLIBPTH) $(RUN) ./miniperl $(EXE_EXT) -Ilib uupacktool.pl -u -m1207 $(LDLIBPTH) $(RUN) ./miniperl-cross$(EXE_EXT) -Ilib uupacktool.pl -u -m 1208 1208 1209 1209 cleanup_unpacked_files: 1210 -@test ! -f $(RUN) ./miniperl $(EXE_EXT) || $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -Ilib uupacktool.pl -c1210 -@test ! -f $(RUN) ./miniperl-cross$(EXE_EXT) || $(LDLIBPTH) $(RUN) ./miniperl-cross$(EXE_EXT) -Ilib uupacktool.pl -c 1211 1211 1212 1212 # The second branch is for testing without a tty or controlling terminal, 1213 1213 # see t/op/stat.t … … 1248 1248 # Targets for UTF16 testing: 1249 1249 1250 1250 minitest.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)) \ 1252 1252 && $(LDLIBPTH) $(RUN) ./perl TEST -minitest -utf16 base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t mro/*.t </dev/tty 1253 1253 1254 1254 test.utf16 check.utf16: test_prep … … 1309 1309 # Can't depend on lib/Config.pm because that might be where miniperl 1310 1310 # is crashing. 1311 1311 minitest: 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)) \ 1313 1313 && $(LDLIBPTH) $(RUN) ./perl TEST -minitest base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t mro/*.t </dev/tty 1314 1314 1315 1315 # Test via harness -
perl-5.10.0
diff -Naur perl-5.10.0.orig/MANIFEST perl-5.10.0/MANIFEST
old new 25 25 configure.gnu Crude emulation of GNU configure 26 26 cop.h Control operator header 27 27 Copying 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 28 Cross/cleanconfig.sh Cross-compilation 31 29 Cross/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 30 Cross/config.sh-x86-linux Cross-compilation 35 31 Cross/Makefile Cross-compilation 36 Cross/Makefile-cross-SH Cross-compilation37 Cross/Makefile.SH.patch Cross-compilation38 Cross/README Cross-compilation39 Cross/README.new Cross-compilation40 Cross/TODO Cross-compilation41 Cross/warp Cross-compilation42 32 cv.h Code value header 43 33 cygwin/cygwin.c Additional code for Cygwin port 44 34 cygwin/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 63 63 --podroot=.. --podpath=pod:lib:ext:vms \ 64 64 --libpods=perlfunc:perlguts:perlvar:perlrun:perlop 65 65 66 PERL = ../miniperl 66 PERL = ../miniperl-cross 67 67 PERLILIB = $(PERL) -I../lib 68 68 REALPERL = ../perl 69 69 -
utils/Makefile
diff -Naur perl-5.10.0.orig/utils/Makefile perl-5.10.0/utils/Makefile
old new 1 1 2 PERL = ../miniperl 2 PERL = ../miniperl-cross 3 3 REALPERL = ../perl 4 4 RUN = # Used mainly cross-compilation setups. 5 5 -
x2p/Makefile.SH
diff -Naur perl-5.10.0.orig/x2p/Makefile.SH perl-5.10.0/x2p/Makefile.SH
old new 171 171 # These should be automatically generated 172 172 173 173 $(plextract): 174 $(RUN) ../miniperl -I../lib $@.PL174 $(RUN) ../miniperl-cross -I../lib $@.PL 175 175 176 176 find2perl: find2perl.PL 177 177
Note:
See TracBrowser
for help on using the repository browser.