1 diff -Naur perl-5.10.0.orig/Cross/build-arm-n770-sh perl-5.10.0/Cross/build-arm-n770-sh
2 --- perl-5.10.0.orig/Cross/build-arm-n770-sh 2007-12-18 05:47:07.000000000 -0500
3 +++ perl-5.10.0/Cross/build-arm-n770-sh 1969-12-31 19:00:00.000000000 -0500
5 -# this is a build script for ARM-linux cross-compiling.
6 -# it builds miniperl on HOST and then perl for TARGET
7 -# this approach is like Perl-CE cross-compiling, and allows
8 -# for full TARGET perl (as opposed to renamed miniperl)
10 -# to skip Configure/build for HOST miniperl, pass "noconf" argument to this script
12 -# some trick is different, however - the file extension for objects files
13 -# are choosen to be .${CROSS_NAME}, .armo in our case
15 -# note how invoked Makefile.PL for cross-compilation:
16 -# miniperl -MCross Makefile.PL
19 -# - run HOST configure
20 -# - build HOST miniperl
21 -# given freshly-created HOST makefile and existing miniperl fix makefile
26 -# suppose compiler is in /opt/arm-2006q3
27 -CCPATH=/opt/arm-2006q3
28 -PATH=$CCPATH/bin:$PATH
29 -CCPREF=arm-none-linux-gnueabi-
35 -cp config.sh-arm-linux-n770 config-${CROSS_NAME}.sh
37 -# following should be done better:
40 -if [[ "x$1" != xnoconf* ]] ; then
41 -# do miniperl on HOST
42 -./Configure -des -D prefix=./dummy -Dusedevel
45 -# fake uudmap, which should be on HOST
46 -# TODO - all host utilities should be clearly stated and not built for TARGET
47 -cp generate_uudmap generate_uudmap.${CROSS_NAME}
52 -# do the rest for TARGET
55 -# call make thusly so it will crosscompile...
56 -XCOREDIR=xlib/$CROSS_NAME/CORE
57 -PERL_CONFIG_SH=Cross/config-${CROSS_NAME}.sh
59 -#?? . $PERL_CONFIG_SH
61 -# make cflags do cross-compile work (now its hackish, will be improved!)
62 -rm cflags-cross-$CROSS_NAME
63 -cp Cross/cflags-cross-$CROSS_NAME .
64 -rm Makefile-cross-$CROSS_NAME
65 -sh Cross/Makefile-cross-SH
66 -cp Cross/Makefile-cross-$CROSS_NAME .
69 -mkdir xlib/$CROSS_NAME
72 -#??OBJ_EXT=.${CROSS_NAME}o
73 -# TODO these -- AR=${CCPREF}ar LD=${CCPREF}ld
74 -make -f Makefile-cross-$CROSS_NAME xconfig.h
75 -make -f Makefile-cross-$CROSS_NAME libperl.${CROSS_NAME}a OBJ_EXT=.${CROSS_NAME}o EXE_EXT=.$CROSS_NAME LIB_EXT=.${CROSS_NAME}a AR=${CCPREF}ar LD=${CCPREF}ld
76 -make -f Makefile-cross-$CROSS_NAME DynaLoader.${CROSS_NAME}o OBJ_EXT=.${CROSS_NAME}o EXE_EXT=.$CROSS_NAME LIB_EXT=.${CROSS_NAME}a AR=${CCPREF}ar LD=${CCPREF}ld
77 -make -f Makefile-cross-$CROSS_NAME perl.${CROSS_NAME}
79 diff -Naur perl-5.10.0.orig/Cross/cflags-cross-arm perl-5.10.0/Cross/cflags-cross-arm
80 --- perl-5.10.0.orig/Cross/cflags-cross-arm 2007-12-18 05:47:07.000000000 -0500
81 +++ perl-5.10.0/Cross/cflags-cross-arm 1969-12-31 19:00:00.000000000 -0500
85 -# Extra warnings, used e.g. for gcc.
86 -warn="-Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat"
87 -# Extra standardness.
92 -# TODO - remove this Cross-config-xxx stuff
94 -case $PERL_CONFIG_SH in
96 - if test -f Cross/config-arm.sh; then TOP=.;
97 - elif test -f ../Cross/config-arm.sh; then TOP=..;
98 - elif test -f ../../Cross/config-arm.sh; then TOP=../..;
99 - elif test -f ../../../Cross/config-arm.sh; then TOP=../../..;
100 - elif test -f ../../../../Cross/config-arm.sh; then TOP=../../../..;
102 - echo "Can't find config-arm.sh."; exit 1
104 - . $TOP/Cross/config-arm.sh
108 -: syntax: cflags [optimize=XXX] [file[.suffix]]
109 -: displays the compiler command line for file
112 -Xoptimize=*|X"optimize=*")
120 -1) also='echo 1>&2 " CCCMD = "'
124 -0) set *.c; echo "The current C flags are:" ;;
127 -set `echo "$* " | sed -e 's/\.[oc] / /g' -e "s/\.${CROSS_NAME}o / /g" -e 's/\.obj / /g' -e "s/\\$obj_ext / /g"`
132 - 1) extra="-o $file.${CROSS_NAME}o $extra";;
133 - *) echo $n " $file.c $c" ;;
136 - : allow variables like toke_cflags to be evaluated
138 - if echo $file | grep -v / >/dev/null
140 - eval 'eval ${'"${file}_cflags"'-""}'
143 - : or customize here
199 - # Extra paranoia in case people have bad canned ccflags:
200 - # bad in the sense that the flags are accepted by g++,
201 - # but then whined about.
202 - for f in -Wdeclaration-after-statement -std=c89
204 - ccflags=`echo $ccflags|sed 's/$f/ /'`
211 - # Without -Wno-unused-variable g++ 4.x compiles are rather unwatchable
212 - # because of all the warnings about Perl___notused, and g++ doesn't do
213 - # __attribute__((unused)) (and even if at some stage it may, people do
214 - # have older gcc installations), and ((void)x) isn't enough to silence
215 - # the noises about XS functions not using their cv parameter, so we need
216 - # the -Wno-unused-parameter too.
217 - # Yes, we lose some valid warnings, but hopefully other compilers
218 - # (like gcc) will still pick up those warnings.
219 - for o in -Wno-unused-variable -Wno-unused-parameter
223 - *) warn="$warn $o" ;;
229 -if test -f .patch; then
230 - ccflags="-DPERL_PATCHNUM=`cat .patch` $ccflags"
233 - : Can we perhaps use $ansi2knr here
234 - echo "$CROSSCC -c -DPERL_CORE $ccflags $stdflags $optimize $warn $extra"
235 - eval "$also "'"$CROSSCC -DUSE_CROSS_COMPILE -DPERL_CORE -c $ccflags $stdflags $optimize $warn $extra"'
237 - . $TOP/Cross/config-arm.sh
240 diff -Naur perl-5.10.0.orig/Cross/cleanconfig.sh perl-5.10.0/Cross/cleanconfig.sh
241 --- perl-5.10.0.orig/Cross/cleanconfig.sh 1969-12-31 19:00:00.000000000 -0500
242 +++ perl-5.10.0/Cross/cleanconfig.sh 2009-04-05 13:37:35.954482014 -0400
246 +if [ ! -f "$1" ]; then
247 + echo "Usage: $0 filename"
251 +# Source directory :
252 +# Configuration time:
254 +# Target system : linux shelby 2.6.27.10-r4 #4 smp sun dec 21 12:36:
257 + -e "/^#.*Package name/d" \
258 + -e "/^#.*Source directory/d" \
259 + -e "/^#.*Configuration time/d" \
260 + -e "/^#.*Configured by/d" \
261 + -e "/^#.*Target system/d" \
262 + -e "s@\(^myhostname=\).*@\1''@g" \
263 + -e "s@\(^mydomain=\).*@\1''@g" \
264 + -e "s@\(^cf_by=\).*@\1''@g" \
265 + -e "s@\(^cf_email=\).*@\1''@g" \
266 + -e "s@\(^perladmin=\).*@\1''@g" \
267 + -e "s@\(^myuname=\).*@\1''@g" \
268 + -e "s@\(^cf_time=\).*@\1''@g"
269 diff -Naur perl-5.10.0.orig/Cross/config perl-5.10.0/Cross/config
270 --- perl-5.10.0.orig/Cross/config 2007-12-18 05:47:07.000000000 -0500
271 +++ perl-5.10.0/Cross/config 1969-12-31 19:00:00.000000000 -0500
273 -##############################################################################
275 -# This is the configuration file used to specify the target platform and
276 -# required level of debug or optimisation.
278 -##############################################################################
289 -CONFIG_TARGET_ARM_SA11X0 = 1
290 -#CONFIG_TARGET_ARM_XSCALE = 1
296 diff -Naur perl-5.10.0.orig/Cross/config.sh-arm-linux perl-5.10.0/Cross/config.sh-arm-linux
297 --- perl-5.10.0.orig/Cross/config.sh-arm-linux 2007-12-18 05:47:07.000000000 -0500
298 +++ perl-5.10.0/Cross/config.sh-arm-linux 2009-04-05 13:37:40.274479697 -0400
300 # instead choose to run each of the .SH files by yourself, or "Configure -S".
303 -# Package name : perl5
304 -# Source directory : .
305 -# Configuration time: Wed Sep 3 22:24:58 EDT 2003
306 -# Configured by : red
307 -# Target system : linux openzaurus.criticalintegration.com 2.4.6-rmk1-np2-embedix #15 Wed Aug 6 07:49:44 UTC 2003 armv4l unknown
312 aphostname='/bin/hostname'
317 api_versionstring='5.10.0'
319 -archlib='/usr/lib/perl5/5.10.0/armv4l-linux'
320 -archlibexp='/usr/lib/perl5/5.10.0/armv4l-linux'
321 +archlib='/usr/lib/perl5/5.10.0/armv5tel-linux-thread-multi'
322 +archlibexp='/usr/lib/perl5/5.10.0/armv5tel-linux-thread-multi'
324 -archname='armv4l-linux'
325 +archname='armv5tel-linux-thread-multi'
328 +asctime_r_proto='REENTRANT_PROTO_B_SB'
337 -ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.10.0/armv4l-linux/CORE'
338 -ccflags='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
340 +ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.10.0/armv5tel-linux-thread-multi/CORE'
341 +ccflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
342 ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
343 -ccname='arm-linux-gcc'
344 -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'
349 -cf_email='red@criticalintegration.com'
350 -cf_time='Wed Sep 3 22:24:58 EDT 2003'
361 -cppccsymbols='__ELF__=1 __GNUC__=2 linux=1 unix=1'
362 -cppflags='-fno-strict-aliasing -I/usr/local/include'
364 +cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include'
369 -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'
371 +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'
372 +crypt_r_proto='REENTRANT_PROTO_B_CCS'
377 +ctime_r_proto='REENTRANT_PROTO_B_SB'
378 d_Gconvert='gcvt((x),(n),(b))'
381 @@ -107,25 +102,25 @@
386 +d_asctime_r='define'
389 -d_attribute_format='undef'
390 -d_attribute_malloc='undef'
391 -d_attribute_nonnull='undef'
392 -d_attribute_noreturn='undef'
393 -d_attribute_pure='undef'
394 -d_attribute_unused='undef'
395 -d_attribute_warn_unused_result='undef'
396 +d_attribute_format='define'
397 +d_attribute_malloc='define'
398 +d_attribute_nonnull='define'
399 +d_attribute_noreturn='define'
400 +d_attribute_pure='define'
401 +d_attribute_unused='define'
402 +d_attribute_warn_unused_result='define'
408 d_builtin_choose_expr='define'
409 -d_builtin_expect='define'
410 +d_builtin_expect='undef'
412 -d_c99_variadic_macros='undef'
413 +d_c99_variadic_macros='define'
417 @@ -140,11 +135,11 @@
432 d_dbminitproto='undef'
433 @@ -156,10 +151,10 @@
438 +d_drand48_r='define'
439 d_drand48proto='define'
447 d_endservent_r='undef'
450 -d_faststdio='define'
456 d_fcntl_can_lock='define'
464 @@ -205,34 +200,34 @@
474 -d_getgrent_r='undef'
475 -d_getgrgid_r='undef'
476 -d_getgrnam_r='undef'
477 +d_getgrent_r='define'
478 +d_getgrgid_r='define'
479 +d_getgrnam_r='define'
481 d_gethbyaddr='define'
482 d_gethbyname='define'
485 -d_gethostbyaddr_r='undef'
486 -d_gethostbyname_r='undef'
487 -d_gethostent_r='undef'
488 +d_gethostbyaddr_r='define'
489 +d_gethostbyname_r='define'
490 +d_gethostent_r='define'
491 d_gethostprotos='define'
494 -d_getlogin_r='undef'
495 +d_getlogin_r='define'
498 d_getnbyaddr='define'
499 d_getnbyname='define'
501 -d_getnetbyaddr_r='undef'
502 -d_getnetbyname_r='undef'
503 -d_getnetent_r='undef'
504 +d_getnetbyaddr_r='define'
505 +d_getnetbyname_r='define'
506 +d_getnetent_r='define'
507 d_getnetprotos='define'
509 d_getpbyname='define'
510 @@ -243,32 +238,32 @@
514 -d_getprotobyname_r='undef'
515 -d_getprotobynumber_r='undef'
516 -d_getprotoent_r='undef'
517 +d_getprotobyname_r='define'
518 +d_getprotobynumber_r='define'
519 +d_getprotoent_r='define'
520 d_getprotoprotos='define'
523 -d_getpwent_r='undef'
524 -d_getpwnam_r='undef'
525 -d_getpwuid_r='undef'
526 +d_getpwent_r='define'
527 +d_getpwnam_r='define'
528 +d_getpwuid_r='define'
529 d_getsbyname='define'
530 d_getsbyport='define'
532 -d_getservbyname_r='undef'
533 -d_getservbyport_r='undef'
534 -d_getservent_r='undef'
535 +d_getservbyname_r='define'
536 +d_getservbyport_r='define'
537 +d_getservent_r='define'
538 d_getservprotos='define'
540 -d_getspnam_r='undef'
541 +d_getspnam_r='define'
550 -d_inc_version_list='define'
551 +d_inc_version_list='undef'
557 d_libm_lib_version='define'
559 -d_localtime_r='undef'
560 -d_localtime_r_needs_tzset='undef'
561 +d_localtime_r='define'
562 +d_localtime_r_needs_tzset='define'
568 d_nl_langinfo='define'
569 d_nv_preserves_uv='define'
570 -d_nv_zero_is_allbits_zero='undef'
572 +d_nv_zero_is_allbits_zero='define'
574 d_old_pthread_create_joinable='undef'
575 d_oldpthreads='undef'
577 @@ -342,12 +337,12 @@
581 -d_printf_format_null='undef'
582 +d_printf_format_null='define'
583 d_procselfexe='define'
585 -d_pthread_atfork='undef'
586 +d_pthread_atfork='define'
587 d_pthread_attr_setscope='define'
588 -d_pthread_yield='undef'
589 +d_pthread_yield='define'
593 @@ -358,10 +353,10 @@
598 -d_readdir64_r='undef'
600 +d_readdir64_r='define'
603 +d_readdir_r='define'
607 @@ -428,36 +423,36 @@
608 d_sigprocmask='define'
612 -d_sockatmark='undef'
613 -d_sockatmarkproto='undef'
615 +d_sockatmark='define'
616 +d_sockatmarkproto='define'
620 d_socks5_init='undef'
621 d_sprintf_returns_strlen='define'
625 -d_sresgproto='undef'
626 -d_sresuproto='undef'
627 +d_srand48_r='define'
628 +d_srandom_r='define'
629 +d_sresgproto='define'
630 +d_sresuproto='define'
632 d_statfs_f_flags='undef'
635 d_stdio_cnt_lval='undef'
636 -d_stdio_ptr_lval='define'
637 +d_stdio_ptr_lval='undef'
638 d_stdio_ptr_lval_nochange_cnt='undef'
639 -d_stdio_ptr_lval_sets_cnt='define'
640 +d_stdio_ptr_lval_sets_cnt='undef'
641 d_stdio_stream_array='undef'
642 -d_stdiobase='define'
649 d_strerrm='strerror(e)'
651 -d_strerror_r='undef'
652 +d_strerror_r='define'
658 d_tm_tm_gmtoff='define'
659 d_tm_tm_zone='define'
664 +d_ttyname_r='define'
668 @@ -500,10 +495,10 @@
670 d_usleepproto='define'
672 -d_vendorarch='undef'
675 -d_vendorscript='undef'
676 +d_vendorarch='define'
677 +d_vendorbin='define'
678 +d_vendorlib='define'
679 +d_vendorscript='define'
681 d_void_closedir='undef'
688 -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'
689 +drand48_r_proto='REENTRANT_PROTO_I_ST'
690 +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'
698 -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'
699 +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'
703 @@ -557,39 +552,39 @@
706 full_ar='/usr/bin/ar'
712 -gccversion='2.95.3 20010125 (prerelease)'
713 -getgrent_r_proto='0'
714 -getgrgid_r_proto='0'
715 -getgrnam_r_proto='0'
716 -gethostbyaddr_r_proto='0'
717 -gethostbyname_r_proto='0'
718 -gethostent_r_proto='0'
719 -getlogin_r_proto='0'
720 -getnetbyaddr_r_proto='0'
721 -getnetbyname_r_proto='0'
722 -getnetent_r_proto='0'
723 -getprotobyname_r_proto='0'
724 -getprotobynumber_r_proto='0'
725 -getprotoent_r_proto='0'
726 -getpwent_r_proto='0'
727 -getpwnam_r_proto='0'
728 -getpwuid_r_proto='0'
729 -getservbyname_r_proto='0'
730 -getservbyport_r_proto='0'
731 -getservent_r_proto='0'
732 -getspnam_r_proto='0'
734 +getgrent_r_proto='REENTRANT_PROTO_I_SBWR'
735 +getgrgid_r_proto='REENTRANT_PROTO_I_TSBWR'
736 +getgrnam_r_proto='REENTRANT_PROTO_I_CSBWR'
737 +gethostbyaddr_r_proto='REENTRANT_PROTO_I_TsISBWRE'
738 +gethostbyname_r_proto='REENTRANT_PROTO_I_CSBWRE'
739 +gethostent_r_proto='REENTRANT_PROTO_I_SBWRE'
740 +getlogin_r_proto='REENTRANT_PROTO_I_BW'
741 +getnetbyaddr_r_proto='REENTRANT_PROTO_I_uISBWRE'
742 +getnetbyname_r_proto='REENTRANT_PROTO_I_CSBWRE'
743 +getnetent_r_proto='REENTRANT_PROTO_I_SBWRE'
744 +getprotobyname_r_proto='REENTRANT_PROTO_I_CSBWR'
745 +getprotobynumber_r_proto='REENTRANT_PROTO_I_ISBWR'
746 +getprotoent_r_proto='REENTRANT_PROTO_I_SBWR'
747 +getpwent_r_proto='REENTRANT_PROTO_I_SBWR'
748 +getpwnam_r_proto='REENTRANT_PROTO_I_CSBWR'
749 +getpwuid_r_proto='REENTRANT_PROTO_I_TSBWR'
750 +getservbyname_r_proto='REENTRANT_PROTO_I_CCSBWR'
751 +getservbyport_r_proto='REENTRANT_PROTO_I_ICSBWR'
752 +getservent_r_proto='REENTRANT_PROTO_I_SBWR'
753 +getspnam_r_proto='REENTRANT_PROTO_I_CSBWR'
758 glibpth='/usr/shlib /lib /usr/lib /usr/lib/386 /lib/386 /usr/ccs/lib /usr/ucblib /usr/local/lib '
761 -gnulibc_version='2.2.2'
762 +gmtime_r_proto='REENTRANT_PROTO_S_TS'
763 +gnulibc_version='2.9'
765 groupcat='cat /etc/group'
767 @@ -697,64 +692,65 @@
768 inc_version_list_init='0'
771 -installarchlib='./install_me_here/usr/lib/perl5/5.10.0/armv4l-linux'
772 -installbin='./install_me_here/usr/bin'
773 +initialinstalllocation='/usr/bin'
774 +installarchlib='/usr/lib/perl5/5.10.0/armv5tel-linux-thread-multi'
775 +installbin='/usr/bin'
778 -installman1dir='./install_me_here/usr/share/man/man1'
779 -installman3dir='./install_me_here/usr/share/man/man3'
780 -installprefix='./install_me_here/usr'
781 -installprefixexp='./install_me_here/usr'
782 -installprivlib='./install_me_here/usr/lib/perl5/5.10.0'
783 -installscript='./install_me_here/usr/bin'
784 -installsitearch='./install_me_here/usr/lib/perl5/site_perl/5.10.0/armv4l-linux'
785 -installsitebin='./install_me_here/usr/bin'
786 +installman1dir='/usr/share/man/man1'
787 +installman3dir='/usr/share/man/man3'
788 +installprefix='/usr'
789 +installprefixexp='/usr'
790 +installprivlib='/usr/lib/perl5/5.10.0'
791 +installscript='/usr/bin'
792 +installsitearch='/usr/lib/perl5/site_perl/5.10.0/armv5tel-linux-thread-multi'
793 +installsitebin='/usr/bin'
794 installsitehtml1dir=''
795 installsitehtml3dir=''
796 -installsitelib='./install_me_here/usr/lib/perl5/site_perl/5.10.0'
797 -installsiteman1dir='./install_me_here/usr/share/man/man1'
798 -installsiteman3dir='./install_me_here/usr/share/man/man3'
799 -installsitescript='./install_me_here/usr/bin'
800 -installstyle='./install_me_herelib/perl5'
801 +installsitelib='/usr/lib/perl5/site_perl/5.10.0'
802 +installsiteman1dir='/usr/share/man/man1'
803 +installsiteman3dir='/usr/share/man/man3'
804 +installsitescript='/usr/bin'
805 +installstyle='lib/perl5'
806 installusrbinperl='undef'
807 -installvendorarch=''
809 +installvendorarch='/usr/lib/perl5/vendor_perl/5.10.0/armv5tel-linux-thread-multi'
810 +installvendorbin='/usr/bin'
811 installvendorhtml1dir=''
812 installvendorhtml3dir=''
814 -installvendorman1dir=''
815 -installvendorman3dir=''
816 -installvendorscript=''
817 +installvendorlib='/usr/lib/perl5/vendor_perl/5.10.0'
818 +installvendorman1dir='/usr/share/man/man1'
819 +installvendorman3dir='/usr/share/man/man3'
820 +installvendorscript='/usr/bin'
822 -issymlink='/usr/bin/test -h'
827 -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'
828 +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'
831 -lddlflags='-shared -L/usr/local/lib'
832 +lddlflags='-shared -O2 -L/usr/local/lib'
833 ldflags=' -L/usr/local/lib'
834 ldflags_uselargefiles=''
835 ldlibpthname='LD_LIBRARY_PATH'
838 -libc='/lib/libc-2.2.2.so'
839 +libc='/lib/libc-2.9.so'
841 libpth='/usr/local/lib /lib /usr/lib'
842 -libs='-lnsl -ldl -lm -lcrypt -lutil -lc'
843 +libs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc'
845 -libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libc.so'
846 -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'
847 +libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libpthread.so libc.so'
848 +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'
849 libspath=' /usr/local/lib /lib /usr/lib'
850 -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'
851 +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'
852 libswanted_uselargefiles=''
858 -localtime_r_proto='0'
859 +localtime_r_proto='REENTRANT_PROTO_S_TS'
860 locincpth='/usr/local/include /opt/local/include /usr/gnu/include /opt/gnu/include /usr/GNU/include /opt/GNU/include'
861 loclibpth='/usr/local/lib /opt/local/lib /usr/gnu/lib /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib'
873 @@ -787,10 +786,10 @@
877 -myarchname='armv4l-linux'
878 -mydomain='.criticalintegration.com'
879 -myhostname='openzaurus'
880 -myuname='linux openzaurus.criticalintegration.com 2.4.6-rmk1-np2-embedix #15 Wed Aug 6 07:49:44 UTC 2003 armv4l unknown '
881 +myarchname='armv5tel-linux'
887 netdb_hlen_type='size_t'
891 nm_so_opt='--dynamic'
893 +nonxs_ext='Compress/Zlib Errno IO_Compress_Base IO_Compress_Zlib'
897 @@ -817,18 +816,18 @@
901 -osvers='2.4.6-rmk1-np2-embedix'
905 -pager='/usr/bin/less'
906 +pager='/bin/less -isR'
907 passcat='cat /etc/passwd'
911 -perl5='/usr/bin/perl'
915 -perladmin='red@criticalintegration.com'
916 -perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc'
918 +perllibs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc'
919 perlpath='/usr/bin/perl'
922 @@ -847,14 +846,15 @@
927 +random_r_proto='REENTRANT_PROTO_I_St'
931 -readdir64_r_proto='0'
933 +readdir64_r_proto='REENTRANT_PROTO_I_TSR'
934 +readdir_r_proto='REENTRANT_PROTO_I_TSR'
937 +rm_try='/bin/rm -f try try a.out .out try.[cho] try..o core core.try* try.core*'
941 @@ -893,15 +893,15 @@
946 -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 '
947 -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'
948 -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 '
949 -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'
952 +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 '
953 +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'
954 +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 '
955 +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'
958 -sitearch='/usr/lib/perl5/site_perl/5.10.0/armv4l-linux'
959 -sitearchexp='/usr/lib/perl5/site_perl/5.10.0/armv4l-linux'
960 +sitearch='/usr/lib/perl5/site_perl/5.10.0/armv5tel-linux-thread-multi'
961 +sitearchexp='/usr/lib/perl5/site_perl/5.10.0/armv5tel-linux-thread-multi'
963 sitebinexp='/usr/bin'
971 +srand48_r_proto='REENTRANT_PROTO_I_LS'
972 +srandom_r_proto='REENTRANT_PROTO_I_TS'
975 startperl='#!/usr/bin/perl'
976 @@ -944,10 +944,10 @@
978 stdio_ptr='((fp)->_IO_read_ptr)'
979 stdio_stream_array=''
980 -strerror_r_proto='0'
981 +strerror_r_proto='REENTRANT_PROTO_B_IBW'
982 strings='/usr/include/string.h'
986 sysman='/usr/share/man/man1'
989 @@ -957,13 +957,13 @@
991 timeincl='/usr/include/sys/time.h /usr/include/time.h '
994 +tmpnam_r_proto='REENTRANT_PROTO_B_B'
1000 -ttyname_r_proto='0'
1001 +ttyname_r_proto='REENTRANT_PROTO_I_IBW'
1003 u16type='unsigned short'
1005 @@ -984,13 +984,13 @@
1007 usecrosscompile='undef'
1009 -usefaststdio='define'
1010 -useithreads='undef'
1011 +usefaststdio='undef'
1012 +useithreads='define'
1013 uselargefiles='define'
1014 uselongdouble='undef'
1015 usemallocwrap='define'
1017 -usemultiplicity='undef'
1018 +usemultiplicity='define'
1022 @@ -1002,8 +1002,8 @@
1024 usesitecustomize='undef'
1027 -usevendorprefix='undef'
1028 +usethreads='define'
1029 +usevendorprefix='define'
1031 usrinc='/usr/include'
1033 @@ -1013,27 +1013,27 @@
1034 uvtype='unsigned long'
1041 +vendorarch='/usr/lib/perl5/vendor_perl/5.10.0/armv5tel-linux-thread-multi'
1042 +vendorarchexp='/usr/lib/perl5/vendor_perl/5.10.0/armv5tel-linux-thread-multi'
1043 +vendorbin='/usr/bin'
1044 +vendorbinexp='/usr/bin'
1046 vendorhtml1direxp=''
1048 vendorhtml3direxp=''
1053 -vendorman1direxp=''
1055 -vendorman3direxp=''
1060 +vendorlib='/usr/lib/perl5/vendor_perl/5.10.0'
1061 +vendorlib_stem='/usr/lib/perl5/vendor_perl'
1062 +vendorlibexp='/usr/lib/perl5/vendor_perl/5.10.0'
1063 +vendorman1dir='/usr/share/man/man1'
1064 +vendorman1direxp='/usr/share/man/man1'
1065 +vendorman3dir='/usr/share/man/man3'
1066 +vendorman3direxp='/usr/share/man/man3'
1067 +vendorprefix='/usr'
1068 +vendorprefixexp='/usr'
1069 +vendorscript='/usr/bin'
1070 +vendorscriptexp='/usr/bin'
1072 -version_patchlevel_string='version 9 subversion 4'
1073 +version_patchlevel_string='version 10 subversion 0'
1077 @@ -1044,13 +1044,24 @@
1079 # Configure command line arguments.
1080 config_arg0='Configure'
1083 +config_args='-ds -e -Dprefix=/usr -Dvendorprefix=/usr -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dpager=/bin/less -isR -Dusethreads -Duseshrplib'
1087 +config_arg3='-Dprefix=/usr'
1088 +config_arg4='-Dvendorprefix=/usr'
1089 +config_arg5='-Dman1dir=/usr/share/man/man1'
1090 +config_arg6='-Dman3dir=/usr/share/man/man3'
1091 +config_arg7='-Dpager=/bin/less -isR'
1092 +config_arg8='-Dusethreads'
1093 +config_arg9='-Duseshrplib'
1101 +PERL_API_VERSION=10
1102 PERL_API_SUBVERSION=0
1105 +# Variables propagated from previous config.sh file.
1106 +libdb_needs_pthread='N'
1107 diff -Naur perl-5.10.0.orig/Cross/config.sh-arm-linux-n770 perl-5.10.0/Cross/config.sh-arm-linux-n770
1108 --- perl-5.10.0.orig/Cross/config.sh-arm-linux-n770 2007-12-18 05:47:07.000000000 -0500
1109 +++ perl-5.10.0/Cross/config.sh-arm-linux-n770 1969-12-31 19:00:00.000000000 -0500
1113 -# This file was produced by running the Configure script. It holds all the
1114 -# definitions figured out by Configure. Should you modify one of these values,
1115 -# do not forget to propagate your changes by running "Configure -der". You may
1116 -# instead choose to run each of the .SH files by yourself, or "Configure -S".
1119 -# Package name : perl5
1120 -# Source directory : .
1121 -# Configuration time: Wed Sep 3 22:24:58 EDT 2003
1122 -# Configured by : vadrer
1123 -# Target system : linux nokia770 armv5teji1
1133 -Revision='$Revision'
1143 -aphostname='/bin/hostname'
1147 -api_versionstring='5.10.0'
1149 -archlib='/usr/lib/perl5/5.10.0/armv4l-linux'
1150 -archlibexp='/usr/lib/perl5/5.10.0/armv4l-linux'
1152 -archname='armv4l-linux'
1154 -asctime_r_proto='0'
1166 -cc='arm-none-linux-gnueabi-gcc'
1168 -ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.10.0/armv4l-linux/CORE'
1169 -ccflags='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
1170 -ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
1171 -ccname='arm-linux-gcc'
1172 -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'
1175 -cf_email='red@criticalintegration.com'
1176 -cf_time='Wed Sep 3 22:24:58 EDT 2003'
1180 -clocktype='clock_t'
1188 -cppccsymbols='__ELF__=1 __GNUC__=2 linux=1 unix=1'
1189 -cppflags='-fno-strict-aliasing -I/usr/local/include'
1192 -cpprun='arm-none-linux-gnueabi-gcc -E'
1193 -cppstdin='arm-none-linux-gnueabi-gcc -E'
1194 -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'
1198 -ctermid_r_proto='0'
1200 -d_Gconvert='gcvt((x),(n),(b))'
1201 -d_PRIEUldbl='define'
1202 -d_PRIFUldbl='define'
1203 -d_PRIGUldbl='define'
1206 -d_PRIeldbl='define'
1207 -d_PRIfldbl='define'
1208 -d_PRIgldbl='define'
1213 -d_SCNfldbl='define'
1220 -d_asctime_r='undef'
1223 -d_attribute_format='undef'
1224 -d_attribute_malloc='undef'
1225 -d_attribute_nonnull='undef'
1226 -d_attribute_noreturn='undef'
1227 -d_attribute_pure='undef'
1228 -d_attribute_unused='undef'
1229 -d_attribute_warn_unused_result='undef'
1233 -d_bsdgetpgrp='undef'
1234 -d_bsdsetpgrp='undef'
1235 -d_builtin_choose_expr='define'
1236 -d_builtin_expect='define'
1238 -d_c99_variadic_macros='undef'
1246 -d_clearenv='define'
1247 -d_closedir='define'
1248 -d_cmsghdr_s='define'
1250 -d_copysignl='define'
1251 -d_cplusplus='undef'
1256 -d_ctermid_r='undef'
1260 -d_dbminitproto='undef'
1261 -d_difftime='define'
1262 -d_dir_dd_fd='undef'
1264 -d_dirnamlen='undef'
1269 -d_drand48_r='undef'
1270 -d_drand48proto='define'
1273 -d_endgrent='define'
1274 -d_endgrent_r='undef'
1276 -d_endhostent_r='undef'
1278 -d_endnetent_r='undef'
1280 -d_endprotoent_r='undef'
1281 -d_endpwent='define'
1282 -d_endpwent_r='undef'
1284 -d_endservent_r='undef'
1287 -d_faststdio='define'
1292 -d_fcntl_can_lock='define'
1293 -d_fd_macros='define'
1299 -d_flexfnam='define'
1301 -d_flockproto='define'
1304 -d_fpathconf='define'
1306 -d_fpclassify='undef'
1310 -d_fs_data_s='undef'
1314 -d_fstatvfs='define'
1320 -d_getespwnam='undef'
1321 -d_getfsstat='undef'
1322 -d_getgrent='define'
1323 -d_getgrent_r='undef'
1324 -d_getgrgid_r='undef'
1325 -d_getgrnam_r='undef'
1327 -d_gethbyaddr='define'
1328 -d_gethbyname='define'
1330 -d_gethname='define'
1331 -d_gethostbyaddr_r='undef'
1332 -d_gethostbyname_r='undef'
1333 -d_gethostent_r='undef'
1334 -d_gethostprotos='define'
1335 -d_getitimer='define'
1336 -d_getlogin='define'
1337 -d_getlogin_r='undef'
1339 -d_getmntent='define'
1340 -d_getnbyaddr='define'
1341 -d_getnbyname='define'
1343 -d_getnetbyaddr_r='undef'
1344 -d_getnetbyname_r='undef'
1345 -d_getnetent_r='undef'
1346 -d_getnetprotos='define'
1347 -d_getpagsz='define'
1348 -d_getpbyname='define'
1349 -d_getpbynumber='define'
1355 -d_getprior='define'
1356 -d_getprotobyname_r='undef'
1357 -d_getprotobynumber_r='undef'
1358 -d_getprotoent_r='undef'
1359 -d_getprotoprotos='define'
1360 -d_getprpwnam='undef'
1361 -d_getpwent='define'
1362 -d_getpwent_r='undef'
1363 -d_getpwnam_r='undef'
1364 -d_getpwuid_r='undef'
1365 -d_getsbyname='define'
1366 -d_getsbyport='define'
1368 -d_getservbyname_r='undef'
1369 -d_getservbyport_r='undef'
1370 -d_getservent_r='undef'
1371 -d_getservprotos='define'
1372 -d_getspnam='define'
1373 -d_getspnam_r='undef'
1374 -d_gettimeod='define'
1377 -d_grpasswd='define'
1378 -d_hasmntopt='define'
1381 -d_inc_version_list='define'
1383 -d_inetaton='define'
1392 -d_ldbl_dig='define'
1393 -d_libm_lib_version='define'
1395 -d_localtime_r='undef'
1396 -d_localtime_r_needs_tzset='undef'
1400 -d_longlong='define'
1401 -d_lseekproto='define'
1404 -d_malloc_good_size='undef'
1405 -d_malloc_size='undef'
1407 -d_mbstowcs='define'
1422 -d_modfl_pow32_bug='undef'
1423 -d_modflproto='undef'
1424 -d_mprotect='define'
1426 -d_msg_ctrunc='define'
1427 -d_msg_dontroute='define'
1429 -d_msg_peek='define'
1430 -d_msg_proxy='define'
1433 -d_msghdr_s='define'
1440 -d_nl_langinfo='define'
1441 -d_nv_preserves_uv='define'
1442 -d_nv_zero_is_allbits_zero='undef'
1444 -d_old_pthread_create_joinable='undef'
1445 -d_oldpthreads='undef'
1448 -d_pathconf='define'
1450 -d_perl_otherlibdirs='undef'
1451 -d_phostname='undef'
1454 -d_portable='define'
1455 -d_printf_format_null='undef'
1456 -d_procselfexe='define'
1457 -d_pseudofork='undef'
1458 -d_pthread_atfork='undef'
1459 -d_pthread_attr_setscope='define'
1460 -d_pthread_yield='undef'
1464 -d_pwcomment='undef'
1467 -d_pwpasswd='define'
1472 -d_readdir64_r='undef'
1474 -d_readdir_r='undef'
1475 -d_readlink='define'
1479 -d_rewinddir='define'
1483 -d_sanemcmp='define'
1484 -d_sbrkproto='define'
1486 -d_sched_yield='define'
1487 -d_scm_rights='define'
1492 -d_semctl_semid_ds='define'
1493 -d_semctl_semun='define'
1499 -d_setgrent='define'
1500 -d_setgrent_r='undef'
1503 -d_sethostent_r='undef'
1504 -d_setitimer='define'
1505 -d_setlinebuf='define'
1506 -d_setlocale='define'
1507 -d_setlocale_r='undef'
1509 -d_setnetent_r='undef'
1514 -d_setprior='define'
1515 -d_setproctitle='undef'
1516 -d_setprotoent_r='undef'
1517 -d_setpwent='define'
1518 -d_setpwent_r='undef'
1519 -d_setregid='define'
1520 -d_setresgid='define'
1521 -d_setresuid='define'
1522 -d_setreuid='define'
1526 -d_setservent_r='undef'
1532 -d_shmatprototype='define'
1536 -d_sigaction='define'
1538 -d_sigprocmask='define'
1539 -d_sigsetjmp='define'
1540 -d_sitearch='define'
1542 -d_sockatmark='undef'
1543 -d_sockatmarkproto='undef'
1545 -d_socklen_t='define'
1546 -d_sockpair='define'
1547 -d_socks5_init='undef'
1548 -d_sprintf_returns_strlen='define'
1550 -d_srand48_r='undef'
1551 -d_srandom_r='undef'
1552 -d_sresgproto='undef'
1553 -d_sresuproto='undef'
1554 -d_statblks='define'
1555 -d_statfs_f_flags='undef'
1556 -d_statfs_s='define'
1558 -d_stdio_cnt_lval='undef'
1559 -d_stdio_ptr_lval='define'
1560 -d_stdio_ptr_lval_nochange_cnt='undef'
1561 -d_stdio_ptr_lval_sets_cnt='define'
1562 -d_stdio_stream_array='undef'
1563 -d_stdiobase='define'
1564 -d_stdstdio='define'
1567 -d_strctcpy='define'
1568 -d_strerrm='strerror(e)'
1569 -d_strerror='define'
1570 -d_strerror_r='undef'
1571 -d_strftime='define'
1580 -d_strtoull='define'
1586 -d_syscallproto='define'
1589 -d_syserrlst='define'
1591 -d_tcgetpgrp='define'
1592 -d_tcsetpgrp='define'
1594 -d_telldirproto='define'
1597 -d_tm_tm_gmtoff='define'
1598 -d_tm_tm_zone='define'
1600 -d_truncate='define'
1601 -d_ttyname_r='undef'
1607 -d_union_semun='undef'
1608 -d_unordered='undef'
1609 -d_unsetenv='define'
1611 -d_usleepproto='define'
1613 -d_vendorarch='undef'
1614 -d_vendorbin='undef'
1615 -d_vendorlib='undef'
1616 -d_vendorscript='undef'
1618 -d_void_closedir='undef'
1621 -d_volatile='define'
1623 -d_vsnprintf='define'
1626 -d_wcstombs='define'
1631 -db_hashtype='u_int32_t'
1632 -db_prefixtype='size_t'
1633 -db_version_major=''
1634 -db_version_minor=''
1635 -db_version_patch=''
1637 -direntrytype='struct dirent'
1639 -dlsrc='dl_dlopen.xs'
1641 -drand01='drand48()'
1642 -drand48_r_proto='0'
1643 -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'
1649 -endgrent_r_proto='0'
1650 -endhostent_r_proto='0'
1651 -endnetent_r_proto='0'
1652 -endprotoent_r_proto='0'
1653 -endpwent_r_proto='0'
1654 -endservent_r_proto='0'
1658 -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'
1660 -fflushNULL='define'
1663 -firstmakefile='makefile'
1669 -full_ar='/usr/bin/ar'
1670 -full_csh='/bin/csh'
1671 -full_sed='/bin/sed'
1674 -gccversion='2.95.3 20010125 (prerelease)'
1675 -getgrent_r_proto='0'
1676 -getgrgid_r_proto='0'
1677 -getgrnam_r_proto='0'
1678 -gethostbyaddr_r_proto='0'
1679 -gethostbyname_r_proto='0'
1680 -gethostent_r_proto='0'
1681 -getlogin_r_proto='0'
1682 -getnetbyaddr_r_proto='0'
1683 -getnetbyname_r_proto='0'
1684 -getnetent_r_proto='0'
1685 -getprotobyname_r_proto='0'
1686 -getprotobynumber_r_proto='0'
1687 -getprotoent_r_proto='0'
1688 -getpwent_r_proto='0'
1689 -getpwnam_r_proto='0'
1690 -getpwuid_r_proto='0'
1691 -getservbyname_r_proto='0'
1692 -getservbyport_r_proto='0'
1693 -getservent_r_proto='0'
1694 -getspnam_r_proto='0'
1699 -glibpth='/usr/shlib /lib /usr/lib /usr/lib/386 /lib/386 /usr/ccs/lib /usr/ucblib /usr/local/lib '
1702 -gnulibc_version='2.2.2'
1704 -groupcat='cat /etc/group'
1710 -hostcat='cat /etc/hosts'
1720 -i64type='long long'
1723 -i_arpainet='define'
1738 -i_inttypes='define'
1739 -i_langinfo='define'
1751 -i_netinettcp='define'
1757 -i_rpcsvcdbm='undef'
1767 -i_sysaccess='undef'
1772 -i_sysioctl='define'
1776 -i_sysmount='define'
1778 -i_sysparam='define'
1779 -i_sysresrc='define'
1781 -i_sysselct='define'
1782 -i_syssockio='undef'
1784 -i_sysstatfs='define'
1785 -i_sysstatvfs='define'
1788 -i_systimes='define'
1789 -i_systypes='define'
1792 -i_sysutsname='define'
1803 -i_varhdr='stdarg.h'
1805 -ignore_versioned_solibs='y'
1806 -inc_version_list=' '
1807 -inc_version_list_init='0'
1810 -installarchlib='./install_me_here/usr/lib/perl5/5.10.0/armv4l-linux'
1811 -installbin='./install_me_here/usr/bin'
1814 -installman1dir='./install_me_here/usr/share/man/man1'
1815 -installman3dir='./install_me_here/usr/share/man/man3'
1816 -installprefix='./install_me_here/usr'
1817 -installprefixexp='./install_me_here/usr'
1818 -installprivlib='./install_me_here/usr/lib/perl5/5.10.0'
1819 -installscript='./install_me_here/usr/bin'
1820 -installsitearch='./install_me_here/usr/lib/perl5/site_perl/5.10.0/armv4l-linux'
1821 -installsitebin='./install_me_here/usr/bin'
1822 -installsitehtml1dir=''
1823 -installsitehtml3dir=''
1824 -installsitelib='./install_me_here/usr/lib/perl5/site_perl/5.10.0'
1825 -installsiteman1dir='./install_me_here/usr/share/man/man1'
1826 -installsiteman3dir='./install_me_here/usr/share/man/man3'
1827 -installsitescript='./install_me_here/usr/bin'
1828 -installstyle='./install_me_herelib/perl5'
1829 -installusrbinperl='undef'
1830 -installvendorarch=''
1831 -installvendorbin=''
1832 -installvendorhtml1dir=''
1833 -installvendorhtml3dir=''
1834 -installvendorlib=''
1835 -installvendorman1dir=''
1836 -installvendorman3dir=''
1837 -installvendorscript=''
1839 -issymlink='/usr/bin/test -h'
1843 -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'
1845 -ld='arm-none-linux-gnueabi-gcc'
1846 -lddlflags='-shared -L/usr/local/lib'
1847 -ldflags=' -L/usr/local/lib'
1848 -ldflags_uselargefiles=''
1849 -ldlibpthname='LD_LIBRARY_PATH'
1852 -libc='/lib/libc-2.2.2.so'
1853 -libperl='libperl.arma'
1854 -libpth='/usr/local/lib /lib /usr/lib'
1855 -libs='-lnsl -ldl -lm -lcrypt -lutil -lc'
1856 -libsdirs=' /usr/lib'
1857 -libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libc.so'
1858 -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'
1859 -libspath=' /usr/local/lib /lib /usr/lib'
1860 -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'
1861 -libswanted_uselargefiles=''
1867 -localtime_r_proto='0'
1868 -locincpth='/usr/local/include /opt/local/include /usr/gnu/include /opt/gnu/include /usr/GNU/include /opt/GNU/include'
1869 -loclibpth='/usr/local/lib /opt/local/lib /usr/gnu/lib /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib'
1885 -malloctype='void *'
1886 -man1dir='/usr/share/man/man1'
1887 -man1direxp='/usr/share/man/man1'
1889 -man3dir='/usr/share/man/man3'
1890 -man3direxp='/usr/share/man/man3'
1900 -myarchname='armv4l-linux'
1901 -mydomain='.criticalintegration.com'
1902 -myhostname='openzaurus'
1903 -myuname='linux openzaurus.criticalintegration.com 2.4.6-rmk1-np2-embedix #15 Wed Aug 6 07:49:44 UTC 2003 armv4l unknown '
1905 -need_va_copy='undef'
1906 -netdb_hlen_type='size_t'
1907 -netdb_host_type='const void *'
1908 -netdb_name_type='const char *'
1909 -netdb_net_type='in_addr_t'
1912 -nm_so_opt='--dynamic'
1918 -nv_preserves_uv_bits='32'
1924 -o_nonblock='O_NONBLOCK'
1926 -old_pthread_create_joinable=''
1933 -pager='/usr/bin/less'
1934 -passcat='cat /etc/passwd'
1937 -perl5='/usr/bin/perl'
1940 -perladmin='red@criticalintegration.com'
1941 -perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc'
1942 -perlpath='/usr/bin/perl'
1944 -phostname='hostname'
1951 -privlib='/usr/lib/perl5/5.10.0'
1952 -privlibexp='/usr/lib/perl5/5.10.0'
1953 -procselfexe='"/proc/self/exe"'
1957 -quadtype='long long'
1961 -randseedtype='long'
1964 -readdir64_r_proto='0'
1965 -readdir_r_proto='0'
1984 -sched_yield='sched_yield()'
1985 -scriptdir='/usr/bin'
1986 -scriptdirexp='/usr/bin'
1990 -selecttype='fd_set *'
1992 -setgrent_r_proto='0'
1993 -sethostent_r_proto='0'
1994 -setlocale_r_proto='0'
1995 -setnetent_r_proto='0'
1996 -setprotoent_r_proto='0'
1997 -setpwent_r_proto='0'
1998 -setservent_r_proto='0'
2007 -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 '
2008 -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'
2009 -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 '
2010 -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'
2013 -sitearch='/usr/lib/perl5/site_perl/5.10.0/armv4l-linux'
2014 -sitearchexp='/usr/lib/perl5/site_perl/5.10.0/armv4l-linux'
2016 -sitebinexp='/usr/bin'
2021 -sitelib='/usr/lib/perl5/site_perl/5.10.0'
2022 -sitelib_stem='/usr/lib/perl5/site_perl'
2023 -sitelibexp='/usr/lib/perl5/site_perl/5.10.0'
2024 -siteman1dir='/usr/share/man/man1'
2025 -siteman1direxp='/usr/share/man/man1'
2026 -siteman3dir='/usr/share/man/man3'
2027 -siteman3direxp='/usr/share/man/man3'
2029 -siteprefixexp='/usr'
2030 -sitescript='/usr/bin'
2031 -sitescriptexp='/usr/bin'
2039 -socksizetype='socklen_t'
2043 -srand48_r_proto='0'
2044 -srandom_r_proto='0'
2046 -ssizetype='ssize_t'
2047 -startperl='#!/usr/bin/perl'
2048 -startsh='#!/bin/sh'
2049 -static_ext='DynaLoader '
2051 -stdio_base='((fp)->_IO_read_base)'
2052 -stdio_bufsiz='((fp)->_IO_read_end - (fp)->_IO_read_base)'
2053 -stdio_cnt='((fp)->_IO_read_end - (fp)->_IO_read_ptr)'
2055 -stdio_ptr='((fp)->_IO_read_ptr)'
2056 -stdio_stream_array=''
2057 -strerror_r_proto='0'
2058 -strings='/usr/include/string.h'
2061 -sysman='/usr/share/man/man1'
2068 -timeincl='/usr/include/sys/time.h /usr/include/time.h '
2076 -ttyname_r_proto='0'
2078 -u16type='unsigned short'
2080 -u32type='unsigned long'
2082 -u64type='unsigned long long'
2084 -u8type='unsigned char'
2091 -uquadtype='unsigned long long'
2092 -use5005threads='undef'
2093 -use64bitall='undef'
2094 -use64bitint='undef'
2095 -usecrosscompile='undef'
2097 -usefaststdio='define'
2098 -useithreads='undef'
2099 -uselargefiles='define'
2100 -uselongdouble='undef'
2101 -usemallocwrap='define'
2102 -usemorebits='undef'
2103 -usemultiplicity='undef'
2109 -usereentrant='undef'
2110 -userelocatableinc='undef'
2113 -usesitecustomize='undef'
2116 -usevendorprefix='undef'
2118 -usrinc='/usr/include'
2123 -uvtype='unsigned long'
2131 -vendorhtml1direxp=''
2133 -vendorhtml3direxp=''
2138 -vendorman1direxp=''
2140 -vendorman3direxp=''
2146 -version_patchlevel_string='version 9 subversion 4'
2147 -versiononly='undef'
2150 -xlibpth='/usr/lib/386 /lib/386'
2155 -# Configure command line arguments.
2156 -config_arg0='Configure'
2162 -PERL_API_REVISION=5
2164 -PERL_API_SUBVERSION=0
2166 -PERL_CONFIG_SH=true
2167 diff -Naur perl-5.10.0.orig/Cross/config.sh-x86-linux perl-5.10.0/Cross/config.sh-x86-linux
2168 --- perl-5.10.0.orig/Cross/config.sh-x86-linux 1969-12-31 19:00:00.000000000 -0500
2169 +++ perl-5.10.0/Cross/config.sh-x86-linux 2009-04-05 13:38:02.485519728 -0400
2173 +# This file was produced by running the Configure script. It holds all the
2174 +# definitions figured out by Configure. Should you modify one of these values,
2175 +# do not forget to propagate your changes by running "Configure -der". You may
2176 +# instead choose to run each of the .SH files by yourself, or "Configure -S".
2188 +Revision='$Revision'
2198 +aphostname='/bin/hostname'
2202 +api_versionstring='5.10.0'
2204 +archlib='/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi'
2205 +archlibexp='/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi'
2207 +archname='x86_64-linux-thread-multi'
2209 +asctime_r_proto='REENTRANT_PROTO_B_SB'
2223 +ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/CORE'
2224 +ccflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
2225 +ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
2235 +clocktype='clock_t'
2244 +cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include'
2249 +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'
2250 +crypt_r_proto='REENTRANT_PROTO_B_CCS'
2253 +ctermid_r_proto='0'
2254 +ctime_r_proto='REENTRANT_PROTO_B_SB'
2255 +d_Gconvert='gcvt((x),(n),(b))'
2256 +d_PRIEUldbl='define'
2257 +d_PRIFUldbl='define'
2258 +d_PRIGUldbl='define'
2261 +d_PRIeldbl='define'
2262 +d_PRIfldbl='define'
2263 +d_PRIgldbl='define'
2268 +d_SCNfldbl='define'
2275 +d_asctime_r='define'
2278 +d_attribute_format='define'
2279 +d_attribute_malloc='define'
2280 +d_attribute_nonnull='define'
2281 +d_attribute_noreturn='define'
2282 +d_attribute_pure='define'
2283 +d_attribute_unused='define'
2284 +d_attribute_warn_unused_result='define'
2288 +d_bsdgetpgrp='undef'
2289 +d_bsdsetpgrp='undef'
2290 +d_builtin_choose_expr='define'
2291 +d_builtin_expect='undef'
2293 +d_c99_variadic_macros='define'
2301 +d_clearenv='define'
2302 +d_closedir='define'
2303 +d_cmsghdr_s='define'
2305 +d_copysignl='define'
2306 +d_cplusplus='undef'
2311 +d_ctermid_r='undef'
2315 +d_dbminitproto='undef'
2316 +d_difftime='define'
2317 +d_dir_dd_fd='undef'
2319 +d_dirnamlen='undef'
2324 +d_drand48_r='define'
2325 +d_drand48proto='define'
2328 +d_endgrent='define'
2329 +d_endgrent_r='undef'
2331 +d_endhostent_r='undef'
2333 +d_endnetent_r='undef'
2335 +d_endprotoent_r='undef'
2336 +d_endpwent='define'
2337 +d_endpwent_r='undef'
2339 +d_endservent_r='undef'
2342 +d_faststdio='undef'
2347 +d_fcntl_can_lock='define'
2348 +d_fd_macros='define'
2350 +d_fds_bits='define'
2354 +d_flexfnam='define'
2356 +d_flockproto='define'
2359 +d_fpathconf='define'
2361 +d_fpclassify='undef'
2365 +d_fs_data_s='undef'
2369 +d_fstatvfs='define'
2375 +d_getespwnam='undef'
2376 +d_getfsstat='undef'
2377 +d_getgrent='define'
2378 +d_getgrent_r='define'
2379 +d_getgrgid_r='define'
2380 +d_getgrnam_r='define'
2382 +d_gethbyaddr='define'
2383 +d_gethbyname='define'
2385 +d_gethname='define'
2386 +d_gethostbyaddr_r='define'
2387 +d_gethostbyname_r='define'
2388 +d_gethostent_r='define'
2389 +d_gethostprotos='define'
2390 +d_getitimer='define'
2391 +d_getlogin='define'
2392 +d_getlogin_r='define'
2394 +d_getmntent='define'
2395 +d_getnbyaddr='define'
2396 +d_getnbyname='define'
2398 +d_getnetbyaddr_r='define'
2399 +d_getnetbyname_r='define'
2400 +d_getnetent_r='define'
2401 +d_getnetprotos='define'
2402 +d_getpagsz='define'
2403 +d_getpbyname='define'
2404 +d_getpbynumber='define'
2410 +d_getprior='define'
2411 +d_getprotobyname_r='define'
2412 +d_getprotobynumber_r='define'
2413 +d_getprotoent_r='define'
2414 +d_getprotoprotos='define'
2415 +d_getprpwnam='undef'
2416 +d_getpwent='define'
2417 +d_getpwent_r='define'
2418 +d_getpwnam_r='define'
2419 +d_getpwuid_r='define'
2420 +d_getsbyname='define'
2421 +d_getsbyport='define'
2423 +d_getservbyname_r='define'
2424 +d_getservbyport_r='define'
2425 +d_getservent_r='define'
2426 +d_getservprotos='define'
2427 +d_getspnam='define'
2428 +d_getspnam_r='define'
2429 +d_gettimeod='define'
2430 +d_gmtime_r='define'
2432 +d_grpasswd='define'
2433 +d_hasmntopt='define'
2436 +d_inc_version_list='undef'
2438 +d_inetaton='define'
2447 +d_ldbl_dig='define'
2448 +d_libm_lib_version='define'
2450 +d_localtime_r='define'
2451 +d_localtime_r_needs_tzset='define'
2455 +d_longlong='define'
2456 +d_lseekproto='define'
2459 +d_malloc_good_size='undef'
2460 +d_malloc_size='undef'
2462 +d_mbstowcs='define'
2477 +d_modfl_pow32_bug='undef'
2478 +d_modflproto='define'
2479 +d_mprotect='define'
2481 +d_msg_ctrunc='define'
2482 +d_msg_dontroute='define'
2484 +d_msg_peek='define'
2485 +d_msg_proxy='define'
2488 +d_msghdr_s='define'
2495 +d_nl_langinfo='define'
2496 +d_nv_preserves_uv='define'
2497 +d_nv_zero_is_allbits_zero='define'
2499 +d_old_pthread_create_joinable='undef'
2500 +d_oldpthreads='undef'
2503 +d_pathconf='define'
2505 +d_perl_otherlibdirs='undef'
2506 +d_phostname='undef'
2509 +d_portable='define'
2510 +d_printf_format_null='define'
2511 +d_procselfexe='undef'
2512 +d_pseudofork='undef'
2513 +d_pthread_atfork='define'
2514 +d_pthread_attr_setscope='define'
2515 +d_pthread_yield='define'
2519 +d_pwcomment='undef'
2522 +d_pwpasswd='define'
2526 +d_random_r='define'
2527 +d_readdir64_r='define'
2529 +d_readdir_r='define'
2530 +d_readlink='define'
2534 +d_rewinddir='define'
2538 +d_sanemcmp='define'
2539 +d_sbrkproto='define'
2541 +d_sched_yield='define'
2542 +d_scm_rights='define'
2547 +d_semctl_semid_ds='define'
2548 +d_semctl_semun='define'
2554 +d_setgrent='define'
2555 +d_setgrent_r='undef'
2558 +d_sethostent_r='undef'
2559 +d_setitimer='define'
2560 +d_setlinebuf='define'
2561 +d_setlocale='define'
2562 +d_setlocale_r='undef'
2564 +d_setnetent_r='undef'
2569 +d_setprior='define'
2570 +d_setproctitle='undef'
2571 +d_setprotoent_r='undef'
2572 +d_setpwent='define'
2573 +d_setpwent_r='undef'
2574 +d_setregid='define'
2575 +d_setresgid='define'
2576 +d_setresuid='define'
2577 +d_setreuid='define'
2581 +d_setservent_r='undef'
2587 +d_shmatprototype='define'
2591 +d_sigaction='define'
2593 +d_sigprocmask='define'
2594 +d_sigsetjmp='define'
2595 +d_sitearch='define'
2596 +d_snprintf='define'
2597 +d_sockatmark='define'
2598 +d_sockatmarkproto='define'
2600 +d_socklen_t='define'
2601 +d_sockpair='define'
2602 +d_socks5_init='undef'
2603 +d_sprintf_returns_strlen='define'
2605 +d_srand48_r='define'
2606 +d_srandom_r='define'
2607 +d_sresgproto='define'
2608 +d_sresuproto='define'
2609 +d_statblks='define'
2610 +d_statfs_f_flags='undef'
2611 +d_statfs_s='define'
2613 +d_stdio_cnt_lval='undef'
2614 +d_stdio_ptr_lval='undef'
2615 +d_stdio_ptr_lval_nochange_cnt='undef'
2616 +d_stdio_ptr_lval_sets_cnt='undef'
2617 +d_stdio_stream_array='undef'
2618 +d_stdiobase='undef'
2622 +d_strctcpy='define'
2623 +d_strerrm='strerror(e)'
2624 +d_strerror='define'
2625 +d_strerror_r='define'
2626 +d_strftime='define'
2635 +d_strtoull='define'
2641 +d_syscallproto='define'
2644 +d_syserrlst='define'
2646 +d_tcgetpgrp='define'
2647 +d_tcsetpgrp='define'
2649 +d_telldirproto='define'
2652 +d_tm_tm_gmtoff='define'
2653 +d_tm_tm_zone='define'
2654 +d_tmpnam_r='define'
2655 +d_truncate='define'
2656 +d_ttyname_r='define'
2662 +d_union_semun='undef'
2663 +d_unordered='undef'
2664 +d_unsetenv='define'
2666 +d_usleepproto='define'
2668 +d_vendorarch='define'
2669 +d_vendorbin='define'
2670 +d_vendorlib='define'
2671 +d_vendorscript='define'
2673 +d_void_closedir='undef'
2676 +d_volatile='define'
2678 +d_vsnprintf='define'
2681 +d_wcstombs='define'
2686 +db_hashtype='u_int32_t'
2687 +db_prefixtype='size_t'
2688 +db_version_major=''
2689 +db_version_minor=''
2690 +db_version_patch=''
2692 +direntrytype='struct dirent'
2694 +dlsrc='dl_dlopen.xs'
2696 +drand01='drand48()'
2697 +drand48_r_proto='REENTRANT_PROTO_I_ST'
2698 +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'
2704 +endgrent_r_proto='0'
2705 +endhostent_r_proto='0'
2706 +endnetent_r_proto='0'
2707 +endprotoent_r_proto='0'
2708 +endpwent_r_proto='0'
2709 +endservent_r_proto='0'
2713 +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'
2715 +fflushNULL='define'
2718 +firstmakefile='makefile'
2724 +full_ar='/usr/bin/ar'
2726 +full_sed='/bin/sed'
2730 +getgrent_r_proto='REENTRANT_PROTO_I_SBWR'
2731 +getgrgid_r_proto='REENTRANT_PROTO_I_TSBWR'
2732 +getgrnam_r_proto='REENTRANT_PROTO_I_CSBWR'
2733 +gethostbyaddr_r_proto='REENTRANT_PROTO_I_TsISBWRE'
2734 +gethostbyname_r_proto='REENTRANT_PROTO_I_CSBWRE'
2735 +gethostent_r_proto='REENTRANT_PROTO_I_SBWRE'
2736 +getlogin_r_proto='REENTRANT_PROTO_I_BW'
2737 +getnetbyaddr_r_proto='REENTRANT_PROTO_I_uISBWRE'
2738 +getnetbyname_r_proto='REENTRANT_PROTO_I_CSBWRE'
2739 +getnetent_r_proto='REENTRANT_PROTO_I_SBWRE'
2740 +getprotobyname_r_proto='REENTRANT_PROTO_I_CSBWR'
2741 +getprotobynumber_r_proto='REENTRANT_PROTO_I_ISBWR'
2742 +getprotoent_r_proto='REENTRANT_PROTO_I_SBWR'
2743 +getpwent_r_proto='REENTRANT_PROTO_I_SBWR'
2744 +getpwnam_r_proto='REENTRANT_PROTO_I_CSBWR'
2745 +getpwuid_r_proto='REENTRANT_PROTO_I_TSBWR'
2746 +getservbyname_r_proto='REENTRANT_PROTO_I_CCSBWR'
2747 +getservbyport_r_proto='REENTRANT_PROTO_I_ICSBWR'
2748 +getservent_r_proto='REENTRANT_PROTO_I_SBWR'
2749 +getspnam_r_proto='REENTRANT_PROTO_I_CSBWR'
2754 +glibpth='/usr/shlib /lib /usr/lib /usr/lib/386 /lib/386 /usr/ccs/lib /usr/ucblib /usr/local/lib '
2756 +gmtime_r_proto='REENTRANT_PROTO_S_TS'
2757 +gnulibc_version='2.9'
2759 +groupcat='cat /etc/group'
2765 +hostcat='cat /etc/hosts'
2775 +i64type='long long'
2778 +i_arpainet='define'
2793 +i_inttypes='define'
2794 +i_langinfo='define'
2806 +i_netinettcp='define'
2812 +i_rpcsvcdbm='undef'
2822 +i_sysaccess='undef'
2827 +i_sysioctl='define'
2831 +i_sysmount='define'
2833 +i_sysparam='define'
2834 +i_sysresrc='define'
2836 +i_sysselct='define'
2837 +i_syssockio='undef'
2839 +i_sysstatfs='define'
2840 +i_sysstatvfs='define'
2843 +i_systimes='define'
2844 +i_systypes='define'
2847 +i_sysutsname='define'
2858 +i_varhdr='stdarg.h'
2860 +ignore_versioned_solibs='y'
2861 +inc_version_list=' '
2862 +inc_version_list_init='0'
2865 +initialinstalllocation='/usr/bin'
2866 +installarchlib='/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi'
2867 +installbin='/usr/bin'
2870 +installman1dir='/usr/share/man/man1'
2871 +installman3dir='/usr/share/man/man3'
2872 +installprefix='/usr'
2873 +installprefixexp='/usr'
2874 +installprivlib='/usr/lib/perl5/5.10.0'
2875 +installscript='/usr/bin'
2876 +installsitearch='/usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi'
2877 +installsitebin='/usr/bin'
2878 +installsitehtml1dir=''
2879 +installsitehtml3dir=''
2880 +installsitelib='/usr/lib/perl5/site_perl/5.10.0'
2881 +installsiteman1dir='/usr/share/man/man1'
2882 +installsiteman3dir='/usr/share/man/man3'
2883 +installsitescript='/usr/bin'
2884 +installstyle='lib/perl5'
2885 +installusrbinperl='undef'
2886 +installvendorarch='/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi'
2887 +installvendorbin='/usr/bin'
2888 +installvendorhtml1dir=''
2889 +installvendorhtml3dir=''
2890 +installvendorlib='/usr/lib/perl5/vendor_perl/5.10.0'
2891 +installvendorman1dir='/usr/share/man/man1'
2892 +installvendorman3dir='/usr/share/man/man3'
2893 +installvendorscript='/usr/bin'
2895 +issymlink='test -h'
2899 +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'
2902 +lddlflags='-shared -O2 -L/usr/local/lib'
2903 +ldflags=' -L/usr/local/lib'
2904 +ldflags_uselargefiles=''
2905 +ldlibpthname='LD_LIBRARY_PATH'
2908 +libc='/lib/libc-2.9.so'
2909 +libperl='libperl.so'
2910 +libpth='/usr/local/lib /lib /usr/lib'
2911 +libs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc'
2912 +libsdirs=' /usr/lib'
2913 +libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libpthread.so libc.so'
2914 +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'
2915 +libspath=' /usr/local/lib /lib /usr/lib'
2916 +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'
2917 +libswanted_uselargefiles=''
2923 +localtime_r_proto='REENTRANT_PROTO_S_TS'
2924 +locincpth='/usr/local/include /opt/local/include /usr/gnu/include /opt/gnu/include /usr/GNU/include /opt/GNU/include'
2925 +loclibpth='/usr/local/lib /opt/local/lib /usr/gnu/lib /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib'
2944 +malloctype='void *'
2945 +man1dir='/usr/share/man/man1'
2946 +man1direxp='/usr/share/man/man1'
2948 +man3dir='/usr/share/man/man3'
2949 +man3direxp='/usr/share/man/man3'
2959 +myarchname='x86_64-linux'
2964 +need_va_copy='undef'
2965 +netdb_hlen_type='size_t'
2966 +netdb_host_type='const void *'
2967 +netdb_name_type='const char *'
2968 +netdb_net_type='in_addr_t'
2971 +nm_so_opt='--dynamic'
2972 +nonxs_ext='Compress/Zlib Errno IO_Compress_Base IO_Compress_Zlib'
2977 +nv_preserves_uv_bits='32'
2983 +o_nonblock='O_NONBLOCK'
2985 +old_pthread_create_joinable=''
2989 +osvers='2.6.27.10-r4'
2992 +pager='/bin/less -isR'
2993 +passcat='cat /etc/passwd'
3000 +perllibs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc'
3001 +perlpath='/usr/bin/perl'
3003 +phostname='hostname'
3010 +privlib='/usr/lib/perl5/5.10.0'
3011 +privlibexp='/usr/lib/perl5/5.10.0'
3016 +quadtype='long long'
3019 +random_r_proto='REENTRANT_PROTO_I_St'
3020 +randseedtype='long'
3023 +readdir64_r_proto='REENTRANT_PROTO_I_TSR'
3024 +readdir_r_proto='REENTRANT_PROTO_I_TSR'
3027 +rm_try='/bin/rm -f try try a.out .out try.[cho] try..o core core.try* try.core*'
3044 +sched_yield='sched_yield()'
3045 +scriptdir='/usr/bin'
3046 +scriptdirexp='/usr/bin'
3050 +selecttype='fd_set *'
3052 +setgrent_r_proto='0'
3053 +sethostent_r_proto='0'
3054 +setlocale_r_proto='0'
3055 +setnetent_r_proto='0'
3056 +setprotoent_r_proto='0'
3057 +setpwent_r_proto='0'
3058 +setservent_r_proto='0'
3067 +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 '
3068 +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'
3069 +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 '
3070 +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'
3073 +sitearch='/usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi'
3074 +sitearchexp='/usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi'
3076 +sitebinexp='/usr/bin'
3081 +sitelib='/usr/lib/perl5/site_perl/5.10.0'
3082 +sitelib_stem='/usr/lib/perl5/site_perl'
3083 +sitelibexp='/usr/lib/perl5/site_perl/5.10.0'
3084 +siteman1dir='/usr/share/man/man1'
3085 +siteman1direxp='/usr/share/man/man1'
3086 +siteman3dir='/usr/share/man/man3'
3087 +siteman3direxp='/usr/share/man/man3'
3089 +siteprefixexp='/usr'
3090 +sitescript='/usr/bin'
3091 +sitescriptexp='/usr/bin'
3099 +socksizetype='socklen_t'
3103 +srand48_r_proto='REENTRANT_PROTO_I_LS'
3104 +srandom_r_proto='REENTRANT_PROTO_I_TS'
3106 +ssizetype='ssize_t'
3107 +startperl='#!/usr/bin/perl'
3108 +startsh='#!/bin/sh'
3111 +stdio_base='((fp)->_IO_read_base)'
3112 +stdio_bufsiz='((fp)->_IO_read_end - (fp)->_IO_read_base)'
3113 +stdio_cnt='((fp)->_IO_read_end - (fp)->_IO_read_ptr)'
3115 +stdio_ptr='((fp)->_IO_read_ptr)'
3116 +stdio_stream_array=''
3117 +strerror_r_proto='REENTRANT_PROTO_B_IBW'
3118 +strings='/usr/include/string.h'
3121 +sysman='/usr/share/man/man1'
3128 +timeincl='/usr/include/sys/time.h /usr/include/time.h '
3130 +tmpnam_r_proto='REENTRANT_PROTO_B_B'
3136 +ttyname_r_proto='REENTRANT_PROTO_I_IBW'
3138 +u16type='unsigned short'
3140 +u32type='unsigned long'
3142 +u64type='unsigned long long'
3144 +u8type='unsigned char'
3151 +uquadtype='unsigned long long'
3152 +use5005threads='undef'
3153 +use64bitall='undef'
3154 +use64bitint='undef'
3155 +usecrosscompile='undef'
3157 +usefaststdio='undef'
3158 +useithreads='define'
3159 +uselargefiles='define'
3160 +uselongdouble='undef'
3161 +usemallocwrap='define'
3162 +usemorebits='undef'
3163 +usemultiplicity='define'
3169 +usereentrant='undef'
3170 +userelocatableinc='undef'
3173 +usesitecustomize='undef'
3175 +usethreads='define'
3176 +usevendorprefix='define'
3178 +usrinc='/usr/include'
3183 +uvtype='unsigned long'
3186 +vendorarch='/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi'
3187 +vendorarchexp='/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi'
3188 +vendorbin='/usr/bin'
3189 +vendorbinexp='/usr/bin'
3191 +vendorhtml1direxp=''
3193 +vendorhtml3direxp=''
3194 +vendorlib='/usr/lib/perl5/vendor_perl/5.10.0'
3195 +vendorlib_stem='/usr/lib/perl5/vendor_perl'
3196 +vendorlibexp='/usr/lib/perl5/vendor_perl/5.10.0'
3197 +vendorman1dir='/usr/share/man/man1'
3198 +vendorman1direxp='/usr/share/man/man1'
3199 +vendorman3dir='/usr/share/man/man3'
3200 +vendorman3direxp='/usr/share/man/man3'
3201 +vendorprefix='/usr'
3202 +vendorprefixexp='/usr'
3203 +vendorscript='/usr/bin'
3204 +vendorscriptexp='/usr/bin'
3206 +version_patchlevel_string='version 10 subversion 0'
3207 +versiononly='undef'
3210 +xlibpth='/usr/lib/386 /lib/386'
3215 +# Configure command line arguments.
3216 +config_arg0='Configure'
3217 +config_args='-ds -e -Dprefix=/usr -Dvendorprefix=/usr -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dpager=/bin/less -isR -Dusethreads -Duseshrplib'
3221 +config_arg3='-Dprefix=/usr'
3222 +config_arg4='-Dvendorprefix=/usr'
3223 +config_arg5='-Dman1dir=/usr/share/man/man1'
3224 +config_arg6='-Dman3dir=/usr/share/man/man3'
3225 +config_arg7='-Dpager=/bin/less -isR'
3226 +config_arg8='-Dusethreads'
3227 +config_arg9='-Duseshrplib'
3231 +PERL_API_REVISION=5
3232 +PERL_API_VERSION=10
3233 +PERL_API_SUBVERSION=0
3235 +PERL_CONFIG_SH=true
3236 +# Variables propagated from previous config.sh file.
3237 +libdb_needs_pthread='N'
3238 diff -Naur perl-5.10.0.orig/Cross/generate_config_sh perl-5.10.0/Cross/generate_config_sh
3239 --- perl-5.10.0.orig/Cross/generate_config_sh 2007-12-18 05:47:07.000000000 -0500
3240 +++ perl-5.10.0/Cross/generate_config_sh 1969-12-31 19:00:00.000000000 -0500
3244 -##############################################################################
3246 -# generate_config_sh
3247 -# Process that takes an automatically generated config.sh
3248 -# file and allows the environment to overload the values
3249 -# automatically discovered by Configure on our target platform.
3251 -# Author Redvers Davies <red@criticalintegration.com>
3253 -##############################################################################
3255 -my $config = shift;
3257 -my $sys = $ENV{SYS};
3259 -my $callbacks = {};
3260 -$callbacks->{'ar'} = [\&simple_process, ["AR", "arm-linux-ar"]];
3261 -$callbacks->{'archname'} = [\&simple_process, ["SYS", "armv4l-linux"]];
3262 -$callbacks->{'cc'} = [\&simple_process, ["CC", "arm-linux-gcc"]];
3263 -$callbacks->{'cccdlflags'} = [\&simple_process, ["CFLAGS", ""]];
3264 -$callbacks->{'ccdlflags'} = [\&simple_process, ["CFLAGS", ""]];
3265 -$callbacks->{'ccflags'} = [\&simple_process, ["CFLAGS", "-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"]];
3266 -$callbacks->{'ccflags_uselargefiles'} = [\&simple_process, ["CFLAGS", "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"]];
3267 -$callbacks->{'ccname'} = [\&simple_process, ["CC", "arm-linux-gcc"]];
3268 -$callbacks->{'cpp'} = [\&simple_process, ["CCP", "arm-linux-cpp"]];
3269 -$callbacks->{'cppflags'} = [\&simple_process, ["CCPFLAGS", "-fno-strict-aliasing"]];
3270 -$callbacks->{'cpprun'} = [\&simple_process_append, ["CC", "arm-linux-gcc -E", "-E"]];
3271 -$callbacks->{'cppstdin'} = [\&simple_process_append, ["CC", "arm-linux-gcc -E", "-E"]];
3272 -$callbacks->{'full_ar'} = [\&backtick, ["AR", "which $ENV{AR}", "/usr/local/arm/2.95.3/bin/arm-linux-ar"]];
3273 -$callbacks->{'ld'} = [\&simple_process, ["LD", "arm-linux-ld"]];
3274 -$callbacks->{'ldflags'} = [\&simple_process, ["LDFLAGS", ""]];
3275 -$callbacks->{'ldflags_uselargefiles'} = [\&simple_process, ["LDFLAGS", ""]];
3276 -$callbacks->{'myarchname'} = [\&simple_process, ["SYS", "armv4l-linux"]];
3277 -$callbacks->{'archlib'} = [\&library_munge, ["SYS", "armv4l-linux"]];
3278 -$callbacks->{'archlibexp'} = [\&library_munge, ["SYS", "armv4l-linux"]];
3279 -$callbacks->{'installarchlib'} = [\&library_munge, ["SYS", "armv4l-linux"]];
3280 -$callbacks->{'installsitearch'} = [\&library_munge, ["SYS", "armv4l-linux"]];
3281 -$callbacks->{'sitearch'} = [\&library_munge, ["SYS", "armv4l-linux"]];
3282 -$callbacks->{'sitearchexp'} = [\&library_munge, ["SYS", "armv4l-linux"]];
3284 -if ($config eq "") {
3285 - die("Please run me as generate_config_sh path/to/original/config.sh");
3288 -open(FILE, "$config") || die("Unable to open $config");
3291 -while ($line_in = <FILE>) {
3292 - if ($line_in =~ /^#/) {
3296 - if ($line_in !~ /./) {
3300 - $line_in =~ /^([^=]+)=(.*)/;
3303 - if (ref($callbacks->{$key}) eq "ARRAY") {
3304 - ($callbacks->{$key}[0])->($key,$value);
3312 - my $value = shift;
3313 - my $envvar = $callbacks->{$key}->[1][0];
3315 - if ($ENV{$envvar}) {
3316 - my $rawtext = `$callbacks->{$key}->[1][1]`;
3318 - print("$key=\'$rawtext\'\n");
3320 - print("$key=\'$callbacks->{$key}->[1][2]\'\n");
3325 -sub simple_process {
3327 - my $envvar = $callbacks->{$key}->[1][0];
3329 - if ($ENV{$envvar}) {
3330 - print("$key=\"$ENV{$envvar}\"\n");
3332 - print("$key=\'$callbacks->{$key}->[1][1]\'\n");
3337 -sub simple_process_append {
3339 - my $envvar = $callbacks->{$key}->[1][0];
3341 - if ($ENV{$envvar}) {
3342 - print("$key=\"$ENV{$envvar} $callbacks->{$key}->[1][2]\"\n");
3344 - print("$key=\'$callbacks->{$key}->[1][1]\'\n");
3349 -sub library_munge {
3351 - my $value = shift;
3352 - my $envvar = $callbacks->{$key}->[1][0];
3354 - if ($ENV{$envvar}) {
3355 - $value =~ s/$callbacks->{$key}->[1][1]/$ENV{$envvar}/g;
3356 - print("$key=$value\n");
3358 - print("$key=$value\n");
3374 diff -Naur perl-5.10.0.orig/Cross/installperl.patch perl-5.10.0/Cross/installperl.patch
3375 --- perl-5.10.0.orig/Cross/installperl.patch 2007-12-18 05:47:07.000000000 -0500
3376 +++ perl-5.10.0/Cross/installperl.patch 1969-12-31 19:00:00.000000000 -0500
3378 ---- ../installperl 2003-08-31 11:58:48.000000000 -0500
3379 -+++ installperl 2003-09-05 02:38:40.000000000 -0500
3383 - chdir '..' if !-d 'lib' and -d '../lib';
3385 -- $ENV{PERL5LIB} = 'lib';
3387 -+# $ENV{PERL5LIB} = 'lib';
3391 -@@ -946,7 +946,7 @@
3392 - print " " if (@opts);
3395 -- system("strip", @opts, $file);
3396 -+ system("XXSTRIPXX-strip", @opts, $file);
3398 - print "# file '$file' skipped\n" if $verbose;
3400 diff -Naur perl-5.10.0.orig/Cross/Makefile perl-5.10.0/Cross/Makefile
3401 --- perl-5.10.0.orig/Cross/Makefile 2007-12-18 05:47:07.000000000 -0500
3402 +++ perl-5.10.0/Cross/Makefile 2009-04-05 13:27:24.455076604 -0400
3404 -## Toplevel Makefile for cross-compilation of perl
3406 -## $Id: Makefile,v 1.5 2003/12/12 00:48:19 red Exp red $
3408 -export TOPDIR=${shell pwd}
3409 -include $(TOPDIR)/config
3411 -export SYS=$(ARCH)-$(OS)
3412 -export CROSS=$(ARCH)-$(OS)-
3413 -export FULL_OPTIMIZATION = -fexpensive-optimizations -fomit-frame-pointer -O2
3414 -export OPTIMIZATION = -O2
3416 -export CC = $(CROSS)gcc
3417 -export CXX = $(CROSS)g++
3418 -export LD = $(CROSS)ld
3419 -export STRIP = $(CROSS)strip
3420 -export AR = $(CROSS)ar
3421 -export RANLIB = $(CROSS)ranlib
3424 -## Optimisation work
3426 - ifdef CONFIG_TARGET_ARM_SA11X0
3427 - ifndef Architecture
3428 - Architecture = armv4l-strongarm
3430 - FULL_OPTIMIZATION += -march=armv4 -mtune=strongarm1100 -mapcs-32
3431 - OPTIMIZATION += -march=armv4 -mtune=strongarm1100 -mapcs-32
3435 -CFLAGS+=$(FULL_OPTIMIZATION)
3438 - @echo Please read the README file before doing anything else.
3441 - diff -Bbur ../Makefile.SH Makefile.SH > Makefile.SH.patch
3442 - diff -Bbur ../installperl installperl > installperl.patch
3445 - cd .. ; if [ ! -e ./CROSS_PATCHED ] ; then \
3446 - patch -p1 < Cross/Makefile.SH.patch; \
3447 - patch -p1 < Cross/installperl.patch ; mv installperl installperl-patched; \
3448 - sed -e 's/XXSTRIPXX/$(SYS)/' installperl-patched > installperl; \
3449 - touch CROSS_PATCHED ; fi
3452 - @echo Perl cross-build directory is $(TOPDIR)
3453 - @echo Target arch is $(SYS)
3454 - @echo toolchain: $(CC), $(CXX), $(LD), $(STRIP), $(AR), $(RANLIB)
3455 - @echo Optimizations: $(FULL_OPTIMIZATION)
3457 - $(TOPDIR)/generate_config_sh config.sh-$(SYS) > $(TOPDIR)/../config.sh
3458 - cd $(TOPDIR)/.. ; ./Configure -S ; make depend ; make ; make more
3459 - cd $(TOPDIR)/.. ; mkdir -p fake_config_library ; cp lib/Config.pm lib/Config_heavy.pl fake_config_library
3460 - cd $(TOPDIR)/.. ; $(MAKE) more2 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig"
3461 - cd $(TOPDIR)/.. ; $(MAKE) more3 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig"
3462 - cd $(TOPDIR)/.. ; $(MAKE) more4 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig"
3463 - cd $(TOPDIR)/.. ; rm -rf install_me_here
3464 - cd $(TOPDIR)/.. ; make install-strip
3465 - cd $(TOPDIR)/.. ; sh -x Cross/warp
3466 +PWD := $(shell pwd)
3467 +TOP := $(shell dirname $(PWD))
3469 +VERSION := $(shell awk '/define[ ]PERL_REVISION/ {printf $$3"."} /define[ ]PERL_VERSION/ {printf $$3"."} /define[ ]PERL_SUBVERSION/ {print $$3}' $(TOP)/patchlevel.h)
3471 +CROSS_COMPILE := arm-unknown-linux-gnu-
3476 +SYS := $(ARCH)-$(OS)
3478 +AR := $(CROSS_COMPILE)ar
3479 +CC := $(CROSS_COMPILE)gcc
3480 +CXX := $(CROSS_COMPILE)g++
3481 +CPP := $(CROSS_COMPILE)cpp
3482 +LD := $(CROSS_COMPILE)gcc
3483 +RANLIB := $(CROSS_COMPILE)ranlib
3484 +STRIP := $(CROSS_COMPILE)strip
3486 +ARCHNAME := $(SYS)-thread-multi
3487 +MYARCHNAME := $(SYS)
3492 +EMAIL := $(CFBY)@$(HOSTNAME)$(DOMAIN)
3496 +.PHONY: all install create-config.sh
3498 +all: $(TOP)/miniperl-cross
3499 + # Do the final build
3500 + $(MAKE) create-config.sh
3501 + cd $(TOP); ./Configure -S
3504 +$(TOP)/miniperl-cross:
3505 + cd $(TOP); CC=gcc ./configure.gnu
3508 + $(MAKE) -C $(TOP) miniperl
3509 + mv -v $(TOP)/miniperl $(TOP)/miniperl-cross
3510 + $(MAKE) -C $(TOP) clean
3513 + $(MAKE) -C $(TOP) install
3516 + sed -e "s@\(^archname=\).*@\1'$(ARCHNAME)'@g" \
3517 + -e "s@\(^myarchname=\).*@\1'$(MYARCHNAME)'@g" \
3518 + -e "s@\(^ar=\).*@\1'$(AR)'@g" \
3519 + -e "s@\(^cc=\).*@\1'$(CC)'@g" \
3520 + -e "s@\(^ccname=\).*@\1'$(CC)'@g" \
3521 + -e "s@\(^cpp=\).*@\1'$(CPP)'@g" \
3522 + -e "s@\(^cpprun=\).*@\1'$(CC) -E'@g" \
3523 + -e "s@\(^cppstdin=\).*@\1'$(CC) -E'@g" \
3524 + -e "s@\(^ld=\).*@\1'$(LD)'@g" \
3525 + -e "s@\(^ranlib=\).*@\1'$(RANLIB)'@g" \
3526 + -e "s@\(^full_ar=\).*@\1'$(shell which $(AR))'@g" \
3527 + -e "s@\(^full_sed=\).*@\1'$(shell which sed)'@g" \
3528 + -e "s@\(^ccdlflags=\).*@\1'-Wl,-E -Wl,-rpath,/usr/lib/perl5/$(VERSION)/$(ARCHNAME)/CORE'@g" \
3529 + -e "/^ccflags=/s@-I/usr/local/include@-msoft-float@g" \
3530 + -e "/^cppflags=/s@-I/usr/local/include@@g" \
3531 + -e "/^ldflags=/s@-L/usr/local/lib@@g" \
3532 + -e "/^lddlflags=/s@-L/usr/local/lib@@g" \
3533 + -e "/^archlib=/s@$(VERSION).*@$(VERSION)/$(ARCHNAME)'@" \
3534 + -e "/^archlibexp=/s@$(VERSION).*@$(VERSION)/$(ARCHNAME)'@" \
3535 + -e "/^installarchlib=/s@$(VERSION).*@$(VERSION)/$(ARCHNAME)'@" \
3536 + -e "/^installsitearch=/s@$(VERSION).*@$(VERSION)/$(ARCHNAME)'@" \
3537 + -e "/^installvendorarch=/s@$(VERSION).*@$(VERSION)/$(ARCHNAME)'@" \
3538 + -e "/^sitearch/s@$(VERSION).*@$(VERSION)/$(ARCHNAME)'@" \
3539 + -e "/^sitearchexp/s@$(VERSION).*@$(VERSION)/$(ARCHNAME)'@" \
3540 + -e "/^vendorarch/s@$(VERSION).*@$(VERSION)/$(ARCHNAME)'@" \
3541 + -e "/^vendorarchexp/s@$(VERSION).*@$(VERSION)/$(ARCHNAME)'@" \
3542 + -e "s@\(^myhostname=\).*@\1'$(HOSTNAME)'@g" \
3543 + -e "s@\(^mydomain=\).*@\1'$(DOMAIN)'@g" \
3544 + -e "s@\(^cf_by=\).*@\1'$(CFBY)'@g" \
3545 + -e "s|\(^cf_email=\).*|\1'$(EMAIL)'|g" \
3546 + -e "s|\(^perladmin=\).*|\1'$(EMAIL)'|g" \
3547 + -e "s@\(^myuname=\).*@\1'$(UNAME)'@g" \
3548 + -e "s@\(^cf_time=\).*@\1'$(CFTIME)'@g" \
3549 + $(PWD)/config.sh-$(SYS) > $(TOP)/config.sh
3550 diff -Naur perl-5.10.0.orig/Cross/Makefile-cross-SH perl-5.10.0/Cross/Makefile-cross-SH
3551 --- perl-5.10.0.orig/Cross/Makefile-cross-SH 2007-12-18 05:47:07.000000000 -0500
3552 +++ perl-5.10.0/Cross/Makefile-cross-SH 1969-12-31 19:00:00.000000000 -0500
3556 -# This file is used to create generic Makefile for cross-compile
3557 -# (borrowed from Makefile.SH)
3558 -# (now only small changes are done to establish cross-compilation)
3559 -# miniperl removed from here, as this is built on HOST
3561 -Makefile=Makefile-cross-$CROSS_NAME
3563 -. Cross/config-${CROSS_NAME}.sh
3565 -# H.Merijn Brand [17 Feb 2004]
3566 -# This comment is just to ensure that Configure will find variables that
3567 -# are removed/replaced in patches on blead, but are still needed in the
3568 -# 5.8.x, 5.6.x and 5.005.x maintainance tracks.
3569 -# metaconfig -m will scan all .SH files on this level (not deeper), and
3570 -# not in x2p and other subfolders. This file is as good as any .SH
3573 -# #22302 $yacc $byacc
3575 -# H.Merijn Brand [30 Oct 2004]
3576 -# Mentioned for the same reason for future reference
3577 -# #23434 $d_strlcat $d_strlcpy
3579 -: This forces SH files to create target in same directory as SH file.
3580 -: This is so that make depend always knows where to find SH derivatives.
3582 -*/*) cd `expr X$0 : 'X\(.*\)/'` ;;
3585 -case "$d_dosuid" in
3586 -*define*) suidperl='suidperl' ;;
3590 -linklibperl='$(LIBPERL)'
3591 -shrpldflags='$(LDDLFLAGS)'
3593 -DPERL_EXTERNAL_GLOB='-DPERL_EXTERNAL_GLOB'
3594 -case "$useshrplib" in
3596 - # Prefix all runs of 'miniperl' and 'perl' with
3597 - # $ldlibpth so that ./perl finds *this* shared libperl.
3598 - case "$LD_LIBRARY_PATH" in
3600 - ldlibpth="LD_LIBRARY_PATH=`pwd`";;
3602 - ldlibpth="LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}";;
3605 - pldlflags="$cccdlflags"
3606 - static_target='static_pic'
3607 - case "${osname}${osvers}" in
3610 - lddlflags="-dynamic -undefined warning -framework System \
3611 - -compatibility_version 1 -current_version $patchlevel \
3612 - -prebind -seg1addr 0x27000000 -install_name \$(shrpdir)/\$@"
3614 - rhapsody*|darwin*)
3615 - shrpldflags="${ldflags} -dynamiclib \
3616 - -compatibility_version \
3617 - ${api_revision}.${api_version}.${api_subversion} \
3618 - -current_version \
3619 - ${revision}.${patchlevel}.${subversion} \
3620 - -install_name \$(shrpdir)/\$@"
3623 - linklibperl="-lperl"
3626 - linklibperl="-lperl"
3628 - netbsd*|freebsd[234]*|openbsd*|dragonfly*)
3629 - linklibperl="-L. -lperl"
3632 - linklibperl="-L. -lperl"
3633 - shrpldflags="$shrpldflags -Wl,--image-base,0x57000000"
3636 - shrpldflags="$shrpldflags $ldflags $perllibs $cryptlib"
3639 - shrpldflags="-H512 -T512 -bhalt:4 -bM:SRE -bE:perl.exp"
3641 - 3*) shrpldflags="$shrpldflags -e _nostart"
3643 - *) shrpldflags="$shrpldflags -b noentry"
3646 - shrpldflags="$shrpldflags $ldflags $perllibs $cryptlib"
3647 - linklibperl="-L $archlibexp/CORE -L `pwd | sed 's/\/UU$//'` -lperl"
3650 - linklibperl="-L `pwd | sed 's/\/UU$//'` -Wl,+s -Wl,+b$archlibexp/CORE -lperl"
3653 - shrpldflags='-W l,XPLINK,dll'
3654 - linklibperl='libperl.x'
3655 - DPERL_EXTERNAL_GLOB=''
3658 - case "$ldlibpthname" in
3666 - eval "ldlibpth=\"$ldlibpthname=`pwd`:\$$ldlibpthname\""
3669 - # Strip off any trailing :'s
3670 - ldlibpth=`echo $ldlibpth | sed 's/:*$//'`
3674 - case "$ldlibpth" in
3675 - # Protect any spaces
3676 - *" "*) ldlibpth=`echo $ldlibpth|sed 's/ /\\\\ /g'` ;;
3681 - # If there is a pre-existing $libperl from a previous
3682 - # installation, Linux needs to use LD_PRELOAD to
3683 - # override the LD_LIBRARY_PATH setting. See the
3684 - # INSTALL file, under "Building a shared perl library".
3685 - # If there is no pre-existing $libperl, we don't need
3686 - # to do anything further.
3687 - if test -f $archlib/CORE/$libperl; then
3689 - cat <<'EOT' > preload
3693 -test -r $lib && export LD_PRELOAD="$lib $LD_PRELOAD"
3697 - ldlibpth="$ldlibpth `pwd`/preload `pwd`/$libperl"
3700 - os390) test -f /bin/env && ldlibpth="/bin/env $ldlibpth"
3707 - static_target='static'
3711 -: Prepare dependency lists for Makefile.
3714 -for f in $dynamic_ext; do
3715 - : the dependency named here will never exist
3716 - base=`echo "$f" | sed 's/.*\///'`
3717 - this_target="lib/auto/$f/$base.$dlext"
3718 - dynamic_list="$dynamic_list $this_target"
3720 - : Parallel makes reveal that we have some interdependencies
3722 - Math/BigInt/FastCalc) extra_dep="$extra_dep
3723 -$this_target: lib/auto/List/Util/Util.$dlext" ;;
3724 - Unicode/Normalize) extra_dep="$extra_dep
3725 -$this_target: uni.data" ;;
3730 -for f in $static_ext; do
3731 - base=`echo "$f" | sed 's/.*\///'`
3732 - static_list="$static_list lib/auto/$f/$base\$(LIB_EXT)"
3736 -for f in $nonxs_ext; do
3737 - base=`echo "$f" | sed 's/.*\///'`
3738 - nonxs_list="$nonxs_list ext/$f/pm_to_blib"
3741 -echo "Extracting $Makefile (with variable substitutions)"
3742 -$spitshell >$Makefile <<!GROK!THIS!
3744 -# This file is derived from $Makefile.SH. Any changes made here will
3745 -# be lost the next time you run Configure.
3746 -# $Makefile is used to generate $firstmakefile. The only difference
3747 -# is that $firstmakefile has the dependencies filled in at the end.
3753 -CLDFLAGS = $ldflags
3755 -mallocsrc = $mallocsrc
3756 -mallocobj = $mallocobj
3757 -madlysrc = $madlysrc
3758 -madlyobj = $madlyobj
3760 -# NOTE: some systems don't grok "cp -f". XXX Configure test needed?
3765 -# The following are mentioned only to make metaconfig include the
3766 -# appropriate questions in Configure. If you want to change these,
3767 -# edit config.sh instead, or specify --man1dir=/wherever on
3768 -# installman commandline.
3770 -scriptdir = $scriptdir
3771 -shrpdir = $archlibexp/CORE
3772 -privlib = $installprivlib
3778 -# The following are used to build and install shared libraries for
3780 -LDDLFLAGS = $lddlflags
3781 -SHRPLDFLAGS = $shrpldflags
3782 -CCDLFLAGS = $ccdlflags
3784 -PLDLFLAGS = $pldlflags
3786 -LLIBPERL= $linklibperl
3789 -# Static targets are ordinarily built without CCCDLFLAGS. However,
3790 -# if building a shared libperl.so that might later be linked into
3791 -# another application, then it might be appropriate to also build static
3792 -# extensions (usually just DynaLoader) with relocatable code (e.g. -fPIC
3793 -# for GNU cc). This is handled by ext/util/make_ext.
3794 -STATIC = $static_target
3796 -# The following is used to include the current directory in
3797 -# the dynamic loader path you are building a shared libperl.
3798 -LDLIBPTH = $ldlibpth
3800 -dynamic_ext = $dynamic_list
3801 -static_ext = $static_list
3802 -nonxs_ext = $nonxs_list
3803 -ext = \$(dynamic_ext) \$(static_ext) \$(nonxs_ext)
3804 -DYNALOADER = DynaLoader\$(OBJ_EXT)
3806 -libs = $perllibs $cryptlib
3808 -public = perl\$(EXE_EXT) $suidperl utilities translators
3810 -shellflags = $shellflags
3812 -# This is set to MAKE=$make if your $make command doesn't
3816 -# Mention $gmake here so it gets probed for by Configure.
3818 -# These variables may need to be manually set for non-Unix systems.
3825 -# If you're going to use valgrind and it can't be invoked as plain valgrind
3826 -# then you'll need to change this, or override it on the make command line.
3829 -FIRSTMAKEFILE = $firstmakefile
3831 -# Any special object files needed by this architecture, e.g. os2/os2.obj
3832 -ARCHOBJS = $archobjs
3834 -.SUFFIXES: .c \$(OBJ_EXT) .i .s
3839 -# how to tr(anslate) newlines
3842 -OPTIMIZE = $optimize
3846 -INSTALLPREFIXEXP = $prefix
3849 -# not used by Makefile but by installperl;
3850 -# mentioned here so that metaconfig picks these up
3851 -# $installusrbinperl
3854 -case "${osname}:${osvers}" in
3856 -$spitshell >>$Makefile <<EOF
3858 -# Your locales are broken (osname $osname, osvers $osvers)
3859 -# and to avoid the numerous
3860 -# perl: warning: Setting locale failed.
3861 -# warnings during the build process we reset the locale variables.
3870 -$spitshell >>$Makefile <<!GROK!THIS!
3871 -CROSS_NAME = ${CROSS_NAME}
3872 -CROSS_LIB = xlib/${CROSS_NAME}
3874 -CCCMD = \`sh \$(shellflags) cflags-cross-${CROSS_NAME} "optimize='\$(OPTIMIZE)'" \$@\`
3876 -CCCMDSRC = \`sh \$(shellflags) cflags-cross-${CROSS_NAME} "optimize='\$(OPTIMIZE)'" \$<\`
3880 -## In the following dollars and backticks do not need the extra backslash.
3881 -$spitshell >>$Makefile <<'!NO!SUBS!'
3883 -CONFIGPM = xlib/$(CROSS_NAME)/Config.pm
3885 -private = preplibrary $(CONFIGPM) $(CROSS_LIB)/Config.pod
3887 -shextract = Makefile cflags config.h makeaperl makedepend \
3888 - makedir myconfig writemain pod/Makefile
3890 -# Files to be built with variable substitution after miniperl is
3891 -# available. Dependencies handled manually below (for now).
3893 -pl = pod/pod2html.PL pod/pod2latex.PL pod/pod2man.PL pod/pod2text.PL \
3894 - pod/pod2usage.PL pod/podchecker.PL pod/podselect.PL
3896 -# lib/lib.pm is not listed here because it has a rule of its own.
3897 -plextract = pod/pod2html pod/pod2latex pod/pod2man pod/pod2text \
3898 - pod/pod2usage pod/podchecker pod/podselect
3900 -addedbyconf = UU $(shextract) $(plextract) lib/lib.pm pstruct
3902 -# Unicode data files generated by mktables
3903 -unidatafiles = lib/unicore/Canonical.pl lib/unicore/Exact.pl \
3904 - lib/unicore/Properties lib/unicore/Decomposition.pl \
3905 - lib/unicore/CombiningClass.pl lib/unicore/Name.pl lib/unicore/PVA.pl
3907 -# Directories of Unicode data files generated by mktables
3908 -unidatadirs = lib/unicore/To lib/unicore/lib
3910 -h1 = EXTERN.h INTERN.h XSUB.h av.h xconfig.h cop.h cv.h dosish.h
3911 -h2 = embed.h form.h gv.h handy.h hv.h keywords.h mg.h op.h opcode.h
3912 -h3 = pad.h patchlevel.h perl.h perlapi.h perly.h pp.h proto.h regcomp.h
3913 -h4 = regexp.h scope.h sv.h unixish.h util.h iperlsys.h thread.h
3914 -h5 = utf8.h warnings.h
3915 -h = $(h1) $(h2) $(h3) $(h4) $(h5)
3917 -c1 = av.c scope.c op.c doop.c doio.c dump.c gv.c hv.c mg.c reentr.c mro.c perl.c
3918 -c2 = perly.c pp.c pp_hot.c pp_ctl.c pp_sys.c regcomp.c regexec.c utf8.c sv.c
3919 -c3 = taint.c toke.c util.c deb.c run.c universal.c xsutils.c pad.c globals.c
3920 -c4 = perlio.c perlapi.c numeric.c mathoms.c locale.c pp_pack.c pp_sort.c
3921 -c5 = $(madlysrc) $(mallocsrc)
3923 -c = $(c1) $(c2) $(c3) $(c4) $(c5) miniperlmain.c perlmain.c opmini.c
3925 -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)
3926 -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)
3927 -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)
3929 -obj = $(obj1) $(obj2) $(obj3) $(ARCHOBJS)
3937 - -errchk=parentheses \
3941 - -erroff=E_ASSIGN_NARROW_CONV \
3942 - -erroff=E_BAD_PTR_CAST \
3943 - -erroff=E_BAD_PTR_CAST_ALIGN \
3944 - -erroff=E_BAD_PTR_INT_COMBINATION \
3945 - -erroff=E_BAD_SIGN_EXTEND \
3946 - -erroff=E_BLOCK_DECL_UNUSED \
3947 - -erroff=E_CASE_FALLTHRU \
3948 - -erroff=E_CONST_EXPR \
3949 - -erroff=E_CONSTANT_CONDITION \
3950 - -erroff=E_END_OF_LOOP_CODE_NOT_REACHED \
3951 - -erroff=E_EQUALITY_NOT_ASSIGNMENT \
3952 - -erroff=E_EXPR_NULL_EFFECT \
3953 - -erroff=E_FALSE_LOGICAL_EXPR \
3954 - -erroff=E_INCL_NUSD \
3955 - -erroff=E_LOOP_EMPTY \
3956 - -erroff=E_MAIN_PARAM \
3957 - -erroff=E_POINTER_TO_OBJECT \
3958 - -erroff=E_PTRDIFF_OVERFLOW \
3959 - -erroff=E_SHIFT_CNT_NEG_TOO_BIG_L \
3960 - -erroff=E_STATIC_UNUSED \
3961 - -erroff=E_TRUE_LOGICAL_EXPR
3964 - -I/usr/lib/gcc/i486-linux-gnu/4.0.2/include/ \
3965 - -D__builtin_va_list=va_list \
3966 - -Dsigjmp_buf=jmp_buf \
3971 - -fixedformalarray \
3981 - +matchanyintegral \
3987 -splintfiles = $(c1)
3990 - $(CCCMD) -I$(CROSS_LIB) $(PLDLFLAGS) $*.c
3993 - $(CCCMDSRC) -E $*.c > $*.i
3996 - $(CCCMDSRC) -S $*.c
3998 -all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT) extra.pods $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make
4000 - @echo " Everything is up to date. Type '$(MAKE) test' to run test suite."
4005 -# This is now done by installman only if you actually want the man pages.
4006 -# @echo " "; echo " Making docs"; cd pod; $(MAKE) all;
4008 -# Phony target to force checking subdirectories.
4009 -# Apparently some makes require an action for the FORCE target.
4014 -$spitshell >>$Makefile <<!GROK!THIS!
4016 -# We do a copy of the op.c instead of a symlink because gcc gets huffy
4017 -# if we have a symlink forest to another disk (it complains about too many
4018 -# levels of symbolic links, even if we have only two)
4022 - \$(CPS) op.c opmini.c
4024 -opmini\$(OBJ_EXT): opmini.c
4025 - \$(CCCMD) \$(PLDLFLAGS) $DPERL_EXTERNAL_GLOB opmini.c
4027 -globals\$(OBJ_EXT):
4030 -$spitshell >>$Makefile <<'!NO!SUBS!'
4031 -miniperlmain$(OBJ_EXT): miniperlmain.c patchlevel.h
4032 - $(CCCMD) $(PLDLFLAGS) $*.c
4034 -perlmain.c: miniperlmain.c config.sh $(FIRSTMAKEFILE)
4035 - sh writemain $(DYNALOADER) $(static_ext) > perlmain.c
4040 - ;; # Let cygwin/Makefile.SHs do its work.
4042 - $spitshell >>$Makefile <<'!NO!SUBS!'
4043 -perlmain$(OBJ_EXT): perlmain.c
4044 - $(CCCMD) $(PLDLFLAGS) $*.c
4049 -$spitshell >>$Makefile <<'!NO!SUBS!'
4050 -# The file ext.libs is a list of libraries that must be linked in
4051 -# for static extensions, e.g. -lm -lgdbm, etc. The individual
4052 -# static extension Makefile's add to it.
4053 -ext.libs: $(static_ext)
4054 - -@test -f ext.libs || touch ext.libs
4058 -# How to build libperl. This is still rather convoluted.
4059 -# Load up custom Makefile.SH fragment for shared loading and executables:
4062 - Makefile_s="$osname/Makefile.SHs"
4068 - $spitshell >>$Makefile <<!GROK!THIS!
4070 -# In AIX we need to change this for building Perl itself from
4071 -# its earlier definition (which is for building external
4072 -# extensions *after* Perl has been built and installed)
4073 -CCDLFLAGS = `echo $ccdlflags|sed -e 's@-bE:.*/perl\.exp@-bE:perl.exp@'`
4076 - case "$useshrplib" in
4077 - define|true|[yY]*)
4078 - $spitshell >>$Makefile <<'!NO!SUBS!'
4080 -LIBPERL_NONSHR = libperl_nonshr$(LIB_EXT)
4081 -MINIPERL_NONSHR = miniperl_nonshr$(EXE_EXT)
4083 -$(LIBPERL_NONSHR): $(obj)
4084 - $(RMS) $(LIBPERL_NONSHR)
4085 - $(AR) rcu $(LIBPERL_NONSHR) $(obj)
4087 -$(MINIPERL_NONSHR): $(LIBPERL_NONSHR) miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT)
4088 - $(CC) $(LDFLAGS) -o $(MINIPERL_NONSHR) miniperlmain$(OBJ_EXT) \
4089 - opmini$(OBJ_EXT) $(LIBPERL_NONSHR) $(LIBS)
4091 -MINIPERLEXP = $(MINIPERL_NONSHR)
4093 -LIBPERLEXPORT = perl.exp
4099 - $spitshell >>$Makefile <<'!NO!SUBS!'
4100 -MINIPERLEXP = miniperl$(EXE_EXT)
4102 -PERLEXPORT = perl.exp
4107 - $spitshell >>$Makefile <<'!NO!SUBS!'
4108 -perl.exp: $(MINIPERLEXP) makedef.pl config.sh $(SYM) $(SYMH)
4109 - ./$(MINIPERLEXP) makedef.pl PLATFORM=aix CC_FLAGS="$(OPTIMIZE)" | sort -u | sort -f > perl.exp
4114 - $spitshell >>$Makefile <<'!NO!SUBS!'
4115 -MINIPERLEXP = miniperl
4117 -perl5.def: $(MINIPERLEXP) makedef.pl config.sh $(SYM) $(SYMH) miniperl.map
4118 - ./$(MINIPERLEXP) makedef.pl PLATFORM=os2 -DPERL_DLL=$(PERL_DLL) CC_FLAGS="$(OPTIMIZE)" > perl5.def
4124 -if test -r $Makefile_s ; then
4126 - $spitshell >>$Makefile <<!GROK!THIS!
4128 -$Makefile: $Makefile_s
4131 - $spitshell >>$Makefile <<'!NO!SUBS!'
4132 -$(LIBPERL): $& $(obj) $(DYNALOADER) $(LIBPERLEXPORT)
4134 - case "$useshrplib" in
4136 - $spitshell >>$Makefile <<'!NO!SUBS!'
4138 - $(LD) -o $@ $(SHRPLDFLAGS) $(obj) $(DYNALOADER) $(libs)
4142 - $spitshell >>$Makefile <<'!NO!SUBS!'
4143 - rm -f libperl$(OBJ_EXT)
4144 - mv $@ libperl$(OBJ_EXT)
4145 - $(AR) qv $(LIBPERL) libperl$(OBJ_EXT)
4151 - $spitshell >>$Makefile <<'!NO!SUBS!'
4153 - $(AR) rcu $(LIBPERL) $(obj) $(DYNALOADER)
4154 - @$(ranlib) $(LIBPERL)
4158 - $spitshell >>$Makefile <<'!NO!SUBS!'
4160 -# How to build executables.
4162 -# The $& notation tells Sequent machines that it can do a parallel make,
4163 -# and is harmless otherwise.
4164 -# The miniperl -w -MExporter line is a basic cheap test to catch errors
4165 -# before make goes on to run preplibrary and then MakeMaker on extensions.
4166 -# This is very handy because later errors are often caused by miniperl
4167 -# build problems but that's not obvious to the novice.
4168 -# The Module used here must not depend on Config or any extensions.
4173 - $spitshell >>$Makefile <<'!NO!SUBS!'
4175 -perl$(EXE_EXT): $& perlmain$(OBJ_EXT) $(LIBPERL) $(static_ext) ext.libs $(PERLEXPORT)
4176 - -@rm -f miniperl.xok
4177 - $(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)
4178 - $(SHRPENV) $(LDLIBPTH) $(CC) -o perl$(PERL_SUFFIX)$(EXE_EXT) $(PERL_PROFILE_LDFLAGS) $(CLDFLAGS) perlmain$(OBJ_EXT) $(static_ext) $(LLIBPERL) `cat ext.libs` $(libs)
4180 -# Purify/Quantify Perls.
4182 -pureperl$(EXE_EXT): $& perlmain$(OBJ_EXT) $(LIBPERL) $(static_ext) ext.libs $(PERLEXPORT)
4183 - $(SHRPENV) $(LDLIBPTH) purify $(CC) -o pureperl $(CLDFLAGS) $(CCDLFLAGS) perlmain$(OBJ_EXT) $(static_ext) $(LLIBPERL) `cat ext.libs` $(libs)
4185 -purecovperl$(EXE_EXT): $& perlmain$(OBJ_EXT) $(LIBPERL) $(static_ext) ext.libs $(PERLEXPORT)
4186 - $(SHRPENV) $(LDLIBPTH) purecov $(CC) -o purecovperl $(CLDFLAGS) $(CCDLFLAGS) perlmain$(OBJ_EXT) $(static_ext) $(LLIBPERL) `cat ext.libs` $(libs)
4188 -quantperl$(EXE_EXT): $& perlmain$(OBJ_EXT) $(LIBPERL) $(static_ext) ext.libs $(PERLEXPORT)
4189 - $(SHRPENV) $(LDLIBPTH) quantify $(CC) -o quantperl $(CLDFLAGS) $(CCDLFLAGS) perlmain$(OBJ_EXT) $(static_ext) $(LLIBPERL) `cat ext.libs` $(libs)
4191 -# Valgrind perl (currently Linux only)
4193 -perl.valgrind.config: config.sh
4194 - @echo "To build perl.valgrind you must Configure -Doptimize=-g -Uusemymalloc, checking..."
4195 - @$(MAKE) perl.config.dashg
4196 - @echo "Checking usemymalloc='n' in config.sh..."
4197 - @grep "^usemymalloc=" config.sh
4198 - @grep "^usemymalloc='n'" config.sh >/dev/null || exit 1
4199 - @echo "And of course you have to have valgrind..."
4200 - $(VALGRIND) ./perl -e 1 2>/dev/null || exit 1
4202 -# Third Degree Perl (Tru64 only)
4205 - @echo "Checking optimize='-g' in config.sh..."
4206 - @grep "^optimize=" config.sh
4207 - @egrep "^optimize='(.*-g.*)'" config.sh >/dev/null || exit 1
4209 -perl.third.config: config.sh
4210 - @echo "To build perl.third you must Configure -Doptimize=-g -Uusemymalloc, checking..."
4211 - @$(MAKE) perl.config.dashg
4212 - @echo "Checking usemymalloc='n' in config.sh..."
4213 - @grep "^usemymalloc=" config.sh
4214 - @grep "^usemymalloc='n'" config.sh >/dev/null || exit 1
4216 -perl.third: /usr/bin/atom perl.third.config perl
4217 - atom -tool third -L. -all -gp -toolargs="-invalid -uninit heap+stack+copy -min 0" perl
4218 - @echo "Now you may run perl.third and then study perl.3log."
4220 -# Pixie Perls (Tru64 and IRIX only)
4222 -perl.pixie.config: config.sh
4223 - @echo "To build perl.pixie you must Configure -Doptimize=-g, checking..."
4224 - @$(MAKE) perl.config.dashg
4226 -perl.pixie.atom: /usr/bin/atom perl
4227 - atom -tool pixie -L. -all -toolargs="-quiet" perl
4229 -perl.pixie.irix: perl
4232 -perl.pixie: /usr/bin/pixie perl.pixie.config perl
4233 - if test -x /usr/bin/atom; then \
4234 - $(MAKE) perl.pixie.atom; \
4236 - $(MAKE) perl.pixie.irix; \
4238 - @echo "Now you may run perl.pixie and then run pixie."
4242 -perl.config.dashpg:
4243 - @echo "Checking optimize='-pg' in config.sh..."
4244 - @grep "^optimize=" config.sh
4245 - @grep "^optimize='.*-pg.*'" config.sh >/dev/null || exit 1
4247 -perl.gprof.config: config.sh
4248 - @echo "To build perl.gprof you must Configure -Doptimize=-pg, checking..."
4249 - @$(MAKE) perl.config.dashpg
4251 -perl.gprof: /usr/bin/gprof perl.gprof.config
4253 - $(MAKE) PERL_SUFFIX=.gprof PERL_PROFILE_LDFLAGS=-pg perl
4254 - @echo "Now you may run perl.gprof and then run gprof perl.gprof."
4259 - @echo "To build perl.gcov you must use gcc 3.0 or newer, checking..."
4260 - @echo "Checking gccversion in config.sh..."
4261 - @grep "^gccversion=" config.sh
4262 - @grep "^gccversion='[3-9]\." config.sh >/dev/null || exit 1
4263 - @echo "To build perl.gcov you must Configure -Dccflags=-fprofile-arcs -ftest-coverage, checking..."
4264 - @echo "Checking ccflags='-fprofile-arcs -ftest-coverage' in config.sh..."
4265 - @grep "^ccflags=" config.sh
4266 - @grep "^ccflags='.*-fprofile-arcs -ftest-coverage.*'" config.sh >/dev/null || exit 1
4268 -perl.gcov: perl.config.gcov
4270 - $(MAKE) PERL_SUFFIX=.gcov PERL_PROFILE_LDFLAGS='' perl
4271 - @echo "Now you may run perl.gcov and then run gcov some.c."
4273 -# Microperl. This is just a convenience thing if one happens to
4274 -# build also the full Perl and therefore the real big Makefile:
4275 -# usually one should manually explicitly issue the below command.
4279 - $(MAKE) -f Makefile.micro
4281 -# This version, if specified in Configure, does ONLY those scripts which need
4282 -# set-id emulation. Suidperl must be setuid root. It contains the "taint"
4283 -# checks as well as the special code to validate that the script in question
4284 -# has been invoked correctly.
4286 -suidperl$(EXE_EXT): $& sperl$(OBJ_EXT) perlmain$(OBJ_EXT) $(LIBPERL) $(static_ext) ext.libs $(PERLEXPORT)
4287 - $(SHRPENV) $(LDLIBPTH) $(CC) -o suidperl $(CLDFLAGS) $(CCDLFLAGS) perlmain$(OBJ_EXT) sperl$(OBJ_EXT) $(static_ext) $(LLIBPERL) `cat ext.libs` $(libs)
4293 -$spitshell >>$Makefile <<'!NO!SUBS!'
4295 -sperl$(OBJ_EXT): perl.c $(h)
4297 - $(LNS) perl.c sperl.c
4298 - $(CCCMD) -DIAMSUID sperl.c
4301 -# We have to call our ./makedir because Ultrix 4.3 make can't handle the line
4302 -# test -d lib/auto || mkdir lib/auto
4303 -# We need to autosplit in two steps because VOS can't handle so many args
4305 -.PHONY: preplibrary
4306 -preplibrary: miniperl $(CONFIGPM) lib/lib.pm $(PREPLIBRARY_LIBPERL)
4307 - @sh ./makedir lib/auto
4308 - @echo " AutoSplitting perl library"
4309 - $(LDLIBPTH) ./miniperl -Ilib -MCross -e 'use AutoSplit; \
4310 - autosplit_lib_modules(@ARGV)' lib/*.pm
4311 - $(LDLIBPTH) ./miniperl -Ilib -MCross -e 'use AutoSplit; \
4312 - autosplit_lib_modules(@ARGV)' lib/*/*.pm
4316 -makeppport: miniperl$(EXE_EXT) $(CONFIGPM)
4317 - $(LDLIBPTH) ./miniperl$(EXE_EXT) -Ilib mkppport
4319 -$(CROSS_LIB)/Config.pod: config.sh miniperl configpm Porting/Glossary
4320 - $(LDLIBPTH) ./miniperl -Ilib configpm --cross=$(CROSS_NAME)
4321 - cp *.h $(CROSS_LIB)/
4322 - cp ext/re/re.pm $(LIBDIR)/
4324 -$(CONFIGPM): $(CROSS_LIB)/Config.pod xconfig.h
4326 -lib/re.pm: ext/re/re.pm
4328 - cp ext/re/re.pm lib/re.pm
4330 -$(plextract): miniperl $(CONFIGPM) x2p/s2p
4332 - $(LDLIBPTH) ./miniperl -I`pwd`/lib $@.PL
4334 -lib/lib.pm: miniperl $(CONFIGPM)
4336 - $(LDLIBPTH) ./miniperl -Ilib -MCross lib/lib_pm.PL
4338 -unidatafiles $(unidatafiles): uni.data
4340 -uni.data: miniperl$(EXE_EXT) $(CONFIGPM) lib/unicore/mktables
4341 - cd lib/unicore && $(LDLIBPTH) ../../miniperl -I../../lib mktables -w
4344 -extra.pods: miniperl
4345 - -@test ! -f extra.pods || rm -f `cat extra.pods`
4346 - -@rm -f extra.pods
4347 - -@for x in `grep -l '^=[a-z]' README.* | grep -v README.vms` ; do \
4348 - nx=`echo $$x | sed -e "s/README\.//"`; \
4349 - cd pod ; $(LNS) ../$$x "perl"$$nx".pod" ; cd .. ; \
4350 - echo "pod/perl"$$nx".pod" >> extra.pods ; \
4352 - -@rm -f pod/perlvms.pod
4353 - -@test -f vms/perlvms.pod && cd pod && $(LNS) ../vms/perlvms.pod perlvms.pod && cd .. && echo "pod/perlvms.pod" >> extra.pods
4354 - -@rm -f pod/perldelta.pod
4355 - -@test -f pod/perl5100delta.pod && cd pod && $(LNS) perl5100delta.pod perldelta.pod && cd .. && echo "pod/perldelta.pod" >> extra.pods # See buildtoc
4357 -extras.make: perl$(EXE_EXT)
4358 - -@test ! -s extras.lst || PATH="`pwd`:${PATH}" PERL5LIB="`pwd`/lib" $(LDLIBPTH) ./perl -Ilib -MCPAN -e '@ARGV&&make(@ARGV)' `cat extras.lst`
4360 -extras.test: perl$(EXE_EXT)
4361 - -@test ! -s extras.lst || PATH="`pwd`:${PATH}" PERL5LIB="`pwd`/lib" $(LDLIBPTH) ./perl -Ilib -MCPAN -e '@ARGV&&test(@ARGV)' `cat extras.lst`
4363 -extras.install: perl$(EXE_EXT)
4364 - -@test ! -s extras.lst || PATH="`pwd`:${PATH}" PERL5LIB="`pwd`/lib" $(LDLIBPTH) ./perl -Ilib -MCPAN -e '@ARGV&&install(@ARGV)' `cat extras.lst`
4366 -.PHONY: install install-strip install-all install-verbose install-silent \
4367 - no-install install.perl install.man install.html
4369 -META.yml: Porting/makemeta Porting/Maintainers.pl Porting/Maintainers.pm
4370 - $(LDLIBPTH) ./miniperl -Ilib Porting/makemeta
4373 - $(MAKE) STRIPFLAGS=-s install DESTDIR="$(DESTDIR)"
4375 -install install-all:
4376 - $(MAKE) install.perl install.man STRIPFLAGS=$(STRIPFLAGS) DESTDIR="$(DESTDIR)"
4379 - $(MAKE) install.perl install.man STRIPFLAGS=$(STRIPFLAGS) INSTALLFLAGS=-V DESTDIR="$(DESTDIR)"
4382 - $(MAKE) install.perl install.man STRIPFLAGS=$(STRIPFLAGS) INSTALLFLAGS=-S DESTDIR="$(DESTDIR)"
4385 - $(MAKE) install.perl install.man STRIPFLAGS=$(STRIPFLAGS) INSTALLFLAGS=-n DESTDIR="$(DESTDIR)"
4387 -# Set this to an empty string to avoid an attempt of rebuild before install
4388 -INSTALL_DEPENDENCE = all
4390 -install.perl: $(INSTALL_DEPENDENCE) installperl
4391 - $(LDLIBPTH) ./perl installperl --destdir=$(DESTDIR) $(INSTALLFLAGS) $(STRIPFLAGS)
4392 - -@test ! -s extras.lst || $(MAKE) extras.install
4394 -install.man: all installman
4395 - $(LDLIBPTH) ./perl installman --destdir=$(DESTDIR) $(INSTALLFLAGS)
4397 -# XXX Experimental. Hardwired values, but useful for testing.
4398 -# Eventually Configure could ask for some of these values.
4399 -install.html: all installhtml
4400 - -@test -f README.vms && cd vms && $(LNS) ../README.vms README_vms.pod && cd ..
4401 - $(LDLIBPTH) ./perl installhtml \
4402 - --podroot=. --podpath=. --recurse \
4403 - --htmldir=$(privlib)/html \
4404 - --htmlroot=$(privlib)/html \
4405 - --splithead=pod/perlipc \
4406 - --splititem=pod/perlfunc \
4407 - --libpods=perlfunc:perlguts:perlvar:perlrun:perlop \
4408 - --ignore=Porting/Maintainers.pm,Porting/patching.pod,Porting/pumpkin.pod,Porting/repository.pod \
4412 -# I now supply perly.c with the kits, so the following section is
4413 -# used only if you force bison to run by saying
4415 -# You normally shouldn't remake perly.[ch].
4417 -.PHONY: regen_perly
4420 - @echo "run_byacc is obsolete; try 'make regen_perly' instead"
4422 -# this outputs perly.h, perly.act and perly.tab
4424 - perl regen_perly.pl
4426 -# We don't want to regenerate perly.c and perly.h, but they might
4427 -# appear out-of-date after a patch is applied or a new distribution is
4435 -# No compat3.sym here since and including the 5.004_50.
4436 -# No interp.sym since 5.005_03.
4437 -SYM = global.sym globvar.sym perlio.sym pp.sym
4439 -SYMH = perlvars.h intrpvar.h
4443 -# The following files are generated automatically
4444 -# autodoc.pl: pod/perlapi.pod pod/perlintern.pod
4445 -# embed.pl: proto.h embed.h embedvar.h global.sym
4446 -# perlapi.h perlapi.c
4447 -# [* embed.pl needs pp.sym generated by opcode.pl! *]
4448 -# keywords.pl: keywords.h
4449 -# opcode.pl: opcode.h opnames.h pp_proto.h pp.sym
4450 -# regcomp.pl: regnodes.h
4451 -# warnings.pl: warnings.h lib/warnings.pm
4452 -# The correct versions should be already supplied with the perl kit,
4453 -# in case you don't have perl available.
4454 -# To force them to be regenerated, run
4456 -# with your existing copy of perl
4457 -# (make regen_headers is kept for backwards compatibility)
4459 -AUTOGEN_FILES = keywords.h opcode.h opnames.h pp_proto.h pp.sym proto.h \
4460 - embed.h embedvar.h global.sym \
4461 - pod/perlintern.pod pod/perlapi.pod \
4462 - perlapi.h perlapi.c regnodes.h \
4463 - warnings.h lib/warnings.pm
4465 -.PHONY: regen_headers regen_pods regen_all
4467 -regen regen_headers: FORCE
4471 - -cd pod; $(LDLIBPTH) $(MAKE) regen_pods
4473 -regen_all: regen regen_pods
4475 -.PHONY: manisort manicheck
4478 - LC_ALL=C sort -fdc MANIFEST || (echo "WARNING: re-sorting MANIFEST"; \
4479 - LC_ALL=C sort -fdo MANIFEST MANIFEST)
4482 - perl Porting/manicheck
4485 -# Names added to $(dynamic_ext) or $(static_ext) or $(nonxs_ext) will
4486 -# automatically get built. There should ordinarily be no need to change
4487 -# any of this part of makefile.
4489 -# The dummy dependency is a place holder in case $(dynamic_ext) or
4490 -# $(static_ext) is empty.
4492 -# DynaLoader may be needed for extensions that use Makefile.PL.
4494 -###$(DYNALOADER).c: $(EXTDIR)/DynaLoader/dl_dld.xs $(CONFIGPM)
4495 -### if not exist $(AUTODIR) mkdir $(AUTODIR)
4496 -### cd $(EXTDIR)\$(*B)
4497 -### $(HPERL) -I..\..\lib -MCross=$(CROSS_NAME) $(*B)_pm.PL
4498 -### $(HPERL) -I..\..\lib -MCross=$(CROSS_NAME) XSLoader_pm.PL
4500 -### $(XCOPY) $(EXTDIR)\$(*B)\$(*B).pm $(LIBDIR)\$(NULL)
4501 -### $(XCOPY) $(EXTDIR)\$(*B)\XSLoader.pm $(LIBDIR)\$(NULL)
4502 -### cd $(EXTDIR)\$(*B)
4503 -### $(XSUBPP) dl_win32.xs > $(*B).c
4506 -###$(EXTDIR)\DynaLoader\dl_win32.xs: dl_win32.xs
4507 -### $(COPY) dl_win32.xs $(EXTDIR)\DynaLoader\dl_win32.xs
4511 -$(DYNALOADER): preplibrary FORCE
4512 - @$(LDLIBPTH) sh ext/util/make_ext_cross $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
4514 -d_dummy $(dynamic_ext): miniperl$(EXE_EXT) preplibrary makeppport $(DYNALOADER) FORCE
4515 - @$(LDLIBPTH) sh ext/util/make_ext_cross dynamic $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
4517 -s_dummy $(static_ext): miniperl$(EXE_EXT) preplibrary makeppport $(DYNALOADER) FORCE
4518 - @$(LDLIBPTH) sh ext/util/make_ext_cross $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
4520 -n_dummy $(nonxs_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE
4521 - @$(LDLIBPTH) sh ext/util/make_ext_cross nonxs $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
4524 -$spitshell >>$Makefile <<EOF
4528 -$spitshell >>$Makefile <<'!NO!SUBS!'
4530 -.PHONY: printconfig
4532 - @eval `$(LDLIBPTH) ./perl -Ilib -V:$(CONFIGVAR)`; echo $$$(CONFIGVAR)
4534 -.PHONY: clean _tidy _mopup _cleaner1 _cleaner2 \
4535 - realclean _realcleaner clobber _clobber \
4536 - distclean veryclean _verycleaner \
4537 - cleanup_unpacked_files unpack_files
4539 -clean: cleanup_unpacked_files _tidy _mopup
4541 -realclean: cleanup_unpacked_files _realcleaner _mopup
4542 - @echo "Note that '$(MAKE) realclean' does not delete config.sh or Policy.sh"
4545 - -@rm -f Cross/run-* Cross/to-* Cross/from-*
4546 - rm -f config.sh cppstdin Policy.sh extras.lst
4548 -clobber: cleanup_unpacked_files _realcleaner _mopup _clobber
4552 -# Like distclean but also removes emacs backups and *.orig.
4553 -veryclean: _verycleaner _mopup _clobber
4554 - -@rm -f Obsolete Wanted
4556 -# Do not 'make _mopup' directly.
4558 - rm -f *$(OBJ_EXT) *$(LIB_EXT) all perlmain.c opmini.c uudmap.h generate_uudmap$(EXE_EXT)
4560 - -@test -f extra.pods && rm -f `cat extra.pods`
4561 - -@test -f vms/README_vms.pod && rm -f vms/README_vms.pod
4562 - -rm -f perl.exp ext.libs extra.pods uni.data opmini.o
4563 - -rm -f perl.export perl.dll perl.libexp perl.map perl.def
4564 - -rm -f perl.loadmap miniperl.loadmap perl.prelmap miniperl.prelmap
4565 - -rm -f perl.third lib*.so.perl.third perl.3log t/perl.third t/perl.3log
4566 - -rm -f perl.pixie lib*.so.perl.pixie lib*.so.Addrs
4567 - -rm -f perl.Addrs perl.Counts t/perl.Addrs t/perl.Counts *perl.xok
4568 - -rm -f cygwin.c libperl*.def libperl*.dll cygperl*.dll *.exe.stackdump
4569 - -rm -f perl$(EXE_EXT) suidperl$(EXE_EXT) miniperl$(EXE_EXT) $(LIBPERL) libperl.* microperl
4570 - -rm -f opcode.h-old opnames.h-old pp.sym-old pp_proto.h-old
4571 - -rm -f config.over
4573 -# Do not 'make _tidy' directly.
4575 - -cd pod; $(LDLIBPTH) $(MAKE) clean
4576 - -cd utils; $(LDLIBPTH) $(MAKE) clean
4577 - -cd x2p; $(LDLIBPTH) $(MAKE) clean
4578 - -@for x in $(DYNALOADER) $(dynamic_ext) $(static_ext) $(nonxs_ext) ; do \
4579 - $(LDLIBPTH) sh ext/util/make_ext clean $$x MAKE=$(MAKE) ; \
4583 - -cd os2; rm -f Makefile
4584 - -cd pod; $(LDLIBPTH) $(MAKE) $(CLEAN)
4585 - -cd utils; $(LDLIBPTH) $(MAKE) $(CLEAN)
4586 - -cd x2p; $(LDLIBPTH) $(MAKE) $(CLEAN)
4587 - -@for x in $(DYNALOADER) $(dynamic_ext) $(static_ext) $(nonxs_ext) ; do \
4588 - $(LDLIBPTH) sh ext/util/make_ext $(CLEAN) $$x MAKE=$(MAKE) ; \
4590 - -@test ! -f ./miniperl$(EXE_EXT) || $(LDLIBPTH) ./miniperl$(EXE_EXT) -Ilib mkppport --clean
4592 -# Some systems do not support "?", so keep these files separate.
4594 - -rm -f core.*perl.*.? t/core.perl.*.? .?*.c
4595 - rm -f core *perl.core t/core t/*perl.core core.* t/core.*
4596 - rm -f t/misctmp* t/forktmp* t/tmp* t/c t/perl$(EXE_EXT) t/rantests
4597 - rm -f so_locations $(LIBPERL_NONSHR) $(MINIPERL_NONSHR)
4598 - rm -rf $(addedbyconf)
4599 - rm -f $(FIRSTMAKEFILE) $(FIRSTMAKEFILE).old makefile.old
4601 - rm -rf $(unidatafiles) $(unidatadirs)
4603 - rm -f lib/.exists lib/*/.exists lib/*/*/.exists
4604 - rm -f h2ph.man pstruct
4607 - rm -rf lib/Encode lib/Compress lib/Hash lib/re
4608 - rm -rf lib/IO/Compress lib/IO/Uncompress
4609 - rm -f lib/ExtUtils/ParseXS/t/XSTest.c
4610 - rm -f lib/ExtUtils/ParseXS/t/XSTest$(OBJ_EXT)
4611 - rm -f lib/ExtUtils/ParseXS/t/XSTest$(DLSUFFIX)
4612 - -rmdir lib/B lib/Data
4613 - -rmdir lib/Filter/Util lib/IO/Socket
4614 - -rmdir lib/List lib/MIME lib/Scalar lib/Sys
4615 - -rmdir lib/threads lib/XS
4618 - @$(LDLIBPTH) $(MAKE) _cleaner1 CLEAN=realclean
4619 - @$(LDLIBPTH) $(MAKE) _cleaner2
4622 - @$(LDLIBPTH) $(MAKE) _cleaner1 CLEAN=veryclean
4623 - @$(LDLIBPTH) $(MAKE) _cleaner2
4624 - -rm -f *~ *.orig */*~ */*.orig */*/*~ */*/*.orig
4629 - lint $(lintflags) -DPERL_CORE -D_REENTRANT -DDEBUGGING -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(c)
4633 - splint $(splintflags) -DPERL_CORE -D_REENTRANT -DDEBUGGING -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(splintfiles)
4635 -# Need to unset during recursion to go out of loop.
4636 -# The README below ensures that the dependency list is never empty and
4637 -# that when MAKEDEPEND is empty $(FIRSTMAKEFILE) doesn't need rebuilding.
4639 -MAKEDEPEND = Makefile makedepend
4641 -$(FIRSTMAKEFILE): README $(MAKEDEPEND)
4642 - $(MAKE) depend MAKEDEPEND=
4644 -config.h: config_h.SH config.sh
4645 - $(SHELL) config_h.SH
4646 - # TODO - improve following line
4647 - cp config.h $(CROSS_LIB)/
4649 -xconfig.h: config_h.SH Cross/config-$(CROSS_NAME).sh
4650 - CONFIG_SH=Cross/config-$(CROSS_NAME).sh CONFIG_H=xconfig.h $(SHELL) config_h.SH
4651 - #TODO $(LDLIBPTH) ./miniperl -Ilib -MCross=$(CROSS_NAME) config_h.PL "INST_VER=$(INST_VER)" "CORE_DIR=$(CROSS_LIB)" "CONFIG_H=xconfig.h"
4652 - cp xconfig.h $(CROSS_LIB)/
4653 - cp xconfig.h $(CROSS_LIB)/config.h
4655 -# When done, touch perlmain.c so that it doesn't get remade each time.
4658 - sh ./makedepend MAKE=$(MAKE)
4659 - - test -s perlmain.c && touch perlmain.c
4660 - cd x2p; $(MAKE) depend
4662 -# Cannot postpone this until $firstmakefile is ready ;-)
4663 -makedepend: makedepend.SH config.sh
4664 - sh ./makedepend.SH
4666 -.PHONY: test check test_prep test_prep_nodll test_prep_pre _test_prep \
4667 - test_tty test-tty _test_tty test_notty test-notty _test_notty \
4668 - utest ucheck test.utf8 check.utf8 test.torture torturetest \
4669 - test.utf16 check.utf16 utest.utf16 ucheck.utf16 \
4670 - test.third check.third utest.third ucheck.third test_notty.third \
4671 - test.deparse test_notty.deparse test_harness test_harness_notty \
4672 - minitest coretest test.taintwarn
4674 -# Cannot delegate rebuilding of t/perl to make
4675 -# to allow interlaced test and minitest
4679 -_test_prep: unpack_files
4680 - cd t && (rm -f $(PERL)$(EXE_EXT); $(LNS) ../$(PERL)$(EXE_EXT) $(PERL)$(EXE_EXT))
4682 -# Architecture-neutral stuff:
4684 -test_prep_pre: preplibrary utilities $(nonxs_ext)
4686 -test_prep: test_prep_pre miniperl$(EXE_EXT) $(unidatafiles) perl$(EXE_EXT) $(dynamic_ext) $(TEST_PERL_DLL)
4687 - PERL=./perl $(MAKE) _test_prep
4690 - cd t && $(PERL_DEBUG) $(LDLIBPTH) $(PERL) $(TESTFILE) $(TEST_ARGS) </dev/tty
4693 - cd t && $(PERL_DEBUG) PERL_SKIP_TTY_TEST=1 $(LDLIBPTH) $(PERL) $(TESTFILE) $(TEST_ARGS)
4696 - $(LDLIBPTH) ./miniperl$(EXE_EXT) -Ilib uupacktool.pl -u -m
4698 -cleanup_unpacked_files:
4699 - -@test ! -f ./miniperl$(EXE_EXT) || $(LDLIBPTH) ./miniperl$(EXE_EXT) -Ilib uupacktool.pl -c
4701 -# The second branch is for testing without a tty or controlling terminal,
4704 - if (true </dev/tty) >/dev/null 2>&1; then \
4705 - $(MAKE) TEST_ARGS=$(TEST_ARGS) TESTFILE=$(TESTFILE) _test_tty ; \
4707 - $(MAKE) TEST_ARGS=$(TEST_ARGS) TESTFILE=$(TESTFILE) _test_notty ; \
4709 - @echo "Ran tests" > t/rantests
4711 -test check: test_prep
4712 - PERL=./perl $(MAKE) _test
4714 -test_tty: test_prep
4715 - PERL=./perl $(MAKE) _test_tty
4717 -test_notty: test_prep
4718 - PERL=./perl $(MAKE) _test_notty
4720 -utest ucheck test.utf8 check.utf8: test_prep
4721 - PERL=./perl TEST_ARGS=-utf8 $(MAKE) _test
4723 -coretest: test_prep
4724 - PERL=./perl TEST_ARGS=-core $(MAKE) _test
4726 -test-prep: test_prep
4730 -test-notty: test_notty
4734 -test.torture torturetest: test_prep
4735 - PERL=./perl TEST_ARGS=-torture $(MAKE) _test
4737 -# Targets for UTF16 testing:
4739 -minitest.utf16: minitest.prep
4740 - - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl$(EXE_EXT) perl$(EXE_EXT)) \
4741 - && $(LDLIBPTH) ./perl TEST -minitest -utf16 base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t </dev/tty
4743 -test.utf16 check.utf16: test_prep
4744 - PERL=./perl $(MAKE) TEST_ARGS=-utf16 _test
4746 -utest.utf16 ucheck.utf16: test_prep
4747 - PERL=./perl $(MAKE) TEST_ARGS="-utf8 -utf16" _test
4749 -# Targets for valgrind testing:
4751 -test_prep.valgrind: test_prep perl.valgrind
4752 - PERL=./perl $(MAKE) _test_prep
4754 -test.valgrind check.valgrind: test_prep perl.valgrind.config
4755 - PERL=./perl PERL_DEBUG=PERL_VALGRIND=1 VALGRIND='$(VALGRIND)' $(MAKE) _test
4757 -utest.valgrind ucheck.valgrind: test_prep.valgrind perl.valgrind.config
4758 - PERL=./perl PERL_DEBUG=PERL_VALGRIND=1 TEST_ARGS=-utf8 $(MAKE) _test
4760 -test_notty.valgrind: test_prep.valgrind perl.valgrind.config
4761 - PERL=./perl $(MAKE) PERL_DEBUG=PERL_VALGRIND=1 _test_notty
4763 -# Targets for Third Degree testing.
4765 -test_prep.third: test_prep perl.third
4766 - PERL=./perl.third $(MAKE) _test_prep
4768 -test.third check.third: test_prep.third perl.third
4769 - PERL=./perl.third PERL_DEBUG=PERL_3LOG=1 $(MAKE) _test
4771 -utest.third ucheck.third: test_prep.third perl.third
4772 - PERL=./perl.third PERL_DEBUG=PERL_3LOG=1 TEST_ARGS=-utf8 $(MAKE) _test
4774 -test_notty.third: test_prep.third perl.third
4775 - PERL=./perl.third $(MAKE) PERL_DEBUG=PERL_3LOG=1 _test_notty
4777 -# Targets for Deparse testing.
4779 -test.deparse: test_prep
4780 - PERL=./perl TEST_ARGS=-deparse $(MAKE) _test
4782 -test_notty.deparse: test_prep
4783 - PERL=./perl TEST_ARGS=-deparse $(MAKE) _test_notty
4785 -# Targets to run the test suite with -t
4787 -test.taintwarn: test_prep
4788 - PERL=./perl TEST_ARGS=-taintwarn $(MAKE) _test
4791 - -@test -f lib/lib.pm && test -f lib/Config.pm || \
4792 - $(MAKE) lib/Config.pm lib/lib.pm $(unidatafiles)
4794 - @echo "You may see some irrelevant test failures if you have been unable"
4795 - @echo "to build lib/Config.pm, lib/lib.pm or the Unicode data files."
4798 -# Can't depend on lib/Config.pm because that might be where miniperl
4800 -minitest: miniperl$(EXE_EXT) lib/re.pm minitest.prep
4801 - - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl$(EXE_EXT) perl$(EXE_EXT)) \
4802 - && $(LDLIBPTH) ./perl TEST -minitest base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t </dev/tty
4806 -test_harness: test_prep
4807 - PERL=./perl $(MAKE) TESTFILE=harness _test
4809 -test_harness_notty: test_prep
4810 - PERL=./perl HARNESS_NOTTY=1 $(MAKE) TESTFILE=harness _test
4812 -# Handy way to run perlbug -ok without having to install and run the
4813 -# installed perlbug. We don't re-run the tests here - we trust the user.
4814 -# Please *don't* use this unless all tests pass.
4815 -# If you want to report test failures, use "make nok" instead.
4817 -.PHONY: ok okfile oknack okfilenack nok nokfile noknack nokfilenack
4820 - $(LDLIBPTH) ./perl -Ilib utils/perlbug -ok -s '(UNINSTALLED)'
4823 - $(LDLIBPTH) ./perl -Ilib utils/perlbug -ok -s '(UNINSTALLED)' -F perl.ok
4826 - $(LDLIBPTH) ./perl -Ilib utils/perlbug -ok -s '(UNINSTALLED)' -A
4828 -okfilenack: utilities
4829 - $(LDLIBPTH) ./perl -Ilib utils/perlbug -ok -s '(UNINSTALLED)' -F perl.ok -A
4832 - $(LDLIBPTH) ./perl -Ilib utils/perlbug -nok -s '(UNINSTALLED)'
4835 - $(LDLIBPTH) ./perl -Ilib utils/perlbug -nok -s '(UNINSTALLED)' -F perl.nok
4838 - $(LDLIBPTH) ./perl -Ilib utils/perlbug -nok -s '(UNINSTALLED)' -A
4840 -nokfilenack: utilities
4841 - $(LDLIBPTH) ./perl -Ilib utils/perlbug -nok -s '(UNINSTALLED)' -F perl.nok -A
4843 -.PHONY: clist hlist shlist pllist
4846 - echo $(c) | tr ' ' $(TRNL) >.clist
4849 - echo $(h) | tr ' ' $(TRNL) >.hlist
4852 - echo $(sh) | tr ' ' $(TRNL) >.shlist
4855 - echo $(pl) | tr ' ' $(TRNL) >.pllist
4857 -Makefile: Makefile.SH ./config.sh
4858 - $(SHELL) Makefile.SH
4862 - perl '-MExtUtils::Manifest=&fullcheck' -e 'fullcheck()'
4865 -elc: emacs/cperl-mode.elc
4867 -emacs/cperl-mode.elc: emacs/cperl-mode.el
4868 - -cd emacs; emacs -batch -q -no-site-file -f batch-byte-compile cperl-mode.el
4870 -.PHONY: etags ctags tags
4874 -TAGS: emacs/cperl-mode.elc
4877 -# Let's hope make will not go into an infinite loop on case-unsensitive systems
4878 -# This may also fail if . is in the head of the path, since perl will
4881 - perl emacs/e2ctags.pl TAGS > tags
4884 - ctags -f Tags -N --totals --languages=c --langmap=c:+.h --exclude=opmini.c *.c *.h
4886 -# AUTOMATICALLY GENERATED MAKE DEPENDENCIES--PUT NOTHING BELOW THIS LINE
4887 -# If this runs make out of memory, delete /usr/include lines.
4890 -$eunicefix $Makefile
4893 - $rm -f ../$Makefile
4894 - $ln $Makefile ../$Makefile
4897 -$rm -f $firstmakefile
4899 -# Now do any special processing required before building.
4904 - echo "This is an EBCDIC system, checking if any parser files need regenerating." >&2
4909 - rm -f y.tab.c y.tab.h
4912 - # we are using two different yaccs in BS2000 Posix!
4913 - byacc a2p.y >/dev/null 2>&1
4916 - yacc a2p.y >/dev/null 2>&1
4919 - if cmp -s y.tab.c a2p.c
4923 - echo "a2p.y -> a2p.c" >&2
4924 - mv -f y.tab.c a2p.c
4926 - sed -e 's/fprintf *( *stderr *,/PerlIO_printf(Perl_debug_log,/g' \
4927 - -e 's|^static void __YY_YACC_MAIN.*BS2000.*|/*static main deleted*/|' \
4928 - -e 's/y\.tab/a2p/g' a2p.c >a2p.tmp && mv a2p.tmp a2p.c
4931 - # In case somebody yacc -d:ed the a2p.y.
4932 - if test -f y.tab.h
4934 - if cmp -s y.tab.h a2p.h
4938 - echo "a2p.h -> a2p.h" >&2
4939 - mv -f y.tab.h a2p.h
4947 - # Do nothing in VM/ESA.
4950 - echo "'$osname' is an EBCDIC system I don't know that well." >&4
4954 - '') echo "No parser files were regenerated. That's okay." >&2 ;;
4959 -# ex: set ts=8 sts=4 sw=4 noet:
4960 diff -Naur perl-5.10.0.orig/Cross/Makefile.SH.patch perl-5.10.0/Cross/Makefile.SH.patch
4961 --- perl-5.10.0.orig/Cross/Makefile.SH.patch 2007-12-18 05:47:07.000000000 -0500
4962 +++ perl-5.10.0/Cross/Makefile.SH.patch 1969-12-31 19:00:00.000000000 -0500
4966 -@@ -129,18 +129,7 @@
4967 - # INSTALL file, under "Building a shared perl library".
4968 - # If there is no pre-existing $libperl, we don't need
4969 - # to do anything further.
4970 -- if test -f $archlib/CORE/$libperl; then
4972 -- cat <<'EOT' > preload
4976 --test -r $lib && export LD_PRELOAD="$lib $LD_PRELOAD"
4979 -- chmod 755 preload
4980 -- ldlibpth="$ldlibpth `pwd`/preload `pwd`/$libperl"
4982 -+ echo linux libraries overwritten by cross-compile patches
4984 - os390) test -f /bin/env && ldlibpth="/bin/env $ldlibpth"
4986 -@@ -389,9 +378,21 @@
4988 - $(CCCMDSRC) -S $*.c
4990 --all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT) extra.pods $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make
4992 -- @echo " Everything is up to date. Type '$(MAKE) test' to run test suite."
4993 -+#all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT) extra.pods $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make
4995 -+# @echo " Everything is up to date. Type '$(MAKE) test' to run test suite."
4997 -+all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT)
4998 -+ mv miniperl miniperl-arm
4999 -+ ln -s /usr/bin/perl miniperl
5001 -+more: extra.pods $(private) $(public)
5003 -+more2: $(dynamic_ext)
5005 -+more3: $(nonxs_ext)
5007 -+more4: extras.make
5009 - .PHONY: all compile translators utilities
5011 -@@ -401,10 +402,10 @@
5012 - cd x2p; $(MAKE) compile;
5013 - cd pod; $(MAKE) compile;
5015 --translators: miniperl$(EXE_EXT) $(CONFIGPM) FORCE
5016 -+translators: $(CONFIGPM) FORCE
5017 - @echo " "; echo " Making x2p stuff"; cd x2p; $(LDLIBPTH) $(MAKE) all
5019 --utilities: miniperl$(EXE_EXT) $(CONFIGPM) $(plextract) lib/lib.pm FORCE
5020 -+utilities: $(CONFIGPM) $(plextract) lib/lib.pm FORCE
5021 - @echo " "; echo " Making utilities"; cd utils; $(LDLIBPTH) $(MAKE) all
5024 -@@ -579,7 +580,7 @@
5025 - $(CC) -o miniperl $(CLDFLAGS) \
5026 - `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
5027 - miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perl$(OBJ_EXT) $(libs)
5028 -- $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
5029 -+# $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
5033 -@@ -587,7 +588,7 @@
5034 - miniperl: $& miniperlmain$(OBJ_EXT) $(LIBPERL) opmini$(OBJ_EXT)
5035 - $(CC) -o miniperl `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
5036 - miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perl$(OBJ_EXT) $(libs)
5037 -- $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
5038 -+# $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
5042 -@@ -754,7 +755,7 @@
5043 - # We need to autosplit in two steps because VOS can't handle so many args
5045 - .PHONY: preplibrary
5046 --preplibrary: miniperl$(EXE_EXT) $(CONFIGPM) lib/lib.pm $(PREPLIBRARY_LIBPERL)
5047 -+preplibrary: $(CONFIGPM) lib/lib.pm $(PREPLIBRARY_LIBPERL)
5048 - @sh ./makedir lib/auto
5049 - @echo " AutoSplitting perl library"
5050 - $(LDLIBPTH) ./miniperl -Ilib -e 'use AutoSplit; \
5051 -@@ -763,35 +764,35 @@
5052 - autosplit_lib_modules(@ARGV)' lib/*/*.pm
5055 --lib/Config.pod: config.sh miniperl$(EXE_EXT) configpm Porting/Glossary
5056 -+lib/Config.pod: config.sh configpm Porting/Glossary
5057 - $(LDLIBPTH) ./miniperl -Ilib configpm --heavy=lib/Config_heavy.pl lib/Config.pm
5059 - $(CONFIGPM): lib/Config.pod
5061 --lib/ExtUtils/Miniperl.pm: miniperlmain.c miniperl$(EXE_EXT) minimod.pl $(CONFIGPM)
5062 -+lib/ExtUtils/Miniperl.pm: miniperlmain.c minimod.pl $(CONFIGPM)
5063 - $(LDLIBPTH) ./miniperl minimod.pl > lib/ExtUtils/Miniperl.pm
5065 - lib/re.pm: ext/re/re.pm
5066 - cp ext/re/re.pm lib/re.pm
5068 --$(plextract): miniperl$(EXE_EXT) $(CONFIGPM) x2p/s2p
5069 -+$(plextract): $(CONFIGPM) x2p/s2p
5071 - $(LDLIBPTH) ./miniperl -I`pwd`/lib $@.PL
5073 --x2p/s2p: miniperl$(EXE_EXT) $(CONFIGPM) x2p/s2p.PL
5074 -+x2p/s2p: $(CONFIGPM) x2p/s2p.PL
5075 - cd x2p; $(LDLIBPTH) $(MAKE) s2p
5077 --lib/lib.pm: miniperl$(EXE_EXT) $(CONFIGPM)
5078 -+lib/lib.pm: $(CONFIGPM)
5080 - $(LDLIBPTH) ./miniperl -Ilib lib/lib_pm.PL
5082 - unidatafiles $(unidatafiles): uni.data
5084 --uni.data: miniperl$(EXE_EXT) $(CONFIGPM) lib/unicore/mktables
5085 -+uni.data: $(CONFIGPM) lib/unicore/mktables
5086 - cd lib/unicore && $(LDLIBPTH) ../../miniperl -I../../lib mktables -w
5089 --extra.pods: miniperl$(EXE_EXT)
5091 - -@test -f extra.pods && rm -f `cat extra.pods`
5092 - -@rm -f extra.pods
5093 - -@for x in `grep -l '^=[a-z]' README.* | grep -v README.vms` ; do \
5094 -@@ -837,18 +838,7 @@
5095 - INSTALL_DEPENDENCE = all
5097 - install.perl: $(INSTALL_DEPENDENCE) installperl
5098 -- if [ -n "$(COMPILE)" ]; \
5100 -- cd utils; $(MAKE) compile; \
5101 -- cd ../x2p; $(MAKE) compile; \
5102 -- cd ../pod; $(MAKE) compile; \
5105 -- $(LDLIBPTH) ./perl installperl --destdir=$(DESTDIR) $(INSTALLFLAGS) $(STRIPFLAGS)
5106 -- $(MAKE) extras.install
5108 --install.man: all installman
5109 -- $(LDLIBPTH) ./perl installman --destdir=$(DESTDIR) $(INSTALLFLAGS)
5110 -+ /usr/bin/perl -Ifake_config_library -MConfig installperl $(INSTALLFLAGS) $(STRIPFLAGS)
5112 - # XXX Experimental. Hardwired values, but useful for testing.
5113 - # Eventually Configure could ask for some of these values.
5114 -@@ -950,16 +940,16 @@
5116 - # DynaLoader may be needed for extensions that use Makefile.PL.
5118 --$(DYNALOADER): miniperl$(EXE_EXT) preplibrary FORCE
5119 -+$(DYNALOADER): preplibrary FORCE
5120 - @$(LDLIBPTH) sh ext/util/make_ext $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
5122 --d_dummy $(dynamic_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE
5123 -+d_dummy $(dynamic_ext): preplibrary $(DYNALOADER) FORCE
5124 - @$(LDLIBPTH) sh ext/util/make_ext dynamic $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
5126 --s_dummy $(static_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE
5127 -+s_dummy $(static_ext): preplibrary $(DYNALOADER) FORCE
5128 - @$(LDLIBPTH) sh ext/util/make_ext $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
5130 --n_dummy $(nonxs_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE
5131 -+n_dummy $(nonxs_ext): preplibrary $(DYNALOADER) FORCE
5132 - @$(LDLIBPTH) sh ext/util/make_ext nonxs $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
5134 - .PHONY: clean _tidy _mopup _cleaner1 _cleaner2 \
5135 -@@ -1101,7 +1091,7 @@
5137 - test_prep_pre: preplibrary utilities $(nonxs_ext)
5139 --test_prep: test_prep_pre miniperl$(EXE_EXT) $(unidatafiles) perl$(EXE_EXT) $(dynamic_ext) $(TEST_PERL_DLL)
5140 -+test_prep: test_prep_pre $(unidatafiles) perl$(EXE_EXT) $(dynamic_ext) $(TEST_PERL_DLL)
5141 - PERL=./perl $(MAKE) _test_prep
5144 -@@ -1214,7 +1204,7 @@
5146 - # Can't depend on lib/Config.pm because that might be where miniperl
5148 --minitest: miniperl$(EXE_EXT) lib/re.pm minitest.prep
5149 -+minitest: lib/re.pm minitest.prep
5150 - - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl$(EXE_EXT) perl$(EXE_EXT)) \
5151 - && $(LDLIBPTH) ./perl TEST -minitest base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t </dev/tty
5153 diff -Naur perl-5.10.0.orig/Cross/README perl-5.10.0/Cross/README
5154 --- perl-5.10.0.orig/Cross/README 2007-12-18 05:47:07.000000000 -0500
5155 +++ perl-5.10.0/Cross/README 1969-12-31 19:00:00.000000000 -0500
5157 -Building for arm-linux
5158 -----------------------
5160 -The files in this directory add another cross-compilation
5161 -target to the Perl buildsystem. It was built as a part of
5162 -the Open Zaurus (http://www.openzaurus.com/) distribution.
5163 -Most / All of the arm compiler optimisations are "borrowed"
5164 -from this excellent project.
5166 -(Further discussion about cross-compiling Perl in the top level
5167 -INSTALL file, see the section "Cross-compilation".)
5169 -The main target is arm-linux but I have also managed to
5170 -successfully cross-compile Perl for Solaris x86 using the same
5173 -We are currently dependent on an existing working local copy of
5174 -Perl ** of the same version and revision ** which is available
5177 -You need a working and tested cross-compiler for your build
5178 -and target combination. The binary directory must be in
5181 -1) You should be reading me (README) in perl-5.x.y/Cross
5183 -2) Make sure you are in the Cross directory.
5185 -3) Edit the file 'config' to contain your target platform information.
5187 -4) make patch ## This will patch the existing source-tree.
5188 -5) make perl ## Will make perl
5190 -Your built Perl environment is in install_me_here/ in your build
5191 -directory. From here you can package and deploy as you wish.
5196 -This does NOT perform any installation.
5198 -Make test will NOT work.
5200 -We do not provide documentation in the core, man pages are not generated.
5202 -Other Targets (For Developers)
5203 -------------------------------
5205 -It is possible to extend the cross-compilation to other targets.
5206 -We have sucessfully compiled for the target solaris2.8/x86
5207 -on linux/x86 build system.
5209 -To attempt a cross-compile for another target using the methods
5212 -1) Copy the Perl source code onto your TARGET machine.
5213 -2) Execute sh Configure as normal and configure as required,
5215 -3) Copy the config.sh file that is generated to your BUILD
5216 - machine and place it in the Cross directory with the
5217 - filename config.sh-ARCH-OS. For example,
5218 - config.sh-i386-pc-solaris2.8. For the appropriate ARCH
5219 - and OS please refer to your cross-compiler documentation.
5220 -4) Edit Cross/config to reflect your new target and continue
5221 - with build as above.
5223 -Should you wish to produce optimised binaries for different
5224 -architectures you can add the appropriate compiler flags to
5225 -the Makefile in a new ifeq ($(ARCH),...) ... endif block.
5228 -Please refer to your cross-compiler documentation for details.
5231 - Note that the Cross/ directory is also used by a different
5232 - cross-compilation setup described in the INSTALL file, and
5233 - executed by Configure. There should be no conflicts since
5234 - it is unlikely both that cross-compilation setups are used
5241 -Redvers Davies <red@criticalintegration.com>
5242 -Open Zaurus http://www.openzaurus.org/
5243 -Perl OZ Packages http://www.criticalintegration.com/perl-oz/
5244 diff -Naur perl-5.10.0.orig/Cross/README.new perl-5.10.0/Cross/README.new
5245 --- perl-5.10.0.orig/Cross/README.new 2007-12-18 05:47:07.000000000 -0500
5246 +++ perl-5.10.0/Cross/README.new 1969-12-31 19:00:00.000000000 -0500
5248 -You're reading ./Cross/README.new, describing Perl cross-compilation process.
5249 -NOTE: this file will replace ./Cross/README, after the cross-compilation scheme
5254 -README.new - Cross-compilation for linux
5258 -This is second approach to linux cross-compilation, which should allow
5259 -building full perl and entensions for target platform. Cross-compilation
5260 -for linux uses similar approach and shares the same files as
5261 -cross-compilation for WinCE.
5263 -We refer to HOST as the platform where the build is performed, and to
5264 -TARGET as where final executables will run.
5270 -Unlike WinCE, output files from GCC cross-compiler are produced in the same
5271 -directory where C files are. All TARGET binaries have different extensions
5272 -so to distinguish HOST and TARGET binaries. Namely, object files for C<arm>
5273 -cross-compilation will have extension C<.armo>, executable files will have
5276 -After typical cross-compilation the following files will be built, among
5284 -(this approach may be reconsidered, however.)
5286 -=head3 build process
5288 -C<miniperl> is built. This executable is intended to run on HOST, and it
5289 -will facilitate the remaining build process; all binaries built after it are
5290 -foreign (TARGET) and should not run locally (HOST).
5292 -Unlike HOST build, miniperl will not have C<Config.pm> of HOST within reach;
5293 -it rather will use the C<Config.pm> from the cross-compilation directories.
5294 -In fact, if the build process does have Config.pm within reach, this is only
5295 -an indication of a mistake somewhere in the middle.
5297 - # following command is okay:
5298 - ./miniperl -Ilib -MCross -MConfig -e 1
5299 - # following command should cluck, and it is bad if it does not:
5300 - ./miniperl -Ilib -MConfig -e 1
5302 -After C<miniperl> is built, C<configpm> is invoked to create an
5303 -appropriate C<Config.pm> in the right place and its corresponding
5306 -File C<Cross.pm> is dead simple: for given cross-architecture places in @INC
5307 -a path where perl modules are, and right C<Config.pm> in that place.
5309 -That said, C<miniperl -Ilib -MConfig -we 1> should report an error, because
5310 -it cannot find C<Config.pm>. If it does not give an error, a wrong C<Config.pm>
5311 -is substituted, and resulting binaries will be a mess.
5313 -C<miniperl -MCross -MConfig -we 1> should run okay, and it will provide a
5314 -correct C<Config.pm> for further compilations.
5316 -During extensions build phase, the script C<./ext/util/make_ext_cross> is
5319 -All invocations of C<Makefile.PL> are provided with C<-MCross> so to enable
5326 -To compile, you need the following:
5334 -=head1 Things to be done
5338 -=item * better distinguishing of config.h/xconfig.h, dependencies
5340 -=item * object files created in ./xlib/cross-name/ ?
5343 diff -Naur perl-5.10.0.orig/Cross/TODO perl-5.10.0/Cross/TODO
5344 --- perl-5.10.0.orig/Cross/TODO 2007-12-18 05:47:07.000000000 -0500
5345 +++ perl-5.10.0/Cross/TODO 1969-12-31 19:00:00.000000000 -0500
5347 -Provide a better sandbox for building additional XS libraries.
5348 diff -Naur perl-5.10.0.orig/Cross/warp perl-5.10.0/Cross/warp
5349 --- perl-5.10.0.orig/Cross/warp 2007-12-18 05:47:07.000000000 -0500
5350 +++ perl-5.10.0/Cross/warp 1969-12-31 19:00:00.000000000 -0500
5354 -## This script contains an rm -rf. This may alarm you.
5355 -## These directories need to be reccursively deleted.
5356 -## I don't see any method of making "Bad Things"[tm]
5357 -## Happen. But we don't run buildroot as root do we? :-)
5359 -for f in `find lib -name install_me_here`;do
5360 -cp -r $f/* ./install_me_here/
5363 -for f in `find lib -name install_me_here`;do
5366 diff -Naur perl-5.10.0.orig/ext/util/make_ext perl-5.10.0/ext/util/make_ext
5367 --- perl-5.10.0.orig/ext/util/make_ext 2007-12-18 05:47:07.000000000 -0500
5368 +++ perl-5.10.0/ext/util/make_ext 2009-04-05 13:27:24.458708635 -0400
5372 if test ! -f $makefile ; then
5373 - test -f Makefile.PL && $run ../$depth/miniperl -I../$depth/lib Makefile.PL INSTALLDIRS=perl INSTALLMAN3DIR=none PERL_CORE=1 $passthru
5374 + test -f Makefile.PL && $run ../$depth/miniperl-cross -I../$depth/lib Makefile.PL INSTALLDIRS=perl INSTALLMAN3DIR=none PERL_CORE=1 $passthru
5376 if test ! -f $makefile ; then
5377 echo "Warning: No Makefile!"
5378 diff -Naur perl-5.10.0.orig/lib/unicore/Makefile perl-5.10.0/lib/unicore/Makefile
5379 --- perl-5.10.0.orig/lib/unicore/Makefile 2007-12-18 05:47:07.000000000 -0500
5380 +++ perl-5.10.0/lib/unicore/Makefile 2009-04-05 13:27:24.468708588 -0400
5383 - ../../miniperl -I../../lib ./mktables
5384 + ../../miniperl-cross -I../../lib ./mktables
5386 TestProp.pl: mktables UnicodeData.txt Scripts.txt Blocks.txt PropList.txt
5387 - ../../miniperl -I../../lib ./mktables -maketest
5388 + ../../miniperl-cross -I../../lib ./mktables -maketest
5391 - ../../miniperl -I../../lib TestProp.pl
5392 + ../../miniperl-cross -I../../lib TestProp.pl
5396 diff -Naur perl-5.10.0.orig/Makefile.SH perl-5.10.0/Makefile.SH
5397 --- perl-5.10.0.orig/Makefile.SH 2007-12-18 05:47:07.000000000 -0500
5398 +++ perl-5.10.0/Makefile.SH 2009-04-05 13:27:24.484541195 -0400
5400 $(CC) -o miniperl $(CLDFLAGS) \
5401 `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
5402 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) $(libs)
5403 - $(LDLIBPTH) $(RUN) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
5404 + $(LDLIBPTH) $(RUN) ./miniperl-cross -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
5409 miniperl: $& miniperlmain$(OBJ_EXT) $(obj) opmini$(OBJ_EXT)
5410 $(CC) -o miniperl `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
5411 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) $(libs)
5412 - $(LDLIBPTH) $(RUN) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
5413 + $(LDLIBPTH) $(RUN) ./miniperl-cross -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
5418 $(CC) $(CLDFLAGS) $(NAMESPACEFLAGS) -o miniperl \
5419 `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
5420 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) $(libs)
5421 - $(LDLIBPTH) $(RUN) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
5422 + $(LDLIBPTH) $(RUN) ./miniperl-cross -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
5427 $(LDLIBPTH) $(CC) $(CLDFLAGS) -o miniperl \
5428 `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
5429 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) $(libs)
5430 - $(LDLIBPTH) $(RUN) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
5431 + $(LDLIBPTH) $(RUN) ./miniperl-cross -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
5437 makeppport: miniperl\$(EXE_EXT) \$(CONFIGPM)
5438 -@for f in Makefile.PL PPPort_pm.PL PPPort_xs.PL ppport_h.PL; do \
5439 - (cd ext/Devel/PPPort && `pwd`/run.sh ../../../miniperl -I../../../lib \$\$f); \
5440 + (cd ext/Devel/PPPort && `pwd`/run.sh ../../../miniperl-cross -I../../../lib \$\$f); \
5445 $spitshell >>Makefile <<'!NO!SUBS!'
5447 makeppport: miniperl$(EXE_EXT) $(CONFIGPM)
5448 - $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -Ilib mkppport
5449 + $(LDLIBPTH) $(RUN) ./miniperl-cross$(EXE_EXT) -Ilib mkppport
5453 @@ -837,19 +837,19 @@
5454 preplibrary: miniperl$(EXE_EXT) $(CONFIGPM) lib/lib.pm $(PREPLIBRARY_LIBPERL)
5455 @sh ./makedir lib/auto
5456 @echo " AutoSplitting perl library"
5457 - $(LDLIBPTH) $(RUN) ./miniperl -Ilib -e 'use AutoSplit; \
5458 + $(LDLIBPTH) $(RUN) ./miniperl-cross -Ilib -e 'use AutoSplit; \
5459 autosplit_lib_modules(@ARGV)' lib/*.pm
5460 - $(LDLIBPTH) $(RUN) ./miniperl -Ilib -e 'use AutoSplit; \
5461 + $(LDLIBPTH) $(RUN) ./miniperl-cross -Ilib -e 'use AutoSplit; \
5462 autosplit_lib_modules(@ARGV)' lib/*/*.pm
5465 lib/Config.pod: config.sh miniperl$(EXE_EXT) configpm Porting/Glossary
5466 - $(LDLIBPTH) $(RUN) ./miniperl -Ilib configpm
5467 + $(LDLIBPTH) $(RUN) ./miniperl-cross -Ilib configpm
5469 $(CONFIGPM): lib/Config.pod
5471 lib/ExtUtils/Miniperl.pm: miniperlmain.c miniperl$(EXE_EXT) minimod.pl $(CONFIGPM)
5472 - $(LDLIBPTH) $(RUN) ./miniperl minimod.pl > lib/ExtUtils/Miniperl.pm
5473 + $(LDLIBPTH) $(RUN) ./miniperl-cross minimod.pl > lib/ExtUtils/Miniperl.pm
5475 lib/re.pm: ext/re/re.pm
5477 @@ -857,19 +857,19 @@
5479 $(plextract): miniperl$(EXE_EXT) $(CONFIGPM) x2p/s2p
5481 - $(LDLIBPTH) $(RUN) ./miniperl -I`pwd`/lib $@.PL
5482 + $(LDLIBPTH) $(RUN) ./miniperl-cross -I`pwd`/lib $@.PL
5484 x2p/s2p: miniperl$(EXE_EXT) $(CONFIGPM) x2p/s2p.PL
5485 cd x2p; $(LDLIBPTH) $(MAKE) s2p
5487 lib/lib.pm: miniperl$(EXE_EXT) $(CONFIGPM)
5489 - $(LDLIBPTH) $(RUN) ./miniperl -Ilib lib/lib_pm.PL
5490 + $(LDLIBPTH) $(RUN) ./miniperl-cross -Ilib lib/lib_pm.PL
5492 unidatafiles $(unidatafiles): uni.data
5494 uni.data: miniperl$(EXE_EXT) $(CONFIGPM) lib/unicore/mktables
5495 - cd lib/unicore && $(LDLIBPTH) $(RUN) ../../miniperl -I../../lib mktables -w
5496 + cd lib/unicore && $(LDLIBPTH) $(RUN) ../../miniperl-cross -I../../lib mktables -w
5499 extra.pods: miniperl$(EXE_EXT)
5501 no-install install.perl install.man install.html
5503 META.yml: Porting/makemeta Porting/Maintainers.pl Porting/Maintainers.pm
5504 - $(LDLIBPTH) $(RUN) ./miniperl -Ilib Porting/makemeta
5505 + $(LDLIBPTH) $(RUN) ./miniperl-cross -Ilib Porting/makemeta
5508 $(MAKE) STRIPFLAGS=-s install DESTDIR="$(DESTDIR)"
5509 @@ -1101,7 +1101,7 @@
5510 -@for x in $(DYNALOADER) $(dynamic_ext) $(static_ext) $(nonxs_ext) ; do \
5511 $(LDLIBPTH) sh ext/util/make_ext $(CLEAN) $$x MAKE=$(MAKE) ; \
5513 - -@test ! -f $(RUN) ./miniperl$(EXE_EXT) || $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -Ilib mkppport --clean
5514 + -@test ! -f $(RUN) ./miniperl-cross$(EXE_EXT) || $(LDLIBPTH) $(RUN) ./miniperl-cross$(EXE_EXT) -Ilib mkppport --clean
5516 # Some systems do not support "?", so keep these files separate.
5518 @@ -1204,10 +1204,10 @@
5519 cd t && $(PERL_DEBUG) PERL_SKIP_TTY_TEST=1 $(LDLIBPTH) $(PERL) $(TESTFILE) $(TEST_ARGS) $(TEST_FILES)
5522 - $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -Ilib uupacktool.pl -u -m
5523 + $(LDLIBPTH) $(RUN) ./miniperl-cross$(EXE_EXT) -Ilib uupacktool.pl -u -m
5525 cleanup_unpacked_files:
5526 - -@test ! -f $(RUN) ./miniperl$(EXE_EXT) || $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -Ilib uupacktool.pl -c
5527 + -@test ! -f $(RUN) ./miniperl-cross$(EXE_EXT) || $(LDLIBPTH) $(RUN) ./miniperl-cross$(EXE_EXT) -Ilib uupacktool.pl -c
5529 # The second branch is for testing without a tty or controlling terminal,
5531 @@ -1248,7 +1248,7 @@
5532 # Targets for UTF16 testing:
5534 minitest.utf16: minitest.prep
5535 - - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl$(EXE_EXT) perl$(EXE_EXT)) \
5536 + - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl-cross$(EXE_EXT) perl$(EXE_EXT)) \
5537 && $(LDLIBPTH) $(RUN) ./perl TEST -minitest -utf16 base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t mro/*.t </dev/tty
5539 test.utf16 check.utf16: test_prep
5540 @@ -1309,7 +1309,7 @@
5541 # Can't depend on lib/Config.pm because that might be where miniperl
5543 minitest: miniperl$(EXE_EXT) lib/re.pm minitest.prep
5544 - - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl$(EXE_EXT) perl$(EXE_EXT)) \
5545 + - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl-cross$(EXE_EXT) perl$(EXE_EXT)) \
5546 && $(LDLIBPTH) $(RUN) ./perl TEST -minitest base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t mro/*.t </dev/tty
5549 diff -Naur perl-5.10.0.orig/MANIFEST perl-5.10.0/MANIFEST
5550 --- perl-5.10.0.orig/MANIFEST 2007-12-18 05:47:07.000000000 -0500
5551 +++ perl-5.10.0/MANIFEST 2009-04-05 13:38:50.514474440 -0400
5553 configure.gnu Crude emulation of GNU configure
5554 cop.h Control operator header
5555 Copying The GNU General Public License
5556 -Cross/build-arm-n770-sh Cross-compilation
5557 -Cross/cflags-cross-arm Cross-compilation
5558 -Cross/config Cross-compilation
5559 +Cross/cleanconfig.sh Cross-compilation
5560 Cross/config.sh-arm-linux Cross-compilation
5561 -Cross/config.sh-arm-linux-n770 Cross-compilation
5562 -Cross/generate_config_sh Cross-compilation
5563 -Cross/installperl.patch Cross-compilation
5564 +Cross/config.sh-x86-linux Cross-compilation
5565 Cross/Makefile Cross-compilation
5566 -Cross/Makefile-cross-SH Cross-compilation
5567 -Cross/Makefile.SH.patch Cross-compilation
5568 -Cross/README Cross-compilation
5569 -Cross/README.new Cross-compilation
5570 -Cross/TODO Cross-compilation
5571 -Cross/warp Cross-compilation
5572 cv.h Code value header
5573 cygwin/cygwin.c Additional code for Cygwin port
5574 cygwin/Makefile.SHs Shared library generation for Cygwin port
5575 diff -Naur perl-5.10.0.orig/pod/Makefile.SH perl-5.10.0/pod/Makefile.SH
5576 --- perl-5.10.0.orig/pod/Makefile.SH 2007-12-18 05:47:08.000000000 -0500
5577 +++ perl-5.10.0/pod/Makefile.SH 2009-04-05 13:27:24.514542587 -0400
5579 --podroot=.. --podpath=pod:lib:ext:vms \
5580 --libpods=perlfunc:perlguts:perlvar:perlrun:perlop
5583 +PERL = ../miniperl-cross
5584 PERLILIB = $(PERL) -I../lib
5587 diff -Naur perl-5.10.0.orig/utils/Makefile perl-5.10.0/utils/Makefile
5588 --- perl-5.10.0.orig/utils/Makefile 2007-12-18 05:47:08.000000000 -0500
5589 +++ perl-5.10.0/utils/Makefile 2009-04-05 13:27:24.522041845 -0400
5593 +PERL = ../miniperl-cross
5595 RUN = # Used mainly cross-compilation setups.
5597 diff -Naur perl-5.10.0.orig/x2p/Makefile.SH perl-5.10.0/x2p/Makefile.SH
5598 --- perl-5.10.0.orig/x2p/Makefile.SH 2007-12-18 05:47:08.000000000 -0500
5599 +++ perl-5.10.0/x2p/Makefile.SH 2009-04-05 13:27:24.552041881 -0400
5601 # These should be automatically generated
5604 - $(RUN) ../miniperl -I../lib $@.PL
5605 + $(RUN) ../miniperl-cross -I../lib $@.PL
5607 find2perl: find2perl.PL