source: patches/2.0/perl-5.8.8-cross_compile-1.patch @ 9d5bb4a

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 9d5bb4a was 9d5bb4a, checked in by Jim Gifford <clfs@…>, 18 years ago

r3943@server (orig r1772): jciccone | 2006-06-16 15:32:03 -0700
Added information about cross-compiling perl.

  • Property mode set to 100644
File size: 69.8 KB
  • Cross/Makefile

    Submitted By: Joe Ciccone <jciccone@linuxfromscratch.org>
    Date: 2006-06-16
    Upstream Status: Not Submitted
    Origin: Joe Ciccone
    Description: Adds a Makefile to assit with the cross-compilation of perl.
    
                 Archs supported: arm
    
                 Usage:
                   cd Cross
                   make ARCH=[arch] CROSS_COMPILE=[cross-tools-prefix]
                   make DESTDIR=[optional:fakeroot] install
    
    diff -Naur perl-5.8.8.orig/Cross/Makefile perl-5.8.8/Cross/Makefile
    old new  
    1 ## Toplevel Makefile for cross-compilation of perl
    2 #
    3 ## $Id: Makefile,v 1.7 2004/01/12 15:41:02 red Exp red $
    4 
    5 export TOPDIR=${shell pwd}
    6 include $(TOPDIR)/config
    7 export CFLAGS
    8 export SYS=$(ARCH)-$(OS)
    9 export CROSS=$(ARCH)-$(OS)-
    10 export FULL_OPTIMIZATION = -fexpensive-optimizations -fomit-frame-pointer -O2
    11 export OPTIMIZATION = -O2
    12 
    13 export CC = $(CROSS)gcc
    14 export CXX = $(CROSS)g++
    15 export LD = $(CROSS)ld
    16 export STRIP = $(CROSS)strip
    17 export AR = $(CROSS)ar
    18 export RANLIB = $(CROSS)ranlib
    19 
    20 
    21 ## Optimisation work
    22 ifeq ($(ARCH),arm)
    23  ifdef CONFIG_TARGET_ARM_SA11X0
    24    ifndef Architecture
    25      Architecture = armv4l-strongarm
    26    endif
    27    FULL_OPTIMIZATION += -march=armv4 -mtune=strongarm1100 -mapcs-32
    28    OPTIMIZATION += -march=armv4 -mtune=strongarm1100 -mapcs-32
    29  endif
    30 endif
     1PWD     := $(shell pwd)
     2TOP     := $(shell dirname $(PWD))
    313
    32 CFLAGS+=$(FULL_OPTIMIZATION)
     4VERSION := $(shell awk '/define[ ]PERL_REVISION/ {printf $$3"."} /define[ ]PERL_VERSION/ {printf $$3"."} /define[ ]PERL_SUBVERSION/ {print $$3}' $(TOP)/patchlevel.h)
    335
    34 all:
    35         @echo Please read the README file before doing anything else.
     6CROSS_COMPILE := arm-unknown-linux-gnu-
     7
     8ARCH    := arm
     9OS      := linux
     10
     11SYS     := $(ARCH)-$(OS)
    3612
    37 gen_patch:
    38         diff -Bbur ../Makefile.SH Makefile.SH > Makefile.SH.patch
    39         diff -Bbur ../installperl installperl > installperl.patch
    40 
    41 patch:
    42         cd .. ; if [ ! -e ./CROSS_PATCHED ] ; then \
    43                 patch -p1 < Cross/Makefile.SH.patch; \
    44                 patch -p1 < Cross/installperl.patch ; mv installperl installperl-patched; \
    45                 sed -e 's/XXSTRIPXX/$(SYS)/' installperl-patched > installperl; \
    46                 touch CROSS_PATCHED ; fi
    47 
    48 dry_patch:
    49         cd .. ; patch --dry-run -p1 < Cross/Makefile.SH.patch; \
    50                 patch --dry-run -p1 < Cross/installperl.patch; \
    51 
    52 perl:
    53         @echo Perl cross-build directory is $(TOPDIR)
    54         @echo Target arch is $(SYS)
    55         @echo toolchain: $(CC), $(CXX), $(LD), $(STRIP), $(AR), $(RANLIB)
    56         @echo Optimizations: $(FULL_OPTIMIZATION)
    57 
    58         $(TOPDIR)/generate_config_sh config.sh-$(SYS) > $(TOPDIR)/../config.sh
    59         cd $(TOPDIR)/.. ; ./Configure -S ; make depend ; make ; make more
    60         cd $(TOPDIR)/.. ; mkdir -p fake_config_library ; cp lib/Config.pm fake_config_library
    61         cd $(TOPDIR)/.. ; $(MAKE) more2 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig"
    62         cd $(TOPDIR)/.. ; $(MAKE) more3 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig"
    63         cd $(TOPDIR)/.. ; $(MAKE) more4 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig"
    64         cd $(TOPDIR)/.. ; rm -rf install_me_here
    65         cd $(TOPDIR)/.. ; make install-strip
    66         cd $(TOPDIR)/.. ; sh -x Cross/warp
     13AR      := $(CROSS_COMPILE)ar
     14CC      := $(CROSS_COMPILE)gcc
     15CXX     := $(CROSS_COMPILE)g++
     16CPP     := $(CROSS_COMPILE)cpp
     17LD      := $(CROSS_COMPILE)ld
     18RANLIB  := $(CROSS_COMPILE)ranlib
     19STRIP   := $(CROSS_COMPILE)strip
    6720
     21.PHONY: all install create-config.sh
     22
     23all:
     24        cd $(TOP); CC=gcc ./configure.gnu
    6825
     26        # Make miniperl
     27        $(MAKE) -C $(TOP) miniperl
     28        mv -v $(TOP)/miniperl $(TOP)/miniperl-cross
     29        $(MAKE) -C $(TOP) clean
     30
     31        # Do the final build
     32        $(MAKE) create-config.sh
     33        cd $(TOP); ./Configure -S
     34        $(MAKE) -C $(TOP)
     35
     36install:
     37        $(MAKE) -C $(TOP) install
     38
     39create-config.sh:
     40        sed -e "s@\(^archname=\).*@\1'$(SYS)'@g" \
     41            -e "s@\(^myarchname=\).*@\1'$(SYS)'@g" \
     42            -e "s@\(^ar=\).*@\1'$(AR)'@g" \
     43            -e "s@\(^cc=\).*@\1'$(CC)'@g" \
     44            -e "s@\(^ccname=\).*@\1'$(CC)'@g" \
     45            -e "s@\(^cpp=\).*@\1'$(CPP)'@g" \
     46            -e "s@\(^cpprun=\).*@\1'$(CC) -E'@g" \
     47            -e "s@\(^cppstdin=\).*@\1'$(CC) -E'@g" \
     48            -e "s@\(^ld=\).*@\1'$(LD)'@g" \
     49            -e "s@\(^ranlib=\).*@\1'$(RANLIB)'@g" \
     50            -e "s@\(^full_ar=\).*@\1'$(shell which $(AR))'@g" \
     51            -e "s@\(^full_sed=\).*@\1'$(shell which sed)'@g" \
     52            -e "/^ccflags=/s@-I/usr/local/include@@g" \
     53            -e "/^cppflags=/s@-I/usr/local/include@@g" \
     54            -e "/^ldflags=/s@-L/usr/local/lib@@g" \
     55            -e "/^lddlflags=/s@-L/usr/local/lib@@g" \
     56            -e "/^archlib=/s@$(VERSION).*@$(VERSION)/$(SYS)'@" \
     57            -e "/^archlibexp=/s@$(VERSION).*@$(VERSION)/$(SYS)'@" \
     58            -e "/^installarchlib=/s@$(VERSION).*@$(VERSION)/$(SYS)'@" \
     59            -e "/^installsitearch=/s@$(VERSION).*@$(VERSION)/$(SYS)'@" \
     60            -e "/^sitearch/s@$(VERSION).*@$(VERSION)/$(SYS)'@" \
     61            -e "/^sitearchexp/s@$(VERSION).*@$(VERSION)/$(SYS)'@" \
     62            $(PWD)/config.sh-$(SYS) > $(TOP)/config.sh
  • Cross/Makefile.SH.patch

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

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

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

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

    diff -Naur perl-5.8.8.orig/Cross/config.sh-arm-linux perl-5.8.8/Cross/config.sh-arm-linux
    old new  
    88
    99# Package name      : perl5
    1010# Source directory  : .
    11 # Configuration time: Wed Sep  3 22:24:58 EDT 2003
    12 # Configured by     : red
    13 # Target system     : linux openzaurus.criticalintegration.com 2.4.6-rmk1-np2-embedix #15 Wed Aug 6 07:49:44 UTC 2003 armv4l unknown
     11# Configuration time: Tue Jun 13 01:46:16 UTC 2006
     12# Configured by     : root
     13# Target system     : linux spitz 2.6.16 #1 preempt mon may 1 06:14:52 cest 2006 armv5tel gnulinux
    1414
    1515Author=''
    1616Date='$Date'
     
    3636api_version='8'
    3737api_versionstring='5.8.0'
    3838ar='ar'
    39 archlib='/usr/lib/perl5/5.8.8/armv4l-linux'
    40 archlibexp='/usr/lib/perl5/5.8.8/armv4l-linux'
     39archlib='/usr/lib/perl5/5.8.8/armv5tel-linux'
     40archlibexp='/usr/lib/perl5/5.8.8/armv5tel-linux'
    4141archname64=''
    42 archname='armv4l-linux'
     42archname='armv5tel-linux'
    4343archobjs=''
    4444asctime_r_proto='0'
    4545awk='awk'
     
    5555cat='cat'
    5656cc='cc'
    5757cccdlflags='-fpic'
    58 ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.8/armv4l-linux/CORE'
    59 ccflags='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
     58ccdlflags='-Wl,-E'
     59ccflags='-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
    6060ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
    6161ccname='gcc'
    62 ccsymbols='__APCS_32__=1 __ARM_ARCH_3__=1 __CHAR_UNSIGNED__=1 __GNUC_MINOR__=95 __arm__=1 __linux=1 __linux__=1 __unix=1 __unix__=1 cpu=arm machine=arm system=posix system=unix'
     62ccsymbols=''
    6363ccversion=''
    64 cf_by='red'
    65 cf_email='red@criticalintegration.com'
    66 cf_time='Wed Sep  3 22:24:58 EDT 2003'
     64cf_by='root'
     65f_email='root@spitz.ciccone'
     66cf_time='Tue Jun 13 01:46:16 UTC 2006'
    6767charsize='1'
    6868chgrp=''
    6969chmod='chmod'
     
    7676cpio=''
    7777cpp='cpp'
    7878cpp_stuff='42'
    79 cppccsymbols='__ELF__=1 __GNUC__=2 linux=1 unix=1'
    80 cppflags='-fno-strict-aliasing -I/usr/local/include'
     79cppccsymbols=''
     80cppflags='-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include'
    8181cpplast='-'
    8282cppminus='-'
    8383cpprun='cc -E'
    8484cppstdin='cc -E'
    85 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'
     85cppsymbols='__ELF__=1 _FILE_OFFSET_BITS=64 __GLIBC__=2 __GLIBC_MINOR__=4 __GNUC__=4 __GNUC_MINOR__=1 __GNU_LIBRARY__=6 _LARGEFILE_SOURCE=1 _POSIX_C_SOURCE=200112L _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 __linux__=1 unix=1 __unix=1 __unix__=1'
    8686crypt_r_proto='0'
    8787cryptlib=''
    8888csh='csh'
     
    111111d_asctime_r='undef'
    112112d_atolf='undef'
    113113d_atoll='define'
    114 d_attribute_format='undef'
    115 d_attribute_malloc='undef'
    116 d_attribute_nonnull='undef'
    117 d_attribute_noreturn='undef'
    118 d_attribute_pure='undef'
    119 d_attribute_unused='undef'
    120 d_attribute_warn_unused_result='undef'
     114d_attribute_format='define'
     115d_attribute_malloc='define'
     116d_attribute_nonnull='define'
     117d_attribute_noreturn='define'
     118d_attribute_pure='define'
     119d_attribute_unused='define'
     120d_attribute_warn_unused_result='define'
    121121d_bcmp='define'
    122122d_bcopy='define'
    123123d_bsd='undef'
     
    126126d_bzero='define'
    127127d_casti32='define'
    128128d_castneg='define'
    129 d_charvspr='undef'
     129d_charvspr='define'
    130130d_chown='define'
    131131d_chroot='define'
    132132d_chsize='undef'
     
    138138d_copysignl='define'
    139139d_crypt='define'
    140140d_crypt_r='undef'
    141 d_csh='define'
     141d_csh='undef'
    142142d_ctermid_r='undef'
    143143d_ctime_r='undef'
    144144d_cuserid='define'
     
    154154d_drand48_r='undef'
    155155d_drand48proto='define'
    156156d_dup2='define'
    157 d_eaccess='undef'
     157d_eaccess='define'
    158158d_endgrent='define'
    159159d_endgrent_r='undef'
    160160d_endhent='define'
     
    169169d_endservent_r='undef'
    170170d_eofnblk='define'
    171171d_eunice='undef'
    172 d_faststdio='define'
     172d_faststdio='undef'
    173173d_fchdir='define'
    174174d_fchmod='define'
    175175d_fchown='define'
     
    274274d_killpg='define'
    275275d_lchown='define'
    276276d_ldbl_dig='define'
     277d_libm_lib_version='define'
    277278d_link='define'
    278279d_localtime_r='undef'
    279280d_locconv='define'
     
    321322d_nice='define'
    322323d_nl_langinfo='define'
    323324d_nv_preserves_uv='define'
    324 d_nv_zero_is_allbits_zero='undef'
     325d_nv_zero_is_allbits_zero='define'
    325326d_off64_t='undef'
    326327d_old_pthread_create_joinable='undef'
    327328d_oldpthreads='undef'
     
    334335d_pipe='define'
    335336d_poll='define'
    336337d_portable='define'
    337 d_procselfexe='define'
     338d_procselfexe='undef'
    338339d_pthread_atfork='undef'
    339340d_pthread_attr_setscope='define'
    340341d_pthread_yield='undef'
     
    416417d_sigaction='define'
    417418d_sigprocmask='define'
    418419d_sigsetjmp='define'
    419 d_snprintf='undef'
    420 d_sockatmark='undef'
    421 d_sockatmarkproto='undef'
     420d_sockatmark='define'
     421d_sockatmarkproto='define'
    422422d_socket='define'
    423423d_socklen_t='define'
    424424d_sockpair='define'
     
    434434d_statfs_s='define'
    435435d_statvfs='define'
    436436d_stdio_cnt_lval='undef'
    437 d_stdio_ptr_lval='define'
     437d_stdio_ptr_lval='undef'
    438438d_stdio_ptr_lval_nochange_cnt='undef'
    439 d_stdio_ptr_lval_sets_cnt='define'
     439d_stdio_ptr_lval_sets_cnt='undef'
    440440d_stdio_stream_array='undef'
    441 d_stdiobase='define'
    442 d_stdstdio='define'
     441d_stdiobase='undef'
     442d_stdstdio='undef'
    443443d_strchr='define'
    444444d_strcoll='define'
    445445d_strctcpy='define'
     
    484484d_uname='define'
    485485d_union_semun='undef'
    486486d_unordered='undef'
    487 d_unsetenv='unsetenv'
     487d_unsetenv='define'
    488488d_usleep='define'
    489489d_usleepproto='define'
    490490d_ustat='define'
     
    498498d_voidtty=''
    499499d_volatile='define'
    500500d_vprintf='define'
    501 d_vsnprintf='define'
    502501d_wait4='define'
    503502d_waitpid='define'
    504503d_wcstombs='define'
     
    545544freetype='void'
    546545from=':'
    547546full_ar='/usr/bin/ar'
    548 full_csh='/bin/csh'
     547full_csh='csh'
    549548full_sed='/bin/sed'
    550549gccansipedantic=''
    551550gccosandvers=''
    552 gccversion='2.95.3 20010125 (prerelease)'
     551gccversion='4.1.1'
    553552getgrent_r_proto='0'
    554553getgrgid_r_proto='0'
    555554getgrnam_r_proto='0'
     
    577576glibpth='/usr/shlib  /lib /usr/lib /usr/lib/386 /lib/386 /usr/ccs/lib /usr/ucblib /usr/local/lib '
    578577gmake='gmake'
    579578gmtime_r_proto='0'
    580 gnulibc_version='2.2.2'
     579gnulibc_version='2.4'
    581580grep='grep'
    582581groupcat='cat /etc/group'
    583582groupstype='gid_t'
     
    685684inc_version_list_init='0'
    686685incpath=''
    687686inews=''
    688 installarchlib='./install_me_here/usr/lib/perl5/5.8.8/armv4l-linux'
    689 installbin='./install_me_here/usr/bin'
     687installarchlib='/usr/lib/perl5/5.8.8/armv5tel-linux'
     688installbin='/usr/bin'
    690689installhtml1dir=''
    691690installhtml3dir=''
    692 installman1dir='./install_me_here/usr/share/man/man1'
    693 installman3dir='./install_me_here/usr/share/man/man3'
    694 installprefix='./install_me_here/usr'
    695 installprefixexp='./install_me_here/usr'
    696 installprivlib='./install_me_here/usr/lib/perl5/5.8.8'
    697 installscript='./install_me_here/usr/bin'
    698 installsitearch='./install_me_here/usr/lib/perl5/site_perl/5.8.8/armv4l-linux'
    699 installsitebin='./install_me_here/usr/bin'
     691installman1dir='/usr/share/man/man1'
     692installman3dir='/usr/share/man/man3'
     693installprefix='/usr'
     694installprefixexp='/usr'
     695installprivlib='/usr/lib/perl5/5.8.8'
     696installscript='/usr/bin'
     697installsitearch='/usr/lib/perl5/site_perl/5.8.8/armv5tel-linux'
     698installsitebin='/usr/bin'
    700699installsitehtml1dir=''
    701700installsitehtml3dir=''
    702 installsitelib='./install_me_here/usr/lib/perl5/site_perl/5.8.8'
    703 installsiteman1dir='./install_me_here/usr/share/man/man1'
    704 installsiteman3dir='./install_me_here/usr/share/man/man3'
    705 installsitescript='./install_me_here/usr/bin'
    706 installstyle='./install_me_herelib/perl5'
     701installsitelib='/usr/lib/perl5/site_perl/5.8.8'
     702installsiteman1dir='/usr/share/man/man1'
     703installsiteman3dir='/usr/share/man/man3'
     704installsitescript='/usr/bin'
     705installstyle='lib/perl5'
    707706installusrbinperl='undef'
    708707installvendorarch=''
    709708installvendorbin=''
     
    714713installvendorman3dir=''
    715714installvendorscript=''
    716715intsize='4'
    717 issymlink='/usr/bin/test -h'
     716issymlink='/bin/test -h'
    718717ivdformat='"ld"'
    719718ivsize='4'
    720719ivtype='long'
     
    727726ldlibpthname='LD_LIBRARY_PATH'
    728727less='less'
    729728lib_ext='.a'
    730 libc='/lib/libc-2.2.2.so'
    731 libperl='libperl.so'
     729libc='/lib/libc-2.4.so'
     730libperl='libperl.a'
    732731libpth='/usr/local/lib /lib /usr/lib'
    733732libs='-lnsl -ldl -lm -lcrypt -lutil -lc'
    734733libsdirs=' /usr/lib'
    735734libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libc.so'
    736735libsfound=' /usr/lib/libnsl.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so'
    737736libspath=' /usr/local/lib /lib /usr/lib'
    738 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'
     737libswanted='sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util c cposix posix ucb BSD'
    739738libswanted_uselargefiles=''
    740739line=''
    741740lint=''
     
    774773more='more'
    775774multiarch='undef'
    776775mv=''
    777 myarchname='armv4l-linux'
    778 mydomain='.criticalintegration.com'
    779 myhostname='openzaurus'
    780 myuname='linux openzaurus.criticalintegration.com 2.4.6-rmk1-np2-embedix #15 Wed Aug 6 07:49:44 UTC 2003 armv4l unknown '
     776myarchname='armv5tel-linux'
     777mydomain='.ciccone'
     778myhostname='spitz'
     779myuname='linux spitz 2.6.16 #1 preempt mon may 1 06:14:52 cest 2006 armv5tel gnulinux '
    781780n='-n'
    782781need_va_copy='undef'
    783782netdb_hlen_type='size_t'
     
    804803optimize='-O2'
    805804orderlib='false'
    806805osname='linux'
    807 osvers='2.4.6-rmk1-np2-embedix'
     806osvers='2.6.16'
    808807otherlibdirs=' '
    809808package='perl5'
    810 pager='/usr/bin/less'
     809pager='/bin/less -isR'
    811810passcat='cat /etc/passwd'
    812811patchlevel='8'
    813812path_sep=':'
    814 perl5='/usr/bin/perl'
     813perl5=''
    815814perl=''
    816815perl_patchlevel=''
    817 perladmin='red@criticalintegration.com'
     816perladmin='root@spitz.ciccone'
    818817perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc'
    819818perlpath='/usr/bin/perl'
    820819pg='pg'
     
    827826prefixexp='/usr'
    828827privlib='/usr/lib/perl5/5.8.8'
    829828privlibexp='/usr/lib/perl5/5.8.8'
    830 procselfexe='"/proc/self/exe"'
     829procselfexe=''
    831830prototype='define'
    832831ptrsize='4'
    833832quadkind='3'
     
    880879shortsize='2'
    881880shrpenv=''
    882881shsharp='true'
    883 sig_count='64'
    884 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 '
    885 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'
    886 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 '
    887 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'
    888 sig_size='68'
     882sig_count='65'
     883sig_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 '
     884sig_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'
     885sig_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 '
     886sig_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'
     887sig_size='69'
    889888signal_t='void'
    890 sitearch='/usr/lib/perl5/site_perl/5.8.8/armv4l-linux'
    891 sitearchexp='/usr/lib/perl5/site_perl/5.8.8/armv4l-linux'
     889sitearch='/usr/lib/perl5/site_perl/5.8.8/armv5tel-linux'
     890sitearchexp='/usr/lib/perl5/site_perl/5.8.8/armv5tel-linux'
    892891sitebin='/usr/bin'
    893892sitebinexp='/usr/bin'
    894893sitehtml1dir=''
     
    984983useperlio='define'
    985984useposix='true'
    986985usereentrant='undef'
    987 userelocatableinc='undef'
    988986usesfio='false'
     987useshrplib='false'
    989988usesitecustomize='undef'
    990 useshrplib='true'
    991989usesocks='undef'
    992990usethreads='undef'
    993991usevendorprefix='undef'
     
    10311029zip='zip'
    10321030# Configure command line arguments.
    10331031config_arg0='Configure'
    1034 config_args=''
    1035 config_argc=0
     1032config_args='-ds -e -Dprefix=/usr -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dpager=/bin/less -isR'
     1033config_argc=6
     1034config_arg1='-ds'
     1035config_arg2='-e'
     1036config_arg3='-Dprefix=/usr'
     1037config_arg4='-Dman1dir=/usr/share/man/man1'
     1038config_arg5='-Dman3dir=/usr/share/man/man3'
     1039config_arg6='-Dpager=/bin/less -isR'
    10361040PERL_REVISION=5
    10371041PERL_VERSION=8
    10381042PERL_SUBVERSION=8
  • Cross/generate_config_sh

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

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

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

    diff -Naur perl-5.8.8.orig/MANIFEST perl-5.8.8/MANIFEST
    old new  
    3333configure.gnu           Crude emulation of GNU configure
    3434cop.h                   Control operator header
    3535Copying                 The GNU General Public License
    36 Cross/config            Cross-compilation
    3736Cross/config.sh-arm-linux       Cross-compilation
    38 Cross/generate_config_sh        Cross-compilation
    39 Cross/installperl.patch         Cross-compilation
    4037Cross/Makefile          Cross-compilation
    41 Cross/Makefile.SH.patch Cross-compilation
    42 Cross/README            Cross-compilation
    43 Cross/TODO              Cross-compilation
    44 Cross/warp              Cross-compilation
    4538cv.h                    Code value header
    4639cygwin/cygwin.c         Additional code for Cygwin port
    4740cygwin/ld2.in           ld wrapper template for Cygwin port
  • Makefile.SH

    diff -Naur perl-5.8.8.orig/Makefile.SH perl-5.8.8/Makefile.SH
    old new  
    591591        $(CC) -o miniperl $(CLDFLAGS) \
    592592            `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
    593593            miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perl$(OBJ_EXT) $(libs)
    594         $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
     594        $(LDLIBPTH) ./miniperl-cross -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
    595595!NO!SUBS!
    596596                ;;
    597597        next4*)
     
    599599miniperl: $& miniperlmain$(OBJ_EXT) $(LIBPERL) opmini$(OBJ_EXT)
    600600        $(CC) -o miniperl `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
    601601            miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perl$(OBJ_EXT) $(libs)
    602         $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
     602        $(LDLIBPTH) ./miniperl-cross -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
    603603!NO!SUBS!
    604604                ;;
    605605        darwin*)
     
    620620        -@rm -f miniperl.xok
    621621        $(CC) $(CLDFLAGS) $(NAMESPACEFLAGS) -o miniperl \
    622622            miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) $(LLIBPERL) $(libs)
    623         $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
     623        $(LDLIBPTH) ./miniperl-cross -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
    624624!NO!SUBS!
    625625                ;;
    626626        *)
     
    629629        -@rm -f miniperl.xok
    630630        $(LDLIBPTH) $(CC) $(CLDFLAGS) -o miniperl \
    631631            miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) $(LLIBPERL) $(libs)
    632         $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
     632        $(LDLIBPTH) ./miniperl-cross -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
    633633!NO!SUBS!
    634634                ;;
    635635        esac
     
    769769preplibrary: miniperl$(EXE_EXT) $(CONFIGPM) lib/lib.pm $(PREPLIBRARY_LIBPERL)
    770770        @sh ./makedir lib/auto
    771771        @echo " AutoSplitting perl library"
    772         $(LDLIBPTH) ./miniperl -Ilib -e 'use AutoSplit; \
     772        $(LDLIBPTH) ./miniperl-cross -Ilib -e 'use AutoSplit; \
    773773                autosplit_lib_modules(@ARGV)' lib/*.pm
    774         $(LDLIBPTH) ./miniperl -Ilib -e 'use AutoSplit; \
     774        $(LDLIBPTH) ./miniperl-cross -Ilib -e 'use AutoSplit; \
    775775                autosplit_lib_modules(@ARGV)' lib/*/*.pm
    776776        $(MAKE) lib/re.pm
    777777
    778778lib/Config.pod: config.sh miniperl$(EXE_EXT) configpm Porting/Glossary
    779         $(LDLIBPTH) ./miniperl -Ilib configpm --heavy=lib/Config_heavy.pl lib/Config.pm
     779        $(LDLIBPTH) ./miniperl-cross -Ilib configpm --heavy=lib/Config_heavy.pl lib/Config.pm
    780780
    781781$(CONFIGPM): lib/Config.pod
    782782
    783783lib/ExtUtils/Miniperl.pm: miniperlmain.c miniperl$(EXE_EXT) minimod.pl $(CONFIGPM)
    784         $(LDLIBPTH) ./miniperl minimod.pl > lib/ExtUtils/Miniperl.pm
     784        $(LDLIBPTH) ./miniperl-cross minimod.pl > lib/ExtUtils/Miniperl.pm
    785785
    786786lib/re.pm: ext/re/re.pm
    787787        cp ext/re/re.pm lib/re.pm
    788788
    789789$(plextract):   miniperl$(EXE_EXT) $(CONFIGPM) x2p/s2p
    790790        @-rm -f $@
    791         $(LDLIBPTH) ./miniperl -I`pwd`/lib $@.PL
     791        $(LDLIBPTH) ./miniperl-cross -I`pwd`/lib $@.PL
    792792
    793793x2p/s2p: miniperl$(EXE_EXT) $(CONFIGPM) x2p/s2p.PL
    794794        cd x2p; $(LDLIBPTH) $(MAKE) s2p
    795795
    796796lib/lib.pm:     miniperl$(EXE_EXT) $(CONFIGPM)
    797797        @-rm -f $@
    798         $(LDLIBPTH) ./miniperl -Ilib lib/lib_pm.PL
     798        $(LDLIBPTH) ./miniperl-cross -Ilib lib/lib_pm.PL
    799799
    800800unidatafiles $(unidatafiles): uni.data
    801801
    802802uni.data: miniperl$(EXE_EXT) $(CONFIGPM) lib/unicore/mktables
    803         cd lib/unicore && $(LDLIBPTH) ../../miniperl -I../../lib mktables -w
     803        cd lib/unicore && $(LDLIBPTH) ../../miniperl-cross -I../../lib mktables -w
    804804        touch uni.data
    805805
    806806extra.pods: miniperl$(EXE_EXT)
     
    829829        no-install install.perl install.man install.html
    830830
    831831META.yml:       Porting/makemeta Porting/Maintainers.pl Porting/Maintainers.pm
    832         $(LDLIBPTH) ./miniperl -Ilib Porting/makemeta
     832        $(LDLIBPTH) ./miniperl-cross -Ilib Porting/makemeta
    833833
    834834install-strip:
    835835        $(MAKE) STRIPFLAGS=-s install DESTDIR="$(DESTDIR)"
     
    857857                cd ../pod; $(MAKE) compile; \
    858858        else :; \
    859859        fi
    860         $(LDLIBPTH) ./perl installperl --destdir=$(DESTDIR) $(INSTALLFLAGS) $(STRIPFLAGS)
     860        $(LDLIBPTH) ./miniperl-cross -Ilib installperl --destdir=$(DESTDIR) $(INSTALLFLAGS) $(STRIPFLAGS)
    861861        $(MAKE) extras.install
    862862
    863863install.man:    all installman
    864         $(LDLIBPTH) ./perl installman --destdir=$(DESTDIR) $(INSTALLFLAGS)
     864        $(LDLIBPTH) ./miniperl-cross -Ilib installman --destdir=$(DESTDIR) $(INSTALLFLAGS)
    865865
    866866# XXX Experimental. Hardwired values, but useful for testing.
    867867# Eventually Configure could ask for some of these values.
    868868install.html: all installhtml
    869869        -@test -f README.vms && cd vms && $(LNS) ../README.vms README_vms.pod && cd ..
    870         $(LDLIBPTH) ./perl installhtml   \
     870        $(LDLIBPTH) ./miniperl-cross -Ilib installhtml   \
    871871      --podroot=. --podpath=. --recurse  \
    872872      --htmldir=$(privlib)/html   \
    873873      --htmlroot=$(privlib)/html  \
     
    11731173# Targets for UTF16 testing:
    11741174
    11751175minitest.utf16: minitest.prep
    1176         - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl$(EXE_EXT) perl$(EXE_EXT)) \
     1176        - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl-cross$(EXE_EXT) perl$(EXE_EXT)) \
    11771177                && $(LDLIBPTH) ./perl TEST -minitest -utf16 base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t </dev/tty
    11781178
    11791179test.utf16 check.utf16: test_prep
     
    12391239# Can't depend on lib/Config.pm because that might be where miniperl
    12401240# is crashing.
    12411241minitest: miniperl$(EXE_EXT) lib/re.pm minitest.prep
    1242         - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl$(EXE_EXT) perl$(EXE_EXT)) \
     1242        - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl-cross$(EXE_EXT) perl$(EXE_EXT)) \
    12431243                && $(LDLIBPTH) ./perl TEST -minitest base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t </dev/tty
    12441244
    12451245# Test via harness
  • config.sh.old

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

    diff -Naur perl-5.8.8.orig/ext/util/make_ext perl-5.8.8/ext/util/make_ext
    old new  
    119119esac
    120120
    121121if test ! -f $makefile ; then
    122         test -f Makefile.PL && ../$depth/miniperl -I../$depth/lib Makefile.PL INSTALLDIRS=perl PERL_CORE=1 $passthru
     122        test -f Makefile.PL && ../$depth/miniperl-cross -I../$depth/lib Makefile.PL INSTALLDIRS=perl PERL_CORE=1 $passthru
    123123fi
    124124if test ! -f $makefile ; then
    125125        if test -f Makefile.SH; then
  • installman

    diff -Naur perl-5.8.8.orig/installman perl-5.8.8/installman
    old new  
    11#!./perl -w
    2 BEGIN { @INC = qw(lib) }
    32use strict;
    43use Config;
    54use Getopt::Long;
  • installperl

    diff -Naur perl-5.8.8.orig/installperl perl-5.8.8/installperl
    old new  
    33BEGIN {
    44    require 5.004;
    55    chdir '..' if !-d 'lib' and -d '../lib';
    6     @INC = 'lib';
    7     $ENV{PERL5LIB} = 'lib';
    86}
    97
    108use strict;
  • lib/unicore/Makefile

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

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

    diff -Naur perl-5.8.8.orig/utils/Makefile perl-5.8.8/utils/Makefile
    old new  
    11
    2 PERL = ../miniperl
     2PERL = ../miniperl-cross
    33REALPERL = ../perl
    44
    55# Files to be built with variable substitution after miniperl is
  • x2p/Makefile.SH

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