summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-09-06 19:56:53 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-09-06 19:56:53 +0000
commit136febd582f8c09e243429ab77e54be8b75a494c (patch)
tree4354f083a59aa4251d63c757aa7be8f40d86a74d
parent10af26ed7d2d22f70c94a019ecda11475f1745de (diff)
downloadperl-136febd582f8c09e243429ab77e54be8b75a494c.tar.gz
Updated Sharp Zaurus cross-compilation from Redvers Davies.
p4raw-id: //depot/perl@21057
-rw-r--r--Cross/Makefile3
-rw-r--r--Cross/Makefile.SH.patch89
-rw-r--r--Cross/README65
-rw-r--r--Cross/TODO1
-rw-r--r--Cross/config.sh-arm-linux241
-rwxr-xr-xCross/generate_config_sh20
-rw-r--r--Cross/installperl.patch6
7 files changed, 229 insertions, 196 deletions
diff --git a/Cross/Makefile b/Cross/Makefile
index 4bb4c067eb..4e93f98644 100644
--- a/Cross/Makefile
+++ b/Cross/Makefile
@@ -1,6 +1,6 @@
## Toplevel Makefile for cross-compilation of perl
#
-## $Id: Makefile,v 1.3 2003/05/27 21:23:19 red Exp red $
+## $Id: Makefile,v 1.4 2003/09/05 00:48:19 red Exp red $
export TOPDIR?=${shell pwd}
include $(TOPDIR)/config
@@ -50,7 +50,6 @@ perl:
@echo Optimizations: $(FULL_OPTIMIZATION)
$(TOPDIR)/generate_config_sh config.sh-$(SYS) > $(TOPDIR)/../config.sh
- $(TOPDIR)/generate_config_sh config.sh-$(SYS) > $(TOPDIR)/../config.sh-arse
cd $(TOPDIR)/.. ; ./Configure -S ; make depend ; make ; make more
cd $(TOPDIR)/.. ; mkdir -p fake_config_library ; cp lib/Config.pm fake_config_library
cd $(TOPDIR)/.. ; $(MAKE) more2 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig"
diff --git a/Cross/Makefile.SH.patch b/Cross/Makefile.SH.patch
index 0352b4b29a..6f17b37747 100644
--- a/Cross/Makefile.SH.patch
+++ b/Cross/Makefile.SH.patch
@@ -1,34 +1,26 @@
---- ../Makefile.SH 2003-04-22 14:13:52.000000000 +0000
-+++ Makefile.SH 2003-05-27 21:07:07.000000000 +0000
-@@ -104,16 +104,17 @@
-
- case "$osname" in
- linux)
+--- ../Makefile.SH 2003-08-22 09:49:04.000000000 -0500
++++ Makefile.SH 2003-09-05 02:38:40.000000000 -0500
+@@ -110,18 +110,7 @@
+ # INSTALL file, under "Building a shared perl library".
+ # If there is no pre-existing $libperl, we don't need
+ # to do anything further.
+- if test -f $archlib/CORE/$libperl; then
- rm -f preload
-- cat <<-'EOT' > preload
-- #! /bin/sh
-- lib=$1
-- shift
-- test -r $lib && export LD_PRELOAD="$lib $LD_PRELOAD"
-- exec "$@"
-- EOT
+- cat <<'EOT' > preload
+-#! /bin/sh
+-lib=$1
+-shift
+-test -r $lib && export LD_PRELOAD="$lib $LD_PRELOAD"
+-exec "$@"
+-EOT
- chmod 755 preload
- ldlibpth="$ldlibpth `pwd`/preload `pwd`/$libperl"
-+# rm -f preload
-+# cat <<-'EOT' > preload
-+# #! /bin/sh
-+# lib=$1
-+# shift
-+# test -r $lib && export LD_PRELOAD="$lib $LD_PRELOAD"
-+# exec "$@"
-+# EOT
-+# chmod 755 preload
-+# ldlibpth="$ldlibpth `pwd`/preload `pwd`/$libperl"
-+ echo linux libraries overridden my cross-compile patches
- ;;
+- fi
++ echo linux libraries overwritten by cross-compile patches
+ ;;
os390) test -f /bin/env && ldlibpth="/bin/env $ldlibpth"
;;
-@@ -343,9 +344,20 @@
+@@ -349,9 +338,21 @@
.c.s:
$(CCCMDSRC) -S $*.c
@@ -38,6 +30,7 @@
+#all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT) extra.pods $(private) $(public) $(dynamic_ext) $(nonxs_ext) extras.make
+# @echo " ";
+# @echo " Everything is up to date. Type '$(MAKE) test' to run test suite."
++
+all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT)
+ mv miniperl miniperl-arm
+ ln -s /usr/bin/perl miniperl
@@ -48,11 +41,11 @@
+
+more3: $(nonxs_ext)
+
-+more4: extras.make
++more4: extras.make
.PHONY: all compile translators utilities
-@@ -355,10 +367,10 @@
+@@ -361,10 +362,10 @@
cd x2p; $(MAKE) compile;
cd pod; $(MAKE) compile;
@@ -65,7 +58,7 @@
@echo " "; echo " Making utilities"; cd utils; $(LDLIBPTH) $(MAKE) all
-@@ -535,7 +547,7 @@
+@@ -541,7 +542,7 @@
$(CC) -o miniperl $(CLDFLAGS) \
`echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perl$(OBJ_EXT) $(libs)
@@ -74,16 +67,16 @@
!NO!SUBS!
;;
beos*|next4*)
-@@ -552,7 +564,7 @@
- -@rm -f miniperl.xok
- $(CC) $(CLDFLAGS) -o miniperl \
- miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) $(LLIBPERL) $(libs)
+@@ -549,7 +550,7 @@
+ miniperl: $& miniperlmain$(OBJ_EXT) $(LIBPERL) opmini$(OBJ_EXT)
+ $(CC) -o miniperl `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
+ miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perl$(OBJ_EXT) $(libs)
- $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
+# $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
!NO!SUBS!
;;
- esac
-@@ -678,7 +690,7 @@
+ darwin*)
+@@ -716,7 +717,7 @@
# We need to autosplit in two steps because VOS can't handle so many args
#
.PHONY: preplibrary
@@ -92,7 +85,7 @@
@sh ./makedir lib/auto
@echo " AutoSplitting perl library"
$(LDLIBPTH) ./miniperl -Ilib -e 'use AutoSplit; \
-@@ -690,11 +702,11 @@
+@@ -728,11 +729,11 @@
# Take care to avoid modifying lib/Config.pm without reason
# (If trying to create a new port and having problems with the configpm script,
# try 'make minitest' and/or commenting out the tests at the end of configpm.)
@@ -106,7 +99,7 @@
$(LDLIBPTH) ./miniperl minimod.pl > minimod.tmp
sh mv-if-diff minimod.tmp $@
-touch lib/ExtUtils/Miniperl.pm
-@@ -702,18 +714,18 @@
+@@ -740,18 +741,18 @@
lib/re.pm: ext/re/re.pm
cp ext/re/re.pm ext/re/re.tmp && sh mv-if-diff ext/re/re.tmp lib/re.pm
@@ -125,11 +118,11 @@
$(LDLIBPTH) ./miniperl -Ilib lib/lib_pm.PL
-extra.pods: miniperl$(EXE_EXT)
-+extra.pods:
++extra.pods:
-@test -f extra.pods && rm -f `cat extra.pods`
-@rm -f extra.pods
-@for x in `grep -l '^=[a-z]' README.* | grep -v README.vms` ; do \
-@@ -752,18 +764,10 @@
+@@ -793,18 +794,7 @@
$(MAKE) install.perl install.man STRIPFLAGS=$(STRIPFLAGS) INSTALLFLAGS=-n
install.perl: all installperl
@@ -140,18 +133,16 @@
- cd ../pod; $(MAKE) compile; \
- else :; \
- fi
-- $(LDLIBPTH) ./perl installperl $(INSTALLFLAGS) $(STRIPFLAGS)
+- $(LDLIBPTH) ./perl installperl --destdir=$(DESTDIR) $(INSTALLFLAGS) $(STRIPFLAGS)
- $(MAKE) extras.install
-+ /usr/bin/perl -Ifake_config_library -MConfig installperl $(INSTALLFLAGS) $(STRIPFLAGS)
-
+-
-install.man: all installman
-- $(LDLIBPTH) ./perl installman $(INSTALLFLAGS)
-+install.man: installman
-+ /usr/bin/perl -Ifake_config_library -MConfig installman $(INSTALLFLAGS)
+- $(LDLIBPTH) ./perl installman --destdir=$(DESTDIR) $(INSTALLFLAGS)
++ /usr/bin/perl -Ifake_config_library -MConfig installperl $(INSTALLFLAGS) $(STRIPFLAGS)
# XXX Experimental. Hardwired values, but useful for testing.
# Eventually Configure could ask for some of these values.
-@@ -870,16 +874,16 @@
+@@ -920,16 +910,16 @@
#
# DynaLoader may be needed for extensions that use Makefile.PL.
@@ -168,11 +159,11 @@
@$(LDLIBPTH) sh ext/util/make_ext $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
-n_dummy $(nonxs_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE
-+n_dummy $(nonxs_ext): preplibrary $(DYNALOADER) FORCE
++n_dummy $(nonxs_ext): preplibrary $(DYNALOADER) FORCE
@$(LDLIBPTH) sh ext/util/make_ext nonxs $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
.PHONY: clean _tidy _mopup _cleaner1 _cleaner2 \
-@@ -1019,7 +1023,7 @@
+@@ -1069,7 +1059,7 @@
test_prep_pre: preplibrary utilities $(nonxs_ext)
@@ -181,7 +172,7 @@
PERL=./perl $(MAKE) _test_prep
_test_tty:
-@@ -1088,7 +1092,7 @@
+@@ -1157,7 +1147,7 @@
# Can't depend on lib/Config.pm because that might be where miniperl
# is crashing.
diff --git a/Cross/README b/Cross/README
index e113380ff1..4c5d25a2ff 100644
--- a/Cross/README
+++ b/Cross/README
@@ -1,26 +1,25 @@
-Summary
--------
+Building for arm-linux
+----------------------
-This is a patch set which adds cross-compilation to the perl
-buildsystem. It was built as a part of the Open Zaurus
-(http://www.openzaurus.com/) distribution. Most / All of the
-arm compiler optimisations are "borrowed" from this excellent
-project.
+The files in this directory add another cross-compilation
+target to the Perl buildsystem. It was built as a part of
+the Open Zaurus (http://www.openzaurus.com/) distribution.
+Most / All of the arm compiler optimisations are "borrowed"
+from this excellent project.
The main target is arm-linux but I have also managed to
-successfully cross-compile perl for solaris x86 using the same
+successfully cross-compile Perl for Solaris x86 using the same
buildsystem.
We are currently dependent on an existing working local copy of
-perl ** of the same version and revision ** which is available
-as /usr/bin/perl. This could be migrated to using native
-miniperl with some additional effort.
+Perl ** of the same version and revision ** which is available
+as /usr/bin/perl.
-Obviously you need a working and tested cross-compiler for your
-build and target combination. The binary directory must be in
+You need a working and tested cross-compiler for your build
+and target combination. The binary directory must be in
your path.
-1) You should be reading me (README) in perl-5.x.x/Cross
+1) You should be reading me (README) in perl-5.8.1/Cross
2) Make sure you are in the Cross directory.
@@ -29,17 +28,49 @@ your path.
4) make patch ## This will patch the existing source-tree.
5) make perl ## Will make perl
+Your built Perl environment is in install_me_here/ in your build
+directory. From here you can package and deploy as you wish.
+
The Obvious Ommissions
----------------------
-This does NOT perform any installation as site installation method will
-be dependant on the target arch and OS.
+This does NOT perform any installation as site installation method
+will be dependent on the target architecture and OS.
-make test will NOT work as the binaries and libraries will not execute.
+make test will NOT work as the binaries and libraries will not execute
+on your BUILD machine.
Due to space limitations on the Zaurus (it's a PDA) we do not provide
documentation in the core - Therefore man pages are not even generated.
+Other Targets (For Developers)
+------------------------------
+
+It is possible to extend the cross-compilation to other targets.
+We have sucessfully compiled for the target solaris2.8/x86
+on linux/x86 build system.
+
+To attempt a cross-compile for another target using the methods
+in this directory:
+
+1) Copy the Perl source code onto your TARGET machine.
+2) Execute sh Configure as normal and configure as required,
+ do not "make".
+3) Copy the config.sh file that is generated to your BUILD
+ machine and place it in the Cross directory with the
+ filename config.sh-ARCH-OS. For example,
+ config.sh-i386-pc-solaris2.8. For the appropriate ARCH
+ and OS please refer to your cross-compiler documentation.
+4) Edit Cross/config to reflect your new target and continue
+ with build as above.
+
+Should you wish to produce optimised binaries for different
+architectures you can add the appropriate compiler flags to
+the Makefile in a new ifeq ($(ARCH),...) ... endif block.
+
+Please refer to your cross-compiler documentation for details.
+
+
Note that the Cross/ directory is also used by a different
cross-compilation setup described in the INSTALL file, and
executed by Configure. There should be no conflicts since
diff --git a/Cross/TODO b/Cross/TODO
index c7280d0eca..096e4db815 100644
--- a/Cross/TODO
+++ b/Cross/TODO
@@ -1,2 +1 @@
-Install man pages.
Provide a better sandbox for building additional XS libraries.
diff --git a/Cross/config.sh-arm-linux b/Cross/config.sh-arm-linux
index f02579b2f4..1857d75a6e 100644
--- a/Cross/config.sh-arm-linux
+++ b/Cross/config.sh-arm-linux
@@ -5,16 +5,14 @@
# do not forget to propagate your changes by running "Configure -der". You may
# instead choose to run each of the .SH files by yourself, or "Configure -S".
#
-# $Id: config.sh-arm-linux,v 1.2 2003/05/27 21:31:15 red Exp red $
-#
# Package name : perl5
# Source directory : .
-# Configuration time: Sat Mar 8 00:20:33 UTC 2003
-# Configured by : root
-# Target system : linux zaurus 2.4.6-rmk1-np2-embedix #5 wed dec 11 22:20:32 cst 2002 armv4l unknown
+# Configuration time: Wed Sep 3 22:24:58 EDT 2003
+# Configured by : red
+# Target system : linux openzaurus.criticalintegration.com 2.4.6-rmk1-np2-embedix #15 Wed Aug 6 07:49:44 UTC 2003 armv4l unknown
-Author='Redvers Davies <red@criticalintegration.com>'
+Author=''
Date='$Date'
Header=''
Id='$Id'
@@ -35,11 +33,11 @@ ansi2knr=''
aphostname='/bin/hostname'
api_revision='5'
api_subversion='0'
-api_version='9'
-api_versionstring='5.9.0'
-ar='arm-linux-ar'
-archlib='/usr/lib/perl5/5.9.0/armv4l-linux'
-archlibexp='/usr/lib/perl5/5.9.0/armv4l-linux'
+api_version='8'
+api_versionstring='5.8.0'
+ar='ar'
+archlib='/usr/lib/perl5/5.8.1/armv4l-linux'
+archlibexp='/usr/lib/perl5/5.8.1/armv4l-linux'
archname64=''
archname='armv4l-linux'
archobjs=''
@@ -55,17 +53,17 @@ byteorder='1234'
c=''
castflags='0'
cat='cat'
-cc='arm-linux-gcc'
-cccdlflags=''
-ccdlflags=''
-ccflags='-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
+cc='cc'
+cccdlflags='-fpic'
+ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.1/armv4l-linux/CORE'
+ccflags='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
-ccname='arm-linux-gcc'
-ccsymbols='__APCS_32__=1 __ARM_ARCH_4__=1 __CHAR_UNSIGNED__=1 __GNUC_MINOR__=95 __arm=1 __arm__=1 __arm_elf=1 __arm_elf__=1 __linux=1 __linux__=1 __unix=1 __unix__=1 arm=1 arm_elf=1 cpu=arm machine=arm system=posix system=unix'
+ccname='gcc'
+ccsymbols='__APCS_32__=1 __ARM_ARCH_3__=1 __CHAR_UNSIGNED__=1 __GNUC_MINOR__=95 __arm__=1 __linux=1 __linux__=1 __unix=1 __unix__=1 cpu=arm machine=arm system=posix system=unix'
ccversion=''
-cf_by='root'
+cf_by='red'
cf_email='red@criticalintegration.com'
-cf_time='Sat Mar 8 00:20:33 UTC 2003'
+cf_time='Wed Sep 3 22:24:58 EDT 2003'
charsize='1'
chgrp=''
chmod='chmod'
@@ -76,14 +74,14 @@ compress=''
contains='grep'
cp='cp'
cpio=''
-cpp='arm-linux-cpp'
+cpp='cpp'
cpp_stuff='42'
cppccsymbols='__ELF__=1 __GNUC__=2 linux=1 unix=1'
-cppflags='-fno-strict-aliasing'
+cppflags='-fno-strict-aliasing -I/usr/local/include'
cpplast='-'
cppminus='-'
-cpprun='arm-linux-gcc -E'
-cppstdin='arm-linux-gcc -E'
+cpprun='cc -E'
+cppstdin='cc -E'
cppsymbols='_FILE_OFFSET_BITS=64 __GLIBC__=2 __GLIBC_MINOR__=2 __GNUC_MINOR__=95 __GNU_LIBRARY__=6 _LARGEFILE_SOURCE=1 _POSIX_C_SOURCE=199506 _POSIX_SOURCE=1 __STDC__=1 __USE_BSD=1 __USE_FILE_OFFSET64=1 __USE_LARGEFILE=1 __USE_MISC=1 __USE_POSIX=1 __USE_POSIX199309=1 __USE_POSIX199506=1 __USE_POSIX2=1 __USE_SVID=1 __linux=1 __linux__=1 __unix=1 __unix__=1'
crypt_r_proto='0'
cryptlib=''
@@ -131,9 +129,9 @@ d_closedir='define'
d_cmsghdr_s='define'
d_const='define'
d_copysignl='define'
-d_crypt='undef'
+d_crypt='define'
d_crypt_r='undef'
-d_csh='undef'
+d_csh='define'
d_ctermid_r='undef'
d_ctime_r='undef'
d_cuserid='define'
@@ -142,8 +140,8 @@ d_dbminitproto='undef'
d_difftime='define'
d_dirfd='define'
d_dirnamlen='undef'
-d_dlerror='undef'
-d_dlopen='undef'
+d_dlerror='define'
+d_dlopen='define'
d_dlsymun='undef'
d_dosuid='undef'
d_drand48_r='undef'
@@ -169,7 +167,7 @@ d_fchdir='define'
d_fchmod='define'
d_fchown='define'
d_fcntl='define'
-d_fcntl_can_lock='undef'
+d_fcntl_can_lock='define'
d_fd_macros='define'
d_fd_set='define'
d_fds_bits='undef'
@@ -292,9 +290,9 @@ d_mkstemp='define'
d_mkstemps='undef'
d_mktime='define'
d_mmap='define'
-d_modfl='undef'
-d_modflproto='undef'
+d_modfl='define'
d_modfl_pow32_bug='undef'
+d_modflproto='undef'
d_mprotect='define'
d_msg='define'
d_msg_ctrunc='define'
@@ -325,8 +323,9 @@ d_phostname='undef'
d_pipe='define'
d_poll='define'
d_portable='define'
-d_procselfexe='undef'
+d_procselfexe='define'
d_pthread_atfork='undef'
+d_pthread_attr_setscope='define'
d_pthread_yield='undef'
d_pwage='undef'
d_pwchange='undef'
@@ -412,7 +411,7 @@ d_socket='define'
d_socklen_t='define'
d_sockpair='define'
d_socks5_init='undef'
-d_sqrtl='undef'
+d_sqrtl='define'
d_srand48_r='undef'
d_srandom_r='undef'
d_sresgproto='undef'
@@ -464,7 +463,7 @@ d_tmpnam_r='undef'
d_truncate='define'
d_ttyname_r='undef'
d_tzname='define'
-d_u32align='define'
+d_u32align='undef'
d_ualarm='define'
d_umask='define'
d_uname='define'
@@ -502,7 +501,7 @@ dlsrc='dl_dlopen.xs'
doublesize='8'
drand01='drand48()'
drand48_r_proto='0'
-dynamic_ext='B ByteLoader Cwd Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Encode Fcntl File/Glob 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 attrs re threads threads/shared Encode/Byte Encode/CN Encode/EBCDIC Encode/JP Encode/KR Encode/Symbol Encode/TW Encode/Unicode Errno Filter/Util/Call'
+dynamic_ext='B ByteLoader Cwd Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Time/HiRes Unicode/Normalize XS/APItest XS/Typemap attrs re threads threads/shared'
eagain='EAGAIN'
ebcdic='undef'
echo='echo'
@@ -517,7 +516,7 @@ endservent_r_proto='0'
eunicefix=':'
exe_ext=''
expr='expr'
-extensions='B ByteLoader Cwd Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Time/HiRes Unicode/Normalize attrs re threads threads/shared Encode/Byte Encode/CN Encode/EBCDIC Encode/JP Encode/KR Encode/Symbol Encode/TW Encode/Unicode Errno'
+extensions='B ByteLoader Cwd Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Time/HiRes Unicode/Normalize XS/APItest XS/Typemap attrs re threads threads/shared Errno'
extras=''
fflushNULL='define'
fflushall='undef'
@@ -528,12 +527,12 @@ fpossize='16'
fpostype='fpos_t'
freetype='void'
from=':'
-full_ar='/usr/local/arm/2.95.3/bin/arm-linux-ar'
-full_csh='csh'
+full_ar='/usr/bin/ar'
+full_csh='/bin/csh'
full_sed='/bin/sed'
gccansipedantic=''
gccosandvers=''
-gccversion='2.95.1 19990816 (release)'
+gccversion='2.95.3 20010125 (prerelease)'
getgrent_r_proto='0'
getgrgid_r_proto='0'
getgrnam_r_proto='0'
@@ -561,7 +560,7 @@ gidtype='gid_t'
glibpth='/usr/shlib /lib /usr/lib /usr/lib/386 /lib/386 /usr/ccs/lib /usr/ucblib /usr/local/lib '
gmake='gmake'
gmtime_r_proto='0'
-gnulibc_version='2.2.4'
+gnulibc_version='2.2.2'
grep='grep'
groupcat='cat /etc/group'
groupstype='gid_t'
@@ -669,24 +668,34 @@ inc_version_list=' '
inc_version_list_init='0'
incpath=''
inews=''
-installarchlib='./install_me_here/usr/lib/perl5/5.9.0/armv4l-linux'
+installarchlib='./install_me_here/usr/lib/perl5/5.8.1/armv4l-linux'
installbin='./install_me_here/usr/bin'
-installman1dir=''
-installman3dir=''
-installprefix='./install_me_here/usr/lib/perl5'
-installprefixexp='./install_me_here/usr/lib/perl5'
-installprivlib='./install_me_here/usr/lib/perl5/5.9.0'
+installhtml1dir=''
+installhtml3dir=''
+installman1dir='./install_me_here/usr/share/man/man1'
+installman3dir='./install_me_here/usr/share/man/man3'
+installprefix='./install_me_here/usr'
+installprefixexp='./install_me_here/usr'
+installprivlib='./install_me_here/usr/lib/perl5/5.8.1'
installscript='./install_me_here/usr/bin'
-installsitearch='./install_me_here/usr/lib/perl5/site_perl/5.9.0/armv4l-linux'
+installsitearch='./install_me_here/usr/lib/perl5/site_perl/5.8.1/armv4l-linux'
installsitebin='./install_me_here/usr/bin'
-installsitehtml1=''
-installsitehtml3=''
-installsitelib='./install_me_here/usr/lib/perl5/site_perl/5.9.0'
-installstyle='lib/perl5'
+installsitehtml1dir=''
+installsitehtml3dir=''
+installsitelib='./install_me_here/usr/lib/perl5/site_perl/5.8.1'
+installsiteman1dir='./install_me_here/usr/share/man/man1'
+installsiteman3dir='./install_me_here/usr/share/man/man3'
+installsitescript='./install_me_here/usr/bin'
+installstyle='./install_me_herelib/perl5'
installusrbinperl='undef'
installvendorarch=''
installvendorbin=''
+installvendorhtml1dir=''
+installvendorhtml3dir=''
installvendorlib=''
+installvendorman1dir=''
+installvendorman3dir=''
+installvendorscript=''
intsize='4'
issymlink='/usr/bin/test -h'
ivdformat='"ld"'
@@ -694,22 +703,22 @@ ivsize='4'
ivtype='long'
known_extensions='B ByteLoader Cwd DB_File Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call GDBM_File I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 NDBM_File ODBM_File Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Thread Time/HiRes Unicode/Normalize XS/APItest XS/Typemap attrs re threads threads/shared'
ksh=''
-ld='arm-linux-ld'
-lddlflags=' -shared '
-ldflags=''
+ld='cc'
+lddlflags='-shared -L/usr/local/lib'
+ldflags=' -L/usr/local/lib'
ldflags_uselargefiles=''
ldlibpthname='LD_LIBRARY_PATH'
less='less'
lib_ext='.a'
-libc='/lib/libc-2.2.4.so'
+libc='/lib/libc-2.2.2.so'
libperl='libperl.so'
-libpth='/lib /usr/lib'
-libs='-lc -lm -ldl'
-libsdirs=' /lib'
-libsfiles=' libc.so'
-libsfound=' /lib/libc.so'
-libspath=' /lib /usr/lib'
-libswanted='sfio socket bind inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m c cposix posix ndir dir crypt sec ucb BSD PW x util'
+libpth='/usr/local/lib /lib /usr/lib'
+libs='-lnsl -ldl -lm -lcrypt -lutil -lc'
+libsdirs=' /usr/lib'
+libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libc.so'
+libsfound=' /usr/lib/libnsl.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so'
+libspath=' /usr/local/lib /lib /usr/lib'
+libswanted='sfio socket bind inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util c cposix posix ucb BSD'
libswanted_uselargefiles=''
line=''
lint=''
@@ -734,13 +743,14 @@ make_set_make='#'
mallocobj=''
mallocsrc=''
malloctype='void *'
-man1dir=' '
-man1direxp=''
-man1ext='0'
-man3dir=' '
-man3direxp=''
-man3ext='0'
+man1dir='/usr/share/man/man1'
+man1direxp='/usr/share/man/man1'
+man1ext='1'
+man3dir='/usr/share/man/man3'
+man3direxp='/usr/share/man/man3'
+man3ext='3'
mips_type=''
+mistrustnm=''
mkdir='mkdir'
mmaptype='void *'
modetype='mode_t'
@@ -749,8 +759,8 @@ multiarch='undef'
mv=''
myarchname='armv4l-linux'
mydomain='.criticalintegration.com'
-myhostname='citalopram'
-myuname='linux zaurus 2.4.6-rmk1-np2-embedix #5 wed dec 11 22:20:32 cst 2002 armv4l unknown '
+myhostname='openzaurus'
+myuname='linux openzaurus.criticalintegration.com 2.4.6-rmk1-np2-embedix #15 Wed Aug 6 07:49:44 UTC 2003 armv4l unknown '
n='-n'
need_va_copy='undef'
netdb_hlen_type='size_t'
@@ -759,7 +769,7 @@ netdb_name_type='const char *'
netdb_net_type='in_addr_t'
nm='nm'
nm_opt=''
-nm_so_opt=''
+nm_so_opt='--dynamic'
nonxs_ext='Errno'
nroff='nroff'
nvEUformat='"E"'
@@ -782,13 +792,13 @@ otherlibdirs=' '
package='perl5'
pager='/usr/bin/less'
passcat='cat /etc/passwd'
-patchlevel='9'
+patchlevel='8'
path_sep=':'
-perl5=''
+perl5='/usr/bin/perl'
perl=''
perl_patchlevel=''
perladmin='red@criticalintegration.com'
-perllibs='-lc -lm -ldl'
+perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc'
perlpath='/usr/bin/perl'
pg='pg'
phostname='hostname'
@@ -799,9 +809,9 @@ pmake=''
pr=''
prefix='/usr'
prefixexp='/usr'
-privlib='/usr/lib/perl5/5.9.0'
-privlibexp='/usr/lib/perl5/5.9.0'
-procselfexe=''
+privlib='/usr/lib/perl5/5.8.1'
+privlibexp='/usr/lib/perl5/5.8.1'
+procselfexe='"/proc/self/exe"'
prototype='define'
ptrsize='4'
quadkind='3'
@@ -810,7 +820,7 @@ randbits='48'
randfunc='drand48'
random_r_proto='0'
randseedtype='long'
-ranlib='/usr/bin/ranlib'
+ranlib=':'
rd_nodata='-1'
readdir64_r_proto='0'
readdir_r_proto='0'
@@ -854,26 +864,32 @@ shmattype='void *'
shortsize='2'
shrpenv=''
shsharp='true'
-sig_count='1'
-sig_name='ZERO '
-sig_name_init='"ZERO", 0'
-sig_num='0 '
-sig_num_init='0, 0'
-sig_size='1'
+sig_count='64'
+sig_name='ZERO HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT STOP TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS RTMIN NUM33 NUM34 NUM35 NUM36 NUM37 NUM38 NUM39 NUM40 NUM41 NUM42 NUM43 NUM44 NUM45 NUM46 NUM47 NUM48 NUM49 NUM50 NUM51 NUM52 NUM53 NUM54 NUM55 NUM56 NUM57 NUM58 NUM59 NUM60 NUM61 NUM62 RTMAX IOT CLD POLL UNUSED '
+sig_name_init='"ZERO", "HUP", "INT", "QUIT", "ILL", "TRAP", "ABRT", "BUS", "FPE", "KILL", "USR1", "SEGV", "USR2", "PIPE", "ALRM", "TERM", "STKFLT", "CHLD", "CONT", "STOP", "TSTP", "TTIN", "TTOU", "URG", "XCPU", "XFSZ", "VTALRM", "PROF", "WINCH", "IO", "PWR", "SYS", "RTMIN", "NUM33", "NUM34", "NUM35", "NUM36", "NUM37", "NUM38", "NUM39", "NUM40", "NUM41", "NUM42", "NUM43", "NUM44", "NUM45", "NUM46", "NUM47", "NUM48", "NUM49", "NUM50", "NUM51", "NUM52", "NUM53", "NUM54", "NUM55", "NUM56", "NUM57", "NUM58", "NUM59", "NUM60", "NUM61", "NUM62", "RTMAX", "IOT", "CLD", "POLL", "UNUSED", 0'
+sig_num='0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 6 17 29 31 '
+sig_num_init='0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 6, 17, 29, 31, 0'
+sig_size='68'
signal_t='void'
-sitearch='/usr/lib/perl5/site_perl/5.9.0/armv4l-linux'
-sitearchexp='/usr/lib/perl5/site_perl/5.9.0/armv4l-linux'
+sitearch='/usr/lib/perl5/site_perl/5.8.1/armv4l-linux'
+sitearchexp='/usr/lib/perl5/site_perl/5.8.1/armv4l-linux'
sitebin='/usr/bin'
sitebinexp='/usr/bin'
-sitehtml1=' '
-sitehtml1exp=''
-sitehtml3=' '
-sitehtml3exp=''
-sitelib='/usr/lib/perl5/site_perl/5.9.0'
+sitehtml1dir=''
+sitehtml1direxp=''
+sitehtml3dir=''
+sitehtml3direxp=''
+sitelib='/usr/lib/perl5/site_perl/5.8.1'
sitelib_stem='/usr/lib/perl5/site_perl'
-sitelibexp='/usr/lib/perl5/site_perl/5.9.0'
-siteprefix='/usr/lib/perl5.9.0'
+sitelibexp='/usr/lib/perl5/site_perl/5.8.1'
+siteman1dir='/usr/share/man/man1'
+siteman1direxp='/usr/share/man/man1'
+siteman3dir='/usr/share/man/man3'
+siteman3direxp='/usr/share/man/man3'
+siteprefix='/usr'
siteprefixexp='/usr'
+sitescript='/usr/bin'
+sitescriptexp='/usr/bin'
sizesize='4'
sizetype='size_t'
sleep=''
@@ -902,8 +918,8 @@ stdio_stream_array=''
strerror_r_proto='0'
strings='/usr/include/string.h'
submit=''
-subversion='0'
-sysman='/usr/man/man1'
+subversion='1'
+sysman='/usr/share/man/man1'
tail=''
tar=''
targetarch=''
@@ -938,8 +954,8 @@ use5005threads='undef'
use64bitall='undef'
use64bitint='undef'
usecrosscompile='undef'
-usedl='undef'
-usefaststdio='undef'
+usedl='define'
+usefaststdio='define'
useithreads='undef'
uselargefiles='define'
uselongdouble='undef'
@@ -969,34 +985,41 @@ vendorarch=''
vendorarchexp=''
vendorbin=''
vendorbinexp=''
+vendorhtml1dir=' '
+vendorhtml1direxp=''
+vendorhtml3dir=' '
+vendorhtml3direxp=''
vendorlib=''
vendorlib_stem=''
vendorlibexp=''
+vendorman1dir=' '
+vendorman1direxp=''
+vendorman3dir=' '
+vendorman3direxp=''
vendorprefix=''
vendorprefixexp=''
-version='5.9.0'
-version_patchlevel_string='version 9 subversion 0 patch 18374'
+vendorscript=''
+vendorscriptexp=''
+version='5.8.1'
+version_patchlevel_string='version 8 subversion 1'
versiononly='undef'
vi=''
voidflags='15'
xlibpth='/usr/lib/386 /lib/386'
-xs_apiversion='5.9.0'
+xs_apiversion='5.8.1'
yacc='yacc'
yaccflags=''
zcat=''
zip='zip'
# Configure command line arguments.
-config_arg0='./Configure'
-config_args='-Dprefix=/usr/local/perl5.9.0 -Uinstallusrbinperl -des'
-config_argc=3
-config_arg1='-Dprefix=/usr/local/perl5.9.0'
-config_arg2='-Uinstallusrbinperl'
-config_arg3='-des'
+config_arg0='Configure'
+config_args=''
+config_argc=0
PERL_REVISION=5
-PERL_VERSION=9
-PERL_SUBVERSION=0
+PERL_VERSION=8
+PERL_SUBVERSION=1
PERL_API_REVISION=5
-PERL_API_VERSION=9
+PERL_API_VERSION=8
PERL_API_SUBVERSION=0
-PERL_PATCHLEVEL=18374
+PERL_PATCHLEVEL=
PERL_CONFIG_SH=true
diff --git a/Cross/generate_config_sh b/Cross/generate_config_sh
index 408f5f4003..e47042a25f 100755
--- a/Cross/generate_config_sh
+++ b/Cross/generate_config_sh
@@ -2,22 +2,12 @@
##############################################################################
#
-# Ok, so there is this buildsystem that has variables set in shell
-# like this:
+# generate_config_sh
+# Process that takes an automatically generated config.sh
+# file and allows the environment to overload the values
+# automatically discovered by Configure on our target platform.
#
-# cc='gcc'
-#
-# This means we can go
-#
-# if test "${AR+set}" != set; then
-# ar='arm-linux-ar'
-# else
-# ar=${AR}
-# fi
-#
-# Right??? WRONG!
-#
-# Damn perl installation *PARSES* and *PATTERN MATCHES* this file.
+# Author Redvers Davies <red@criticalintegration.com>
#
##############################################################################
diff --git a/Cross/installperl.patch b/Cross/installperl.patch
index 1a1c5a6870..0101e660fe 100644
--- a/Cross/installperl.patch
+++ b/Cross/installperl.patch
@@ -1,5 +1,5 @@
---- ../installperl 2003-03-26 21:07:13.000000000 +0000
-+++ installperl 2003-05-01 11:17:48.000000000 +0000
+--- ../installperl 2003-08-31 11:58:48.000000000 -0500
++++ installperl 2003-09-05 02:38:40.000000000 -0500
@@ -3,8 +3,8 @@
BEGIN {
require 5.004;
@@ -11,7 +11,7 @@
}
use strict;
-@@ -878,7 +878,7 @@
+@@ -931,7 +931,7 @@
print " " if (@opts);
print "$file\n";
}