source: clfs-sysroot/patches/perl-5.8.8-cross_compile-2.patch@ 668e60a

Last change on this file since 668e60a was 3035090, checked in by Jim Gifford <clfs@…>, 18 years ago

Moved 2.0 patches into the clfs-2.0 trunk

  • Property mode set to 100644
File size: 69.9 KB
RevLine 
[3035090]1Submitted By: Joe Ciccone <jciccone@linuxfromscratch.org>
2Date: 2006-07-22
3Upstream Status: Not Submitted
4Origin: Joe Ciccone
5Description: Adds a Makefile to assit with the cross-compilation of perl.
6
7 Archs supported: arm x86
8
9 Usage:
10 cd Cross
11 make ARCH=[arch] CROSS_COMPILE=[cross-tools-prefix]
12 make DESTDIR=[optional:fakeroot] install
13
14diff -Naur perl-5.8.8.orig/Cross/config perl-5.8.8/Cross/config
15--- perl-5.8.8.orig/Cross/config 2006-07-22 18:17:24.000000000 -0400
16+++ perl-5.8.8/Cross/config 1969-12-31 19:00:00.000000000 -0500
17@@ -1,23 +0,0 @@
18-##############################################################################
19-#
20-# This is the configuration file used to specify the target platform and
21-# required level of debug or optimisation.
22-#
23-##############################################################################
24-
25-### Target Arch
26-ARCH = arm
27-#ARCH = i386-pc
28-#ARCH = sh4
29-#ARCH = mips
30-#ARCH = mipsel
31-#ARCH = ppc
32-
33-## Specific arm
34-CONFIG_TARGET_ARM_SA11X0 = 1
35-#CONFIG_TARGET_ARM_XSCALE = 1
36-
37-### Target OS
38-OS = linux
39-#OS = solaris2.8
40-
41diff -Naur perl-5.8.8.orig/Cross/config.sh-arm-linux perl-5.8.8/Cross/config.sh-arm-linux
42--- perl-5.8.8.orig/Cross/config.sh-arm-linux 2006-07-22 18:17:24.000000000 -0400
43+++ perl-5.8.8/Cross/config.sh-arm-linux 2006-07-22 18:17:35.000000000 -0400
44@@ -8,9 +8,9 @@
45
46 # Package name : perl5
47 # Source directory : .
48-# Configuration time: Wed Sep 3 22:24:58 EDT 2003
49-# Configured by : red
50-# Target system : linux openzaurus.criticalintegration.com 2.4.6-rmk1-np2-embedix #15 Wed Aug 6 07:49:44 UTC 2003 armv4l unknown
51+# Configuration time: Tue Jun 13 01:46:16 UTC 2006
52+# Configured by : root
53+# Target system : linux spitz 2.6.16 #1 preempt mon may 1 06:14:52 cest 2006 armv5tel gnulinux
54
55 Author=''
56 Date='$Date'
57@@ -36,10 +36,10 @@
58 api_version='8'
59 api_versionstring='5.8.0'
60 ar='ar'
61-archlib='/usr/lib/perl5/5.8.8/armv4l-linux'
62-archlibexp='/usr/lib/perl5/5.8.8/armv4l-linux'
63+archlib='/usr/lib/perl5/5.8.8/armv5tel-linux'
64+archlibexp='/usr/lib/perl5/5.8.8/armv5tel-linux'
65 archname64=''
66-archname='armv4l-linux'
67+archname='armv5tel-linux'
68 archobjs=''
69 asctime_r_proto='0'
70 awk='awk'
71@@ -55,15 +55,15 @@
72 cat='cat'
73 cc='cc'
74 cccdlflags='-fpic'
75-ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.8/armv4l-linux/CORE'
76-ccflags='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
77+ccdlflags='-Wl,-E'
78+ccflags='-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
79 ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
80 ccname='gcc'
81-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'
82+ccsymbols=''
83 ccversion=''
84-cf_by='red'
85-cf_email='red@criticalintegration.com'
86-cf_time='Wed Sep 3 22:24:58 EDT 2003'
87+cf_by='root'
88+f_email='root@spitz.ciccone'
89+cf_time='Tue Jun 13 01:46:16 UTC 2006'
90 charsize='1'
91 chgrp=''
92 chmod='chmod'
93@@ -76,13 +76,13 @@
94 cpio=''
95 cpp='cpp'
96 cpp_stuff='42'
97-cppccsymbols='__ELF__=1 __GNUC__=2 linux=1 unix=1'
98-cppflags='-fno-strict-aliasing -I/usr/local/include'
99+cppccsymbols=''
100+cppflags='-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include'
101 cpplast='-'
102 cppminus='-'
103 cpprun='cc -E'
104 cppstdin='cc -E'
105-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'
106+cppsymbols='__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'
107 crypt_r_proto='0'
108 cryptlib=''
109 csh='csh'
110@@ -111,13 +111,13 @@
111 d_asctime_r='undef'
112 d_atolf='undef'
113 d_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'
121+d_attribute_format='define'
122+d_attribute_malloc='define'
123+d_attribute_nonnull='define'
124+d_attribute_noreturn='define'
125+d_attribute_pure='define'
126+d_attribute_unused='define'
127+d_attribute_warn_unused_result='define'
128 d_bcmp='define'
129 d_bcopy='define'
130 d_bsd='undef'
131@@ -126,7 +126,7 @@
132 d_bzero='define'
133 d_casti32='define'
134 d_castneg='define'
135-d_charvspr='undef'
136+d_charvspr='define'
137 d_chown='define'
138 d_chroot='define'
139 d_chsize='undef'
140@@ -138,7 +138,7 @@
141 d_copysignl='define'
142 d_crypt='define'
143 d_crypt_r='undef'
144-d_csh='define'
145+d_csh='undef'
146 d_ctermid_r='undef'
147 d_ctime_r='undef'
148 d_cuserid='define'
149@@ -154,7 +154,7 @@
150 d_drand48_r='undef'
151 d_drand48proto='define'
152 d_dup2='define'
153-d_eaccess='undef'
154+d_eaccess='define'
155 d_endgrent='define'
156 d_endgrent_r='undef'
157 d_endhent='define'
158@@ -169,7 +169,7 @@
159 d_endservent_r='undef'
160 d_eofnblk='define'
161 d_eunice='undef'
162-d_faststdio='define'
163+d_faststdio='undef'
164 d_fchdir='define'
165 d_fchmod='define'
166 d_fchown='define'
167@@ -274,6 +274,7 @@
168 d_killpg='define'
169 d_lchown='define'
170 d_ldbl_dig='define'
171+d_libm_lib_version='define'
172 d_link='define'
173 d_localtime_r='undef'
174 d_locconv='define'
175@@ -321,7 +322,7 @@
176 d_nice='define'
177 d_nl_langinfo='define'
178 d_nv_preserves_uv='define'
179-d_nv_zero_is_allbits_zero='undef'
180+d_nv_zero_is_allbits_zero='define'
181 d_off64_t='undef'
182 d_old_pthread_create_joinable='undef'
183 d_oldpthreads='undef'
184@@ -334,7 +335,7 @@
185 d_pipe='define'
186 d_poll='define'
187 d_portable='define'
188-d_procselfexe='define'
189+d_procselfexe='undef'
190 d_pthread_atfork='undef'
191 d_pthread_attr_setscope='define'
192 d_pthread_yield='undef'
193@@ -416,9 +417,8 @@
194 d_sigaction='define'
195 d_sigprocmask='define'
196 d_sigsetjmp='define'
197-d_snprintf='undef'
198-d_sockatmark='undef'
199-d_sockatmarkproto='undef'
200+d_sockatmark='define'
201+d_sockatmarkproto='define'
202 d_socket='define'
203 d_socklen_t='define'
204 d_sockpair='define'
205@@ -434,12 +434,12 @@
206 d_statfs_s='define'
207 d_statvfs='define'
208 d_stdio_cnt_lval='undef'
209-d_stdio_ptr_lval='define'
210+d_stdio_ptr_lval='undef'
211 d_stdio_ptr_lval_nochange_cnt='undef'
212-d_stdio_ptr_lval_sets_cnt='define'
213+d_stdio_ptr_lval_sets_cnt='undef'
214 d_stdio_stream_array='undef'
215-d_stdiobase='define'
216-d_stdstdio='define'
217+d_stdiobase='undef'
218+d_stdstdio='undef'
219 d_strchr='define'
220 d_strcoll='define'
221 d_strctcpy='define'
222@@ -484,7 +484,7 @@
223 d_uname='define'
224 d_union_semun='undef'
225 d_unordered='undef'
226-d_unsetenv='unsetenv'
227+d_unsetenv='define'
228 d_usleep='define'
229 d_usleepproto='define'
230 d_ustat='define'
231@@ -498,7 +498,6 @@
232 d_voidtty=''
233 d_volatile='define'
234 d_vprintf='define'
235-d_vsnprintf='define'
236 d_wait4='define'
237 d_waitpid='define'
238 d_wcstombs='define'
239@@ -545,11 +544,11 @@
240 freetype='void'
241 from=':'
242 full_ar='/usr/bin/ar'
243-full_csh='/bin/csh'
244+full_csh='csh'
245 full_sed='/bin/sed'
246 gccansipedantic=''
247 gccosandvers=''
248-gccversion='2.95.3 20010125 (prerelease)'
249+gccversion='4.1.1'
250 getgrent_r_proto='0'
251 getgrgid_r_proto='0'
252 getgrnam_r_proto='0'
253@@ -577,7 +576,7 @@
254 glibpth='/usr/shlib /lib /usr/lib /usr/lib/386 /lib/386 /usr/ccs/lib /usr/ucblib /usr/local/lib '
255 gmake='gmake'
256 gmtime_r_proto='0'
257-gnulibc_version='2.2.2'
258+gnulibc_version='2.4'
259 grep='grep'
260 groupcat='cat /etc/group'
261 groupstype='gid_t'
262@@ -685,25 +684,25 @@
263 inc_version_list_init='0'
264 incpath=''
265 inews=''
266-installarchlib='./install_me_here/usr/lib/perl5/5.8.8/armv4l-linux'
267-installbin='./install_me_here/usr/bin'
268+installarchlib='/usr/lib/perl5/5.8.8/armv5tel-linux'
269+installbin='/usr/bin'
270 installhtml1dir=''
271 installhtml3dir=''
272-installman1dir='./install_me_here/usr/share/man/man1'
273-installman3dir='./install_me_here/usr/share/man/man3'
274-installprefix='./install_me_here/usr'
275-installprefixexp='./install_me_here/usr'
276-installprivlib='./install_me_here/usr/lib/perl5/5.8.8'
277-installscript='./install_me_here/usr/bin'
278-installsitearch='./install_me_here/usr/lib/perl5/site_perl/5.8.8/armv4l-linux'
279-installsitebin='./install_me_here/usr/bin'
280+installman1dir='/usr/share/man/man1'
281+installman3dir='/usr/share/man/man3'
282+installprefix='/usr'
283+installprefixexp='/usr'
284+installprivlib='/usr/lib/perl5/5.8.8'
285+installscript='/usr/bin'
286+installsitearch='/usr/lib/perl5/site_perl/5.8.8/armv5tel-linux'
287+installsitebin='/usr/bin'
288 installsitehtml1dir=''
289 installsitehtml3dir=''
290-installsitelib='./install_me_here/usr/lib/perl5/site_perl/5.8.8'
291-installsiteman1dir='./install_me_here/usr/share/man/man1'
292-installsiteman3dir='./install_me_here/usr/share/man/man3'
293-installsitescript='./install_me_here/usr/bin'
294-installstyle='./install_me_herelib/perl5'
295+installsitelib='/usr/lib/perl5/site_perl/5.8.8'
296+installsiteman1dir='/usr/share/man/man1'
297+installsiteman3dir='/usr/share/man/man3'
298+installsitescript='/usr/bin'
299+installstyle='lib/perl5'
300 installusrbinperl='undef'
301 installvendorarch=''
302 installvendorbin=''
303@@ -714,7 +713,7 @@
304 installvendorman3dir=''
305 installvendorscript=''
306 intsize='4'
307-issymlink='/usr/bin/test -h'
308+issymlink='/bin/test -h'
309 ivdformat='"ld"'
310 ivsize='4'
311 ivtype='long'
312@@ -727,15 +726,15 @@
313 ldlibpthname='LD_LIBRARY_PATH'
314 less='less'
315 lib_ext='.a'
316-libc='/lib/libc-2.2.2.so'
317-libperl='libperl.so'
318+libc='/lib/libc-2.4.so'
319+libperl='libperl.a'
320 libpth='/usr/local/lib /lib /usr/lib'
321 libs='-lnsl -ldl -lm -lcrypt -lutil -lc'
322 libsdirs=' /usr/lib'
323 libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libc.so'
324 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'
325 libspath=' /usr/local/lib /lib /usr/lib'
326-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'
327+libswanted='sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util c cposix posix ucb BSD'
328 libswanted_uselargefiles=''
329 line=''
330 lint=''
331@@ -774,10 +773,10 @@
332 more='more'
333 multiarch='undef'
334 mv=''
335-myarchname='armv4l-linux'
336-mydomain='.criticalintegration.com'
337-myhostname='openzaurus'
338-myuname='linux openzaurus.criticalintegration.com 2.4.6-rmk1-np2-embedix #15 Wed Aug 6 07:49:44 UTC 2003 armv4l unknown '
339+myarchname='armv5tel-linux'
340+mydomain='.ciccone'
341+myhostname='spitz'
342+myuname='linux spitz 2.6.16 #1 preempt mon may 1 06:14:52 cest 2006 armv5tel gnulinux '
343 n='-n'
344 need_va_copy='undef'
345 netdb_hlen_type='size_t'
346@@ -804,17 +803,17 @@
347 optimize='-O2'
348 orderlib='false'
349 osname='linux'
350-osvers='2.4.6-rmk1-np2-embedix'
351+osvers='2.6.16'
352 otherlibdirs=' '
353 package='perl5'
354-pager='/usr/bin/less'
355+pager='/bin/less -isR'
356 passcat='cat /etc/passwd'
357 patchlevel='8'
358 path_sep=':'
359-perl5='/usr/bin/perl'
360+perl5=''
361 perl=''
362 perl_patchlevel=''
363-perladmin='red@criticalintegration.com'
364+perladmin='root@spitz.ciccone'
365 perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc'
366 perlpath='/usr/bin/perl'
367 pg='pg'
368@@ -827,7 +826,7 @@
369 prefixexp='/usr'
370 privlib='/usr/lib/perl5/5.8.8'
371 privlibexp='/usr/lib/perl5/5.8.8'
372-procselfexe='"/proc/self/exe"'
373+procselfexe=''
374 prototype='define'
375 ptrsize='4'
376 quadkind='3'
377@@ -880,15 +879,15 @@
378 shortsize='2'
379 shrpenv=''
380 shsharp='true'
381-sig_count='64'
382-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 '
383-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'
384-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 '
385-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'
386-sig_size='68'
387+sig_count='65'
388+sig_name='ZERO HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT STOP TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS NUM32 NUM33 RTMIN NUM35 NUM36 NUM37 NUM38 NUM39 NUM40 NUM41 NUM42 NUM43 NUM44 NUM45 NUM46 NUM47 NUM48 NUM49 NUM50 NUM51 NUM52 NUM53 NUM54 NUM55 NUM56 NUM57 NUM58 NUM59 NUM60 NUM61 NUM62 NUM63 RTMAX IOT CLD POLL UNUSED '
389+sig_name_init='"ZERO", "HUP", "INT", "QUIT", "ILL", "TRAP", "ABRT", "BUS", "FPE", "KILL", "USR1", "SEGV", "USR2", "PIPE", "ALRM", "TERM", "STKFLT", "CHLD", "CONT", "STOP", "TSTP", "TTIN", "TTOU", "URG", "XCPU", "XFSZ", "VTALRM", "PROF", "WINCH", "IO", "PWR", "SYS", "NUM32", "NUM33", "RTMIN", "NUM35", "NUM36", "NUM37", "NUM38", "NUM39", "NUM40", "NUM41", "NUM42", "NUM43", "NUM44", "NUM45", "NUM46", "NUM47", "NUM48", "NUM49", "NUM50", "NUM51", "NUM52", "NUM53", "NUM54", "NUM55", "NUM56", "NUM57", "NUM58", "NUM59", "NUM60", "NUM61", "NUM62", "NUM63", "RTMAX", "IOT", "CLD", "POLL", "UNUSED", 0'
390+sig_num='0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 6 17 29 31 '
391+sig_num_init='0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 6, 17, 29, 31, 0'
392+sig_size='69'
393 signal_t='void'
394-sitearch='/usr/lib/perl5/site_perl/5.8.8/armv4l-linux'
395-sitearchexp='/usr/lib/perl5/site_perl/5.8.8/armv4l-linux'
396+sitearch='/usr/lib/perl5/site_perl/5.8.8/armv5tel-linux'
397+sitearchexp='/usr/lib/perl5/site_perl/5.8.8/armv5tel-linux'
398 sitebin='/usr/bin'
399 sitebinexp='/usr/bin'
400 sitehtml1dir=''
401@@ -984,10 +983,9 @@
402 useperlio='define'
403 useposix='true'
404 usereentrant='undef'
405-userelocatableinc='undef'
406 usesfio='false'
407+useshrplib='false'
408 usesitecustomize='undef'
409-useshrplib='true'
410 usesocks='undef'
411 usethreads='undef'
412 usevendorprefix='undef'
413@@ -1031,8 +1029,14 @@
414 zip='zip'
415 # Configure command line arguments.
416 config_arg0='Configure'
417-config_args=''
418-config_argc=0
419+config_args='-ds -e -Dprefix=/usr -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dpager=/bin/less -isR'
420+config_argc=6
421+config_arg1='-ds'
422+config_arg2='-e'
423+config_arg3='-Dprefix=/usr'
424+config_arg4='-Dman1dir=/usr/share/man/man1'
425+config_arg5='-Dman3dir=/usr/share/man/man3'
426+config_arg6='-Dpager=/bin/less -isR'
427 PERL_REVISION=5
428 PERL_VERSION=8
429 PERL_SUBVERSION=8
430diff -Naur perl-5.8.8.orig/Cross/config.sh-x86-linux perl-5.8.8/Cross/config.sh-x86-linux
431--- perl-5.8.8.orig/Cross/config.sh-x86-linux 1969-12-31 19:00:00.000000000 -0500
432+++ perl-5.8.8/Cross/config.sh-x86-linux 2006-07-22 18:18:01.000000000 -0400
433@@ -0,0 +1,1047 @@
434+#!/bin/sh
435+#
436+# This file was produced by running the Configure script. It holds all the
437+# definitions figured out by Configure. Should you modify one of these values,
438+# do not forget to propagate your changes by running "Configure -der". You may
439+# instead choose to run each of the .SH files by yourself, or "Configure -S".
440+#
441+
442+# Package name : perl5
443+# Source directory : .
444+# Configuration time: Sun Jul 9 12:50:37 EDT 2006
445+# Configured by : root
446+# Target system : linux lfslivecd 2.6.16.14 #1 smp sat may 13 11:48:14 gmt 2006 i686 pentium3 i386 gnulinux
447+
448+Author=''
449+Date='$Date'
450+Header=''
451+Id='$Id'
452+Locker=''
453+Log='$Log'
454+Mcc='Mcc'
455+RCSfile='$RCSfile'
456+Revision='$Revision'
457+Source=''
458+State=''
459+_a='.a'
460+_exe=''
461+_o='.o'
462+afs='false'
463+afsroot='/afs'
464+alignbytes='4'
465+ansi2knr=''
466+aphostname='/bin/hostname'
467+api_revision='5'
468+api_subversion='0'
469+api_version='8'
470+api_versionstring='5.8.0'
471+ar='ar'
472+archlib='/usr/lib/perl5/5.8.8/i686-linux'
473+archlibexp='/usr/lib/perl5/5.8.8/i686-linux'
474+archname64=''
475+archname='i686-linux'
476+archobjs=''
477+asctime_r_proto='0'
478+awk='awk'
479+baserev='5.0'
480+bash=''
481+bin='/usr/bin'
482+binexp='/usr/bin'
483+bison='bison'
484+byacc='byacc'
485+byteorder='1234'
486+c=''
487+castflags='0'
488+cat='cat'
489+cc='cc'
490+cccdlflags='-fpic'
491+ccdlflags='-Wl,-E'
492+ccflags='-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
493+ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
494+ccname='gcc'
495+ccsymbols=''
496+ccversion=''
497+cf_by='root'
498+cf_email='root@lfslivecd.jenacon.net'
499+cf_time='Sun Jul 9 12:50:37 EDT 2006'
500+charsize='1'
501+chgrp=''
502+chmod='chmod'
503+chown=''
504+clocktype='clock_t'
505+comm='comm'
506+compress=''
507+contains='grep'
508+cp='cp'
509+cpio=''
510+cpp='cpp'
511+cpp_stuff='42'
512+cppccsymbols=''
513+cppflags='-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include'
514+cpplast='-'
515+cppminus='-'
516+cpprun='cc -E'
517+cppstdin='cc -E'
518+cppsymbols='__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 i386=1 __i386=1 __i386__=1 linux=1 __linux=1 __linux__=1 unix=1 __unix=1 __unix__=1'
519+crypt_r_proto='0'
520+cryptlib=''
521+csh='csh'
522+ctermid_r_proto='0'
523+ctime_r_proto='0'
524+d_Gconvert='gcvt((x),(n),(b))'
525+d_PRIEUldbl='define'
526+d_PRIFUldbl='define'
527+d_PRIGUldbl='define'
528+d_PRIXU64='define'
529+d_PRId64='define'
530+d_PRIeldbl='define'
531+d_PRIfldbl='define'
532+d_PRIgldbl='define'
533+d_PRIi64='define'
534+d_PRIo64='define'
535+d_PRIu64='define'
536+d_PRIx64='define'
537+d_SCNfldbl='define'
538+d__fwalk='undef'
539+d_access='define'
540+d_accessx='undef'
541+d_aintl='undef'
542+d_alarm='define'
543+d_archlib='define'
544+d_asctime_r='undef'
545+d_atolf='undef'
546+d_atoll='define'
547+d_attribute_format='define'
548+d_attribute_malloc='define'
549+d_attribute_nonnull='define'
550+d_attribute_noreturn='define'
551+d_attribute_pure='define'
552+d_attribute_unused='define'
553+d_attribute_warn_unused_result='define'
554+d_bcmp='define'
555+d_bcopy='define'
556+d_bsd='undef'
557+d_bsdgetpgrp='undef'
558+d_bsdsetpgrp='undef'
559+d_bzero='define'
560+d_casti32='undef'
561+d_castneg='define'
562+d_charvspr='define'
563+d_chown='define'
564+d_chroot='define'
565+d_chsize='undef'
566+d_class='undef'
567+d_clearenv='define'
568+d_closedir='define'
569+d_cmsghdr_s='define'
570+d_const='define'
571+d_copysignl='define'
572+d_crypt='define'
573+d_crypt_r='undef'
574+d_csh='undef'
575+d_ctermid_r='undef'
576+d_ctime_r='undef'
577+d_cuserid='define'
578+d_dbl_dig='define'
579+d_dbminitproto='undef'
580+d_difftime='define'
581+d_dirfd='define'
582+d_dirnamlen='undef'
583+d_dlerror='define'
584+d_dlopen='define'
585+d_dlsymun='undef'
586+d_dosuid='undef'
587+d_drand48_r='undef'
588+d_drand48proto='define'
589+d_dup2='define'
590+d_eaccess='define'
591+d_endgrent='define'
592+d_endgrent_r='undef'
593+d_endhent='define'
594+d_endhostent_r='undef'
595+d_endnent='define'
596+d_endnetent_r='undef'
597+d_endpent='define'
598+d_endprotoent_r='undef'
599+d_endpwent='define'
600+d_endpwent_r='undef'
601+d_endsent='define'
602+d_endservent_r='undef'
603+d_eofnblk='define'
604+d_eunice='undef'
605+d_faststdio='undef'
606+d_fchdir='define'
607+d_fchmod='define'
608+d_fchown='define'
609+d_fcntl='define'
610+d_fcntl_can_lock='define'
611+d_fd_macros='define'
612+d_fd_set='define'
613+d_fds_bits='undef'
614+d_fgetpos='define'
615+d_finite='define'
616+d_finitel='define'
617+d_flexfnam='define'
618+d_flock='define'
619+d_flockproto='define'
620+d_fork='define'
621+d_fp_class='undef'
622+d_fpathconf='define'
623+d_fpclass='undef'
624+d_fpclassify='undef'
625+d_fpclassl='undef'
626+d_fpos64_t='undef'
627+d_frexpl='define'
628+d_fs_data_s='undef'
629+d_fseeko='define'
630+d_fsetpos='define'
631+d_fstatfs='define'
632+d_fstatvfs='define'
633+d_fsync='define'
634+d_ftello='define'
635+d_ftime='undef'
636+d_futimes='define'
637+d_getcwd='define'
638+d_getespwnam='undef'
639+d_getfsstat='undef'
640+d_getgrent='define'
641+d_getgrent_r='undef'
642+d_getgrgid_r='undef'
643+d_getgrnam_r='undef'
644+d_getgrps='define'
645+d_gethbyaddr='define'
646+d_gethbyname='define'
647+d_gethent='define'
648+d_gethname='define'
649+d_gethostbyaddr_r='undef'
650+d_gethostbyname_r='undef'
651+d_gethostent_r='undef'
652+d_gethostprotos='define'
653+d_getitimer='define'
654+d_getlogin='define'
655+d_getlogin_r='undef'
656+d_getmnt='undef'
657+d_getmntent='define'
658+d_getnbyaddr='define'
659+d_getnbyname='define'
660+d_getnent='define'
661+d_getnetbyaddr_r='undef'
662+d_getnetbyname_r='undef'
663+d_getnetent_r='undef'
664+d_getnetprotos='define'
665+d_getpagsz='define'
666+d_getpbyname='define'
667+d_getpbynumber='define'
668+d_getpent='define'
669+d_getpgid='define'
670+d_getpgrp2='undef'
671+d_getpgrp='define'
672+d_getppid='define'
673+d_getprior='define'
674+d_getprotobyname_r='undef'
675+d_getprotobynumber_r='undef'
676+d_getprotoent_r='undef'
677+d_getprotoprotos='define'
678+d_getprpwnam='undef'
679+d_getpwent='define'
680+d_getpwent_r='undef'
681+d_getpwnam_r='undef'
682+d_getpwuid_r='undef'
683+d_getsbyname='define'
684+d_getsbyport='define'
685+d_getsent='define'
686+d_getservbyname_r='undef'
687+d_getservbyport_r='undef'
688+d_getservent_r='undef'
689+d_getservprotos='define'
690+d_getspnam='define'
691+d_getspnam_r='undef'
692+d_gettimeod='define'
693+d_gmtime_r='undef'
694+d_gnulibc='define'
695+d_grpasswd='define'
696+d_hasmntopt='define'
697+d_htonl='define'
698+d_ilogbl='define'
699+d_index='undef'
700+d_inetaton='define'
701+d_int64_t='define'
702+d_isascii='define'
703+d_isfinite='undef'
704+d_isinf='define'
705+d_isnan='define'
706+d_isnanl='define'
707+d_killpg='define'
708+d_lchown='define'
709+d_ldbl_dig='define'
710+d_libm_lib_version='define'
711+d_link='define'
712+d_localtime_r='undef'
713+d_locconv='define'
714+d_lockf='define'
715+d_longdbl='define'
716+d_longlong='define'
717+d_lseekproto='define'
718+d_lstat='define'
719+d_madvise='define'
720+d_malloc_good_size='undef'
721+d_malloc_size='undef'
722+d_mblen='define'
723+d_mbstowcs='define'
724+d_mbtowc='define'
725+d_memchr='define'
726+d_memcmp='define'
727+d_memcpy='define'
728+d_memmove='define'
729+d_memset='define'
730+d_mkdir='define'
731+d_mkdtemp='define'
732+d_mkfifo='define'
733+d_mkstemp='define'
734+d_mkstemps='undef'
735+d_mktime='define'
736+d_mmap='define'
737+d_modfl='define'
738+d_modfl_pow32_bug='undef'
739+d_modflproto='define'
740+d_mprotect='define'
741+d_msg='define'
742+d_msg_ctrunc='define'
743+d_msg_dontroute='define'
744+d_msg_oob='define'
745+d_msg_peek='define'
746+d_msg_proxy='define'
747+d_msgctl='define'
748+d_msgget='define'
749+d_msghdr_s='define'
750+d_msgrcv='define'
751+d_msgsnd='define'
752+d_msync='define'
753+d_munmap='define'
754+d_mymalloc='undef'
755+d_nice='define'
756+d_nl_langinfo='define'
757+d_nv_preserves_uv='define'
758+d_nv_zero_is_allbits_zero='define'
759+d_off64_t='undef'
760+d_old_pthread_create_joinable='undef'
761+d_oldpthreads='undef'
762+d_oldsock='undef'
763+d_open3='define'
764+d_pathconf='define'
765+d_pause='define'
766+d_perl_otherlibdirs='undef'
767+d_phostname='undef'
768+d_pipe='define'
769+d_poll='define'
770+d_portable='define'
771+d_procselfexe='define'
772+d_pthread_atfork='undef'
773+d_pthread_attr_setscope='define'
774+d_pthread_yield='undef'
775+d_pwage='undef'
776+d_pwchange='undef'
777+d_pwclass='undef'
778+d_pwcomment='undef'
779+d_pwexpire='undef'
780+d_pwgecos='define'
781+d_pwpasswd='define'
782+d_pwquota='undef'
783+d_qgcvt='define'
784+d_quad='define'
785+d_random_r='undef'
786+d_readdir64_r='undef'
787+d_readdir='define'
788+d_readdir_r='undef'
789+d_readlink='define'
790+d_readv='define'
791+d_recvmsg='define'
792+d_rename='define'
793+d_rewinddir='define'
794+d_rmdir='define'
795+d_safebcpy='undef'
796+d_safemcpy='undef'
797+d_sanemcmp='define'
798+d_sbrkproto='define'
799+d_scalbnl='define'
800+d_sched_yield='define'
801+d_scm_rights='define'
802+d_seekdir='define'
803+d_select='define'
804+d_sem='define'
805+d_semctl='define'
806+d_semctl_semid_ds='define'
807+d_semctl_semun='define'
808+d_semget='define'
809+d_semop='define'
810+d_sendmsg='define'
811+d_setegid='define'
812+d_seteuid='define'
813+d_setgrent='define'
814+d_setgrent_r='undef'
815+d_setgrps='define'
816+d_sethent='define'
817+d_sethostent_r='undef'
818+d_setitimer='define'
819+d_setlinebuf='define'
820+d_setlocale='define'
821+d_setlocale_r='undef'
822+d_setnent='define'
823+d_setnetent_r='undef'
824+d_setpent='define'
825+d_setpgid='define'
826+d_setpgrp2='undef'
827+d_setpgrp='define'
828+d_setprior='define'
829+d_setproctitle='undef'
830+d_setprotoent_r='undef'
831+d_setpwent='define'
832+d_setpwent_r='undef'
833+d_setregid='define'
834+d_setresgid='define'
835+d_setresuid='define'
836+d_setreuid='define'
837+d_setrgid='undef'
838+d_setruid='undef'
839+d_setsent='define'
840+d_setservent_r='undef'
841+d_setsid='define'
842+d_setvbuf='define'
843+d_sfio='undef'
844+d_shm='define'
845+d_shmat='define'
846+d_shmatprototype='define'
847+d_shmctl='define'
848+d_shmdt='define'
849+d_shmget='define'
850+d_sigaction='define'
851+d_sigprocmask='define'
852+d_sigsetjmp='define'
853+d_sockatmark='define'
854+d_sockatmarkproto='define'
855+d_socket='define'
856+d_socklen_t='define'
857+d_sockpair='define'
858+d_socks5_init='undef'
859+d_sprintf_returns_strlen='define'
860+d_sqrtl='define'
861+d_srand48_r='undef'
862+d_srandom_r='undef'
863+d_sresgproto='undef'
864+d_sresuproto='undef'
865+d_statblks='define'
866+d_statfs_f_flags='undef'
867+d_statfs_s='define'
868+d_statvfs='define'
869+d_stdio_cnt_lval='undef'
870+d_stdio_ptr_lval='undef'
871+d_stdio_ptr_lval_nochange_cnt='undef'
872+d_stdio_ptr_lval_sets_cnt='undef'
873+d_stdio_stream_array='undef'
874+d_stdiobase='undef'
875+d_stdstdio='undef'
876+d_strchr='define'
877+d_strcoll='define'
878+d_strctcpy='define'
879+d_strerrm='strerror(e)'
880+d_strerror='define'
881+d_strerror_r='undef'
882+d_strftime='define'
883+d_strlcat='undef'
884+d_strlcpy='undef'
885+d_strtod='define'
886+d_strtol='define'
887+d_strtold='define'
888+d_strtoll='define'
889+d_strtoq='define'
890+d_strtoul='define'
891+d_strtoull='define'
892+d_strtouq='define'
893+d_strxfrm='define'
894+d_suidsafe='undef'
895+d_symlink='define'
896+d_syscall='define'
897+d_syscallproto='define'
898+d_sysconf='define'
899+d_sysernlst=''
900+d_syserrlst='define'
901+d_system='define'
902+d_tcgetpgrp='define'
903+d_tcsetpgrp='define'
904+d_telldir='define'
905+d_telldirproto='define'
906+d_time='define'
907+d_times='define'
908+d_tm_tm_gmtoff='define'
909+d_tm_tm_zone='define'
910+d_tmpnam_r='undef'
911+d_truncate='define'
912+d_ttyname_r='undef'
913+d_tzname='define'
914+d_u32align='undef'
915+d_ualarm='define'
916+d_umask='define'
917+d_uname='define'
918+d_union_semun='undef'
919+d_unordered='undef'
920+d_unsetenv='define'
921+d_usleep='define'
922+d_usleepproto='define'
923+d_ustat='define'
924+d_vendorarch='undef'
925+d_vendorbin='undef'
926+d_vendorlib='undef'
927+d_vendorscript='undef'
928+d_vfork='undef'
929+d_void_closedir='undef'
930+d_voidsig='define'
931+d_voidtty=''
932+d_volatile='define'
933+d_vprintf='define'
934+d_wait4='define'
935+d_waitpid='define'
936+d_wcstombs='define'
937+d_wctomb='define'
938+d_writev='define'
939+d_xenix='undef'
940+date='date'
941+db_hashtype='u_int32_t'
942+db_prefixtype='size_t'
943+db_version_major=''
944+db_version_minor=''
945+db_version_patch=''
946+defvoidused='15'
947+direntrytype='struct dirent'
948+dlext='so'
949+dlsrc='dl_dlopen.xs'
950+doublesize='8'
951+drand01='drand48()'
952+drand48_r_proto='0'
953+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'
954+eagain='EAGAIN'
955+ebcdic='undef'
956+echo='echo'
957+egrep='egrep'
958+emacs=''
959+endgrent_r_proto='0'
960+endhostent_r_proto='0'
961+endnetent_r_proto='0'
962+endprotoent_r_proto='0'
963+endpwent_r_proto='0'
964+endservent_r_proto='0'
965+eunicefix=':'
966+exe_ext=''
967+expr='expr'
968+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'
969+extras=''
970+fflushNULL='define'
971+fflushall='undef'
972+find=''
973+firstmakefile='makefile'
974+flex=''
975+fpossize='16'
976+fpostype='fpos_t'
977+freetype='void'
978+from=':'
979+full_ar='/usr/bin/ar'
980+full_csh='csh'
981+full_sed='/bin/sed'
982+gccansipedantic=''
983+gccosandvers=''
984+gccversion='4.1.1'
985+getgrent_r_proto='0'
986+getgrgid_r_proto='0'
987+getgrnam_r_proto='0'
988+gethostbyaddr_r_proto='0'
989+gethostbyname_r_proto='0'
990+gethostent_r_proto='0'
991+getlogin_r_proto='0'
992+getnetbyaddr_r_proto='0'
993+getnetbyname_r_proto='0'
994+getnetent_r_proto='0'
995+getprotobyname_r_proto='0'
996+getprotobynumber_r_proto='0'
997+getprotoent_r_proto='0'
998+getpwent_r_proto='0'
999+getpwnam_r_proto='0'
1000+getpwuid_r_proto='0'
1001+getservbyname_r_proto='0'
1002+getservbyport_r_proto='0'
1003+getservent_r_proto='0'
1004+getspnam_r_proto='0'
1005+gidformat='"lu"'
1006+gidsign='1'
1007+gidsize='4'
1008+gidtype='gid_t'
1009+glibpth='/usr/shlib /lib /usr/lib /usr/lib/386 /lib/386 /usr/ccs/lib /usr/ucblib /usr/local/lib '
1010+gmake='gmake'
1011+gmtime_r_proto='0'
1012+gnulibc_version='2.4'
1013+grep='grep'
1014+groupcat='cat /etc/group'
1015+groupstype='gid_t'
1016+gzip='gzip'
1017+h_fcntl='false'
1018+h_sysfile='true'
1019+hint='recommended'
1020+hostcat='cat /etc/hosts'
1021+html1dir=' '
1022+html1direxp=''
1023+html3dir=' '
1024+html3direxp=''
1025+i16size='2'
1026+i16type='short'
1027+i32size='4'
1028+i32type='long'
1029+i64size='8'
1030+i64type='long long'
1031+i8size='1'
1032+i8type='char'
1033+i_arpainet='define'
1034+i_bsdioctl=''
1035+i_crypt='define'
1036+i_db='undef'
1037+i_dbm='undef'
1038+i_dirent='define'
1039+i_dld='undef'
1040+i_dlfcn='define'
1041+i_fcntl='undef'
1042+i_float='define'
1043+i_fp='undef'
1044+i_fp_class='undef'
1045+i_gdbm='undef'
1046+i_grp='define'
1047+i_ieeefp='undef'
1048+i_inttypes='define'
1049+i_langinfo='define'
1050+i_libutil='undef'
1051+i_limits='define'
1052+i_locale='define'
1053+i_machcthr='undef'
1054+i_malloc='define'
1055+i_math='define'
1056+i_memory='undef'
1057+i_mntent='define'
1058+i_ndbm='undef'
1059+i_netdb='define'
1060+i_neterrno='undef'
1061+i_netinettcp='define'
1062+i_niin='define'
1063+i_poll='define'
1064+i_prot='undef'
1065+i_pthread='define'
1066+i_pwd='define'
1067+i_rpcsvcdbm='undef'
1068+i_sfio='undef'
1069+i_sgtty='undef'
1070+i_shadow='define'
1071+i_socks='undef'
1072+i_stdarg='define'
1073+i_stddef='define'
1074+i_stdlib='define'
1075+i_string='define'
1076+i_sunmath='undef'
1077+i_sysaccess='undef'
1078+i_sysdir='define'
1079+i_sysfile='define'
1080+i_sysfilio='undef'
1081+i_sysin='undef'
1082+i_sysioctl='define'
1083+i_syslog='define'
1084+i_sysmman='define'
1085+i_sysmode='undef'
1086+i_sysmount='define'
1087+i_sysndir='undef'
1088+i_sysparam='define'
1089+i_sysresrc='define'
1090+i_syssecrt='undef'
1091+i_sysselct='define'
1092+i_syssockio='undef'
1093+i_sysstat='define'
1094+i_sysstatfs='define'
1095+i_sysstatvfs='define'
1096+i_systime='define'
1097+i_systimek='undef'
1098+i_systimes='define'
1099+i_systypes='define'
1100+i_sysuio='define'
1101+i_sysun='define'
1102+i_sysutsname='define'
1103+i_sysvfs='define'
1104+i_syswait='define'
1105+i_termio='undef'
1106+i_termios='define'
1107+i_time='define'
1108+i_unistd='define'
1109+i_ustat='define'
1110+i_utime='define'
1111+i_values='define'
1112+i_varargs='undef'
1113+i_varhdr='stdarg.h'
1114+i_vfork='undef'
1115+ignore_versioned_solibs='y'
1116+inc_version_list=' '
1117+inc_version_list_init='0'
1118+incpath=''
1119+inews=''
1120+installarchlib='/usr/lib/perl5/5.8.8/i686-linux'
1121+installbin='/usr/bin'
1122+installhtml1dir=''
1123+installhtml3dir=''
1124+installman1dir='/usr/share/man/man1'
1125+installman3dir='/usr/share/man/man3'
1126+installprefix='/usr'
1127+installprefixexp='/usr'
1128+installprivlib='/usr/lib/perl5/5.8.8'
1129+installscript='/usr/bin'
1130+installsitearch='/usr/lib/perl5/site_perl/5.8.8/i686-linux'
1131+installsitebin='/usr/bin'
1132+installsitehtml1dir=''
1133+installsitehtml3dir=''
1134+installsitelib='/usr/lib/perl5/site_perl/5.8.8'
1135+installsiteman1dir='/usr/share/man/man1'
1136+installsiteman3dir='/usr/share/man/man3'
1137+installsitescript='/usr/bin'
1138+installstyle='lib/perl5'
1139+installusrbinperl='undef'
1140+installvendorarch=''
1141+installvendorbin=''
1142+installvendorhtml1dir=''
1143+installvendorhtml3dir=''
1144+installvendorlib=''
1145+installvendorman1dir=''
1146+installvendorman3dir=''
1147+installvendorscript=''
1148+intsize='4'
1149+issymlink='/bin/test -h'
1150+ivdformat='"ld"'
1151+ivsize='4'
1152+ivtype='long'
1153+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'
1154+ksh=''
1155+ld='cc'
1156+lddlflags='-shared -L/usr/local/lib'
1157+ldflags=' -L/usr/local/lib'
1158+ldflags_uselargefiles=''
1159+ldlibpthname='LD_LIBRARY_PATH'
1160+less='less'
1161+lib_ext='.a'
1162+libc='/lib/libc-2.4.so'
1163+libperl='libperl.a'
1164+libpth='/usr/local/lib /lib /usr/lib'
1165+libs='-lnsl -ldl -lm -lcrypt -lutil -lc'
1166+libsdirs=' /usr/lib'
1167+libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libc.so'
1168+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'
1169+libspath=' /usr/local/lib /lib /usr/lib'
1170+libswanted='sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util c cposix posix ucb BSD'
1171+libswanted_uselargefiles=''
1172+line=''
1173+lint=''
1174+lkflags=''
1175+ln='ln'
1176+lns='/bin/ln -s'
1177+localtime_r_proto='0'
1178+locincpth='/usr/local/include /opt/local/include /usr/gnu/include /opt/gnu/include /usr/GNU/include /opt/GNU/include'
1179+loclibpth='/usr/local/lib /opt/local/lib /usr/gnu/lib /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib'
1180+longdblsize='12'
1181+longlongsize='8'
1182+longsize='4'
1183+lp=''
1184+lpr=''
1185+ls='ls'
1186+lseeksize='8'
1187+lseektype='off_t'
1188+mail=''
1189+mailx=''
1190+make='make'
1191+make_set_make='#'
1192+mallocobj=''
1193+mallocsrc=''
1194+malloctype='void *'
1195+man1dir='/usr/share/man/man1'
1196+man1direxp='/usr/share/man/man1'
1197+man1ext='1'
1198+man3dir='/usr/share/man/man3'
1199+man3direxp='/usr/share/man/man3'
1200+man3ext='3'
1201+mips_type=''
1202+mistrustnm=''
1203+mkdir='mkdir'
1204+mmaptype='void *'
1205+modetype='mode_t'
1206+more='more'
1207+multiarch='undef'
1208+mv=''
1209+myarchname='i686-linux'
1210+mydomain='.jenacon.net'
1211+myhostname='lfslivecd'
1212+myuname='linux lfslivecd 2.6.16.14 #1 smp sat may 13 11:48:14 gmt 2006 i686 pentium3 i386 gnulinux '
1213+n='-n'
1214+need_va_copy='undef'
1215+netdb_hlen_type='size_t'
1216+netdb_host_type='const void *'
1217+netdb_name_type='const char *'
1218+netdb_net_type='in_addr_t'
1219+nm='nm'
1220+nm_opt=''
1221+nm_so_opt='--dynamic'
1222+nonxs_ext='Errno'
1223+nroff='nroff'
1224+nvEUformat='"E"'
1225+nvFUformat='"F"'
1226+nvGUformat='"G"'
1227+nv_preserves_uv_bits='32'
1228+nveformat='"e"'
1229+nvfformat='"f"'
1230+nvgformat='"g"'
1231+nvsize='8'
1232+nvtype='double'
1233+o_nonblock='O_NONBLOCK'
1234+obj_ext='.o'
1235+old_pthread_create_joinable=''
1236+optimize='-O2'
1237+orderlib='false'
1238+osname='linux'
1239+osvers='2.6.16.14'
1240+otherlibdirs=' '
1241+package='perl5'
1242+pager='/usr/bin/less -isR'
1243+passcat='cat /etc/passwd'
1244+patchlevel='8'
1245+path_sep=':'
1246+perl5=''
1247+perl=''
1248+perl_patchlevel=''
1249+perladmin='root@lfslivecd.jenacon.net'
1250+perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc'
1251+perlpath='/usr/bin/perl'
1252+pg='pg'
1253+phostname='hostname'
1254+pidtype='pid_t'
1255+plibpth=''
1256+pmake=''
1257+pr=''
1258+prefix='/usr'
1259+prefixexp='/usr'
1260+privlib='/usr/lib/perl5/5.8.8'
1261+privlibexp='/usr/lib/perl5/5.8.8'
1262+procselfexe='"/proc/self/exe"'
1263+prototype='define'
1264+ptrsize='4'
1265+quadkind='3'
1266+quadtype='long long'
1267+randbits='48'
1268+randfunc='drand48'
1269+random_r_proto='0'
1270+randseedtype='long'
1271+ranlib=':'
1272+rd_nodata='-1'
1273+readdir64_r_proto='0'
1274+readdir_r_proto='0'
1275+revision='5'
1276+rm='rm'
1277+rmail=''
1278+run=''
1279+runnm='false'
1280+sPRIEUldbl='"LE"'
1281+sPRIFUldbl='"LF"'
1282+sPRIGUldbl='"LG"'
1283+sPRIXU64='"LX"'
1284+sPRId64='"Ld"'
1285+sPRIeldbl='"Le"'
1286+sPRIfldbl='"Lf"'
1287+sPRIgldbl='"Lg"'
1288+sPRIi64='"Li"'
1289+sPRIo64='"Lo"'
1290+sPRIu64='"Lu"'
1291+sPRIx64='"Lx"'
1292+sSCNfldbl='"Lf"'
1293+sched_yield='sched_yield()'
1294+scriptdir='/usr/bin'
1295+scriptdirexp='/usr/bin'
1296+sed='sed'
1297+seedfunc='srand48'
1298+selectminbits='32'
1299+selecttype='fd_set *'
1300+sendmail=''
1301+setgrent_r_proto='0'
1302+sethostent_r_proto='0'
1303+setlocale_r_proto='0'
1304+setnetent_r_proto='0'
1305+setprotoent_r_proto='0'
1306+setpwent_r_proto='0'
1307+setservent_r_proto='0'
1308+sh='/bin/sh'
1309+shar=''
1310+sharpbang='#!'
1311+shmattype='void *'
1312+shortsize='2'
1313+shrpenv=''
1314+shsharp='true'
1315+sig_count='65'
1316+sig_name='ZERO HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT STOP TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS NUM32 NUM33 RTMIN NUM35 NUM36 NUM37 NUM38 NUM39 NUM40 NUM41 NUM42 NUM43 NUM44 NUM45 NUM46 NUM47 NUM48 NUM49 NUM50 NUM51 NUM52 NUM53 NUM54 NUM55 NUM56 NUM57 NUM58 NUM59 NUM60 NUM61 NUM62 NUM63 RTMAX IOT CLD POLL UNUSED '
1317+sig_name_init='"ZERO", "HUP", "INT", "QUIT", "ILL", "TRAP", "ABRT", "BUS", "FPE", "KILL", "USR1", "SEGV", "USR2", "PIPE", "ALRM", "TERM", "STKFLT", "CHLD", "CONT", "STOP", "TSTP", "TTIN", "TTOU", "URG", "XCPU", "XFSZ", "VTALRM", "PROF", "WINCH", "IO", "PWR", "SYS", "NUM32", "NUM33", "RTMIN", "NUM35", "NUM36", "NUM37", "NUM38", "NUM39", "NUM40", "NUM41", "NUM42", "NUM43", "NUM44", "NUM45", "NUM46", "NUM47", "NUM48", "NUM49", "NUM50", "NUM51", "NUM52", "NUM53", "NUM54", "NUM55", "NUM56", "NUM57", "NUM58", "NUM59", "NUM60", "NUM61", "NUM62", "NUM63", "RTMAX", "IOT", "CLD", "POLL", "UNUSED", 0'
1318+sig_num='0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 6 17 29 31 '
1319+sig_num_init='0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 6, 17, 29, 31, 0'
1320+sig_size='69'
1321+signal_t='void'
1322+sitearch='/usr/lib/perl5/site_perl/5.8.8/i686-linux'
1323+sitearchexp='/usr/lib/perl5/site_perl/5.8.8/i686-linux'
1324+sitebin='/usr/bin'
1325+sitebinexp='/usr/bin'
1326+sitehtml1dir=''
1327+sitehtml1direxp=''
1328+sitehtml3dir=''
1329+sitehtml3direxp=''
1330+sitelib='/usr/lib/perl5/site_perl/5.8.8'
1331+sitelib_stem='/usr/lib/perl5/site_perl'
1332+sitelibexp='/usr/lib/perl5/site_perl/5.8.8'
1333+siteman1dir='/usr/share/man/man1'
1334+siteman1direxp='/usr/share/man/man1'
1335+siteman3dir='/usr/share/man/man3'
1336+siteman3direxp='/usr/share/man/man3'
1337+siteprefix='/usr'
1338+siteprefixexp='/usr'
1339+sitescript='/usr/bin'
1340+sitescriptexp='/usr/bin'
1341+sizesize='4'
1342+sizetype='size_t'
1343+sleep=''
1344+smail=''
1345+so='so'
1346+sockethdr=''
1347+socketlib=''
1348+socksizetype='socklen_t'
1349+sort='sort'
1350+spackage='Perl5'
1351+spitshell='cat'
1352+srand48_r_proto='0'
1353+srandom_r_proto='0'
1354+src='.'
1355+ssizetype='ssize_t'
1356+startperl='#!/usr/bin/perl'
1357+startsh='#!/bin/sh'
1358+static_ext=' '
1359+stdchar='char'
1360+stdio_base='((fp)->_IO_read_base)'
1361+stdio_bufsiz='((fp)->_IO_read_end - (fp)->_IO_read_base)'
1362+stdio_cnt='((fp)->_IO_read_end - (fp)->_IO_read_ptr)'
1363+stdio_filbuf=''
1364+stdio_ptr='((fp)->_IO_read_ptr)'
1365+stdio_stream_array=''
1366+strerror_r_proto='0'
1367+strings='/usr/include/string.h'
1368+submit=''
1369+subversion='8'
1370+sysman='/usr/share/man/man1'
1371+tail=''
1372+tar=''
1373+targetarch=''
1374+tbl=''
1375+tee=''
1376+test='test'
1377+timeincl='/usr/include/sys/time.h /usr/include/time.h '
1378+timetype='time_t'
1379+tmpnam_r_proto='0'
1380+to=':'
1381+touch='touch'
1382+tr='tr'
1383+trnl='\n'
1384+troff=''
1385+ttyname_r_proto='0'
1386+u16size='2'
1387+u16type='unsigned short'
1388+u32size='4'
1389+u32type='unsigned long'
1390+u64size='8'
1391+u64type='unsigned long long'
1392+u8size='1'
1393+u8type='unsigned char'
1394+uidformat='"lu"'
1395+uidsign='1'
1396+uidsize='4'
1397+uidtype='uid_t'
1398+uname='uname'
1399+uniq='uniq'
1400+uquadtype='unsigned long long'
1401+use5005threads='undef'
1402+use64bitall='undef'
1403+use64bitint='undef'
1404+usecrosscompile='undef'
1405+usedl='define'
1406+usefaststdio='define'
1407+useithreads='undef'
1408+uselargefiles='define'
1409+uselongdouble='undef'
1410+usemallocwrap='define'
1411+usemorebits='undef'
1412+usemultiplicity='undef'
1413+usemymalloc='n'
1414+usenm='false'
1415+useopcode='true'
1416+useperlio='define'
1417+useposix='true'
1418+usereentrant='undef'
1419+usesfio='false'
1420+useshrplib='false'
1421+usesitecustomize='undef'
1422+usesocks='undef'
1423+usethreads='undef'
1424+usevendorprefix='undef'
1425+usevfork='false'
1426+usrinc='/usr/include'
1427+uuname=''
1428+uvXUformat='"lX"'
1429+uvoformat='"lo"'
1430+uvsize='4'
1431+uvtype='unsigned long'
1432+uvuformat='"lu"'
1433+uvxformat='"lx"'
1434+vendorarch=''
1435+vendorarchexp=''
1436+vendorbin=''
1437+vendorbinexp=''
1438+vendorhtml1dir=' '
1439+vendorhtml1direxp=''
1440+vendorhtml3dir=' '
1441+vendorhtml3direxp=''
1442+vendorlib=''
1443+vendorlib_stem=''
1444+vendorlibexp=''
1445+vendorman1dir=' '
1446+vendorman1direxp=''
1447+vendorman3dir=' '
1448+vendorman3direxp=''
1449+vendorprefix=''
1450+vendorprefixexp=''
1451+vendorscript=''
1452+vendorscriptexp=''
1453+version='5.8.8'
1454+version_patchlevel_string='version 8 subversion 8'
1455+versiononly='undef'
1456+vi=''
1457+voidflags='15'
1458+xlibpth='/usr/lib/386 /lib/386'
1459+yacc='yacc'
1460+yaccflags=''
1461+zcat=''
1462+zip='zip'
1463+# Configure command line arguments.
1464+config_arg0='Configure'
1465+config_args='-ds -e -Dprefix=/usr -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dpager=/usr/bin/less -isR'
1466+config_argc=6
1467+config_arg1='-ds'
1468+config_arg2='-e'
1469+config_arg3='-Dprefix=/usr'
1470+config_arg4='-Dman1dir=/usr/share/man/man1'
1471+config_arg5='-Dman3dir=/usr/share/man/man3'
1472+config_arg6='-Dpager=/usr/bin/less -isR'
1473+PERL_REVISION=5
1474+PERL_VERSION=8
1475+PERL_SUBVERSION=8
1476+PERL_API_REVISION=5
1477+PERL_API_VERSION=8
1478+PERL_API_SUBVERSION=0
1479+PERL_PATCHLEVEL=
1480+PERL_CONFIG_SH=true
1481diff -Naur perl-5.8.8.orig/Cross/generate_config_sh perl-5.8.8/Cross/generate_config_sh
1482--- perl-5.8.8.orig/Cross/generate_config_sh 2006-07-22 18:17:24.000000000 -0400
1483+++ perl-5.8.8/Cross/generate_config_sh 1969-12-31 19:00:00.000000000 -0500
1484@@ -1,132 +0,0 @@
1485-#!/usr/bin/perl
1486-
1487-##############################################################################
1488-#
1489-# generate_config_sh
1490-# Process that takes an automatically generated config.sh
1491-# file and allows the environment to overload the values
1492-# automatically discovered by Configure on our target platform.
1493-#
1494-# Author Redvers Davies <red@criticalintegration.com>
1495-#
1496-##############################################################################
1497-
1498-my $config = shift;
1499-
1500-my $sys = $ENV{SYS};
1501-
1502-my $callbacks = {};
1503-$callbacks->{'ar'} = [\&simple_process, ["AR", "arm-linux-ar"]];
1504-$callbacks->{'archname'} = [\&simple_process, ["SYS", "armv4l-linux"]];
1505-$callbacks->{'cc'} = [\&simple_process, ["CC", "arm-linux-gcc"]];
1506-$callbacks->{'cccdlflags'} = [\&simple_process, ["CFLAGS", ""]];
1507-$callbacks->{'ccdlflags'} = [\&simple_process, ["CFLAGS", ""]];
1508-$callbacks->{'ccflags'} = [\&simple_process, ["CFLAGS", "-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"]];
1509-$callbacks->{'ccflags_uselargefiles'} = [\&simple_process, ["CFLAGS", "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"]];
1510-$callbacks->{'ccname'} = [\&simple_process, ["CC", "arm-linux-gcc"]];
1511-$callbacks->{'cpp'} = [\&simple_process, ["CCP", "arm-linux-cpp"]];
1512-$callbacks->{'cppflags'} = [\&simple_process, ["CCPFLAGS", "-fno-strict-aliasing"]];
1513-$callbacks->{'cpprun'} = [\&simple_process_append, ["CC", "arm-linux-gcc -E", "-E"]];
1514-$callbacks->{'cppstdin'} = [\&simple_process_append, ["CC", "arm-linux-gcc -E", "-E"]];
1515-$callbacks->{'full_ar'} = [\&backtick, ["AR", "which $ENV{AR}", "/usr/local/arm/2.95.3/bin/arm-linux-ar"]];
1516-$callbacks->{'ld'} = [\&simple_process, ["LD", "arm-linux-ld"]];
1517-$callbacks->{'ldflags'} = [\&simple_process, ["LDFLAGS", ""]];
1518-$callbacks->{'ldflags_uselargefiles'} = [\&simple_process, ["LDFLAGS", ""]];
1519-$callbacks->{'myarchname'} = [\&simple_process, ["SYS", "armv4l-linux"]];
1520-$callbacks->{'archlib'} = [\&library_munge, ["SYS", "armv4l-linux"]];
1521-$callbacks->{'archlibexp'} = [\&library_munge, ["SYS", "armv4l-linux"]];
1522-$callbacks->{'installarchlib'} = [\&library_munge, ["SYS", "armv4l-linux"]];
1523-$callbacks->{'installsitearch'} = [\&library_munge, ["SYS", "armv4l-linux"]];
1524-$callbacks->{'sitearch'} = [\&library_munge, ["SYS", "armv4l-linux"]];
1525-$callbacks->{'sitearchexp'} = [\&library_munge, ["SYS", "armv4l-linux"]];
1526-
1527-if ($config eq "") {
1528- die("Please run me as generate_config_sh path/to/original/config.sh");
1529-}
1530-
1531-open(FILE, "$config") || die("Unable to open $config");
1532-
1533-my $line_in;
1534-while ($line_in = <FILE>) {
1535- if ($line_in =~ /^#/) {
1536- next;
1537- }
1538-
1539- if ($line_in !~ /./) {
1540- next;
1541- }
1542-
1543- $line_in =~ /^([^=]+)=(.*)/;
1544- my $key = $1;
1545- my $value = $2;
1546- if (ref($callbacks->{$key}) eq "ARRAY") {
1547- ($callbacks->{$key}[0])->($key,$value);
1548- } else {
1549- print($line_in);
1550- }
1551-}
1552-
1553-sub backtick {
1554- my $key = shift;
1555- my $value = shift;
1556- my $envvar = $callbacks->{$key}->[1][0];
1557-
1558- if ($ENV{$envvar}) {
1559- my $rawtext = `$callbacks->{$key}->[1][1]`;
1560- chomp($rawtext);
1561- print("$key=\'$rawtext\'\n");
1562- } else {
1563- print("$key=\'$callbacks->{$key}->[1][2]\'\n");
1564- }
1565-}
1566-
1567-
1568-sub simple_process {
1569- my $key = shift;
1570- my $envvar = $callbacks->{$key}->[1][0];
1571-
1572- if ($ENV{$envvar}) {
1573- print("$key=\"$ENV{$envvar}\"\n");
1574- } else {
1575- print("$key=\'$callbacks->{$key}->[1][1]\'\n");
1576- }
1577-
1578-}
1579-
1580-sub simple_process_append {
1581- my $key = shift;
1582- my $envvar = $callbacks->{$key}->[1][0];
1583-
1584- if ($ENV{$envvar}) {
1585- print("$key=\"$ENV{$envvar} $callbacks->{$key}->[1][2]\"\n");
1586- } else {
1587- print("$key=\'$callbacks->{$key}->[1][1]\'\n");
1588- }
1589-
1590-}
1591-
1592-sub library_munge {
1593- my $key = shift;
1594- my $value = shift;
1595- my $envvar = $callbacks->{$key}->[1][0];
1596-
1597- if ($ENV{$envvar}) {
1598- $value =~ s/$callbacks->{$key}->[1][1]/$ENV{$envvar}/g;
1599- print("$key=$value\n");
1600- } else {
1601- print("$key=$value\n");
1602- }
1603-
1604-}
1605-
1606-
1607-
1608-
1609-
1610-
1611-
1612-
1613-
1614-
1615-
1616-
1617diff -Naur perl-5.8.8.orig/Cross/installperl.patch perl-5.8.8/Cross/installperl.patch
1618--- perl-5.8.8.orig/Cross/installperl.patch 2006-07-22 18:17:24.000000000 -0400
1619+++ perl-5.8.8/Cross/installperl.patch 1969-12-31 19:00:00.000000000 -0500
1620@@ -1,22 +0,0 @@
1621---- ../installperl 2003-08-31 11:58:48.000000000 -0500
1622-+++ installperl 2003-09-05 02:38:40.000000000 -0500
1623-@@ -3,8 +3,8 @@
1624- BEGIN {
1625- require 5.004;
1626- chdir '..' if !-d 'lib' and -d '../lib';
1627-- @INC = 'lib';
1628-- $ENV{PERL5LIB} = 'lib';
1629-+# @INC = 'lib';
1630-+# $ENV{PERL5LIB} = 'lib';
1631- }
1632-
1633- use strict;
1634-@@ -946,7 +946,7 @@
1635- print " " if (@opts);
1636- print "$file\n";
1637- }
1638-- system("strip", @opts, $file);
1639-+ system("XXSTRIPXX-strip", @opts, $file);
1640- } else {
1641- print "# file '$file' skipped\n" if $verbose;
1642- }
1643diff -Naur perl-5.8.8.orig/Cross/Makefile perl-5.8.8/Cross/Makefile
1644--- perl-5.8.8.orig/Cross/Makefile 2006-07-22 18:17:24.000000000 -0400
1645+++ perl-5.8.8/Cross/Makefile 2006-07-22 18:17:35.000000000 -0400
1646@@ -1,68 +1,62 @@
1647-## Toplevel Makefile for cross-compilation of perl
1648-#
1649-## $Id: Makefile,v 1.7 2004/01/12 15:41:02 red Exp red $
1650-
1651-export TOPDIR=${shell pwd}
1652-include $(TOPDIR)/config
1653-export CFLAGS
1654-export SYS=$(ARCH)-$(OS)
1655-export CROSS=$(ARCH)-$(OS)-
1656-export FULL_OPTIMIZATION = -fexpensive-optimizations -fomit-frame-pointer -O2
1657-export OPTIMIZATION = -O2
1658-
1659-export CC = $(CROSS)gcc
1660-export CXX = $(CROSS)g++
1661-export LD = $(CROSS)ld
1662-export STRIP = $(CROSS)strip
1663-export AR = $(CROSS)ar
1664-export RANLIB = $(CROSS)ranlib
1665-
1666-
1667-## Optimisation work
1668-ifeq ($(ARCH),arm)
1669- ifdef CONFIG_TARGET_ARM_SA11X0
1670- ifndef Architecture
1671- Architecture = armv4l-strongarm
1672- endif
1673- FULL_OPTIMIZATION += -march=armv4 -mtune=strongarm1100 -mapcs-32
1674- OPTIMIZATION += -march=armv4 -mtune=strongarm1100 -mapcs-32
1675- endif
1676-endif
1677+PWD := $(shell pwd)
1678+TOP := $(shell dirname $(PWD))
1679
1680-CFLAGS+=$(FULL_OPTIMIZATION)
1681+VERSION := $(shell awk '/define[ ]PERL_REVISION/ {printf $$3"."} /define[ ]PERL_VERSION/ {printf $$3"."} /define[ ]PERL_SUBVERSION/ {print $$3}' $(TOP)/patchlevel.h)
1682
1683-all:
1684- @echo Please read the README file before doing anything else.
1685+CROSS_COMPILE := arm-unknown-linux-gnu-
1686+
1687+ARCH := arm
1688+OS := linux
1689+
1690+SYS := $(ARCH)-$(OS)
1691
1692-gen_patch:
1693- diff -Bbur ../Makefile.SH Makefile.SH > Makefile.SH.patch
1694- diff -Bbur ../installperl installperl > installperl.patch
1695-
1696-patch:
1697- cd .. ; if [ ! -e ./CROSS_PATCHED ] ; then \
1698- patch -p1 < Cross/Makefile.SH.patch; \
1699- patch -p1 < Cross/installperl.patch ; mv installperl installperl-patched; \
1700- sed -e 's/XXSTRIPXX/$(SYS)/' installperl-patched > installperl; \
1701- touch CROSS_PATCHED ; fi
1702-
1703-dry_patch:
1704- cd .. ; patch --dry-run -p1 < Cross/Makefile.SH.patch; \
1705- patch --dry-run -p1 < Cross/installperl.patch; \
1706-
1707-perl:
1708- @echo Perl cross-build directory is $(TOPDIR)
1709- @echo Target arch is $(SYS)
1710- @echo toolchain: $(CC), $(CXX), $(LD), $(STRIP), $(AR), $(RANLIB)
1711- @echo Optimizations: $(FULL_OPTIMIZATION)
1712-
1713- $(TOPDIR)/generate_config_sh config.sh-$(SYS) > $(TOPDIR)/../config.sh
1714- cd $(TOPDIR)/.. ; ./Configure -S ; make depend ; make ; make more
1715- cd $(TOPDIR)/.. ; mkdir -p fake_config_library ; cp lib/Config.pm fake_config_library
1716- cd $(TOPDIR)/.. ; $(MAKE) more2 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig"
1717- cd $(TOPDIR)/.. ; $(MAKE) more3 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig"
1718- cd $(TOPDIR)/.. ; $(MAKE) more4 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig"
1719- cd $(TOPDIR)/.. ; rm -rf install_me_here
1720- cd $(TOPDIR)/.. ; make install-strip
1721- cd $(TOPDIR)/.. ; sh -x Cross/warp
1722+AR := $(CROSS_COMPILE)ar
1723+CC := $(CROSS_COMPILE)gcc
1724+CXX := $(CROSS_COMPILE)g++
1725+CPP := $(CROSS_COMPILE)cpp
1726+LD := $(CROSS_COMPILE)ld
1727+RANLIB := $(CROSS_COMPILE)ranlib
1728+STRIP := $(CROSS_COMPILE)strip
1729
1730+.PHONY: all install create-config.sh
1731+
1732+all:
1733+ cd $(TOP); CC=gcc ./configure.gnu
1734
1735+ # Make miniperl
1736+ $(MAKE) -C $(TOP) miniperl
1737+ mv -v $(TOP)/miniperl $(TOP)/miniperl-cross
1738+ $(MAKE) -C $(TOP) clean
1739+
1740+ # Do the final build
1741+ $(MAKE) create-config.sh
1742+ cd $(TOP); ./Configure -S
1743+ $(MAKE) -C $(TOP)
1744+
1745+install:
1746+ $(MAKE) -C $(TOP) install
1747+
1748+create-config.sh:
1749+ sed -e "s@\(^archname=\).*@\1'$(SYS)'@g" \
1750+ -e "s@\(^myarchname=\).*@\1'$(SYS)'@g" \
1751+ -e "s@\(^ar=\).*@\1'$(AR)'@g" \
1752+ -e "s@\(^cc=\).*@\1'$(CC)'@g" \
1753+ -e "s@\(^ccname=\).*@\1'$(CC)'@g" \
1754+ -e "s@\(^cpp=\).*@\1'$(CPP)'@g" \
1755+ -e "s@\(^cpprun=\).*@\1'$(CC) -E'@g" \
1756+ -e "s@\(^cppstdin=\).*@\1'$(CC) -E'@g" \
1757+ -e "s@\(^ld=\).*@\1'$(LD)'@g" \
1758+ -e "s@\(^ranlib=\).*@\1'$(RANLIB)'@g" \
1759+ -e "s@\(^full_ar=\).*@\1'$(shell which $(AR))'@g" \
1760+ -e "s@\(^full_sed=\).*@\1'$(shell which sed)'@g" \
1761+ -e "/^ccflags=/s@-I/usr/local/include@@g" \
1762+ -e "/^cppflags=/s@-I/usr/local/include@@g" \
1763+ -e "/^ldflags=/s@-L/usr/local/lib@@g" \
1764+ -e "/^lddlflags=/s@-L/usr/local/lib@@g" \
1765+ -e "/^archlib=/s@$(VERSION).*@$(VERSION)/$(SYS)'@" \
1766+ -e "/^archlibexp=/s@$(VERSION).*@$(VERSION)/$(SYS)'@" \
1767+ -e "/^installarchlib=/s@$(VERSION).*@$(VERSION)/$(SYS)'@" \
1768+ -e "/^installsitearch=/s@$(VERSION).*@$(VERSION)/$(SYS)'@" \
1769+ -e "/^sitearch/s@$(VERSION).*@$(VERSION)/$(SYS)'@" \
1770+ -e "/^sitearchexp/s@$(VERSION).*@$(VERSION)/$(SYS)'@" \
1771+ $(PWD)/config.sh-$(SYS) > $(TOP)/config.sh
1772diff -Naur perl-5.8.8.orig/Cross/Makefile.SH.patch perl-5.8.8/Cross/Makefile.SH.patch
1773--- perl-5.8.8.orig/Cross/Makefile.SH.patch 2006-07-22 18:17:24.000000000 -0400
1774+++ perl-5.8.8/Cross/Makefile.SH.patch 1969-12-31 19:00:00.000000000 -0500
1775@@ -1,189 +0,0 @@
1776---- ../Makefile.SH
1777-+++ ../Makefile.SH
1778-@@ -129,18 +129,7 @@
1779- # INSTALL file, under "Building a shared perl library".
1780- # If there is no pre-existing $libperl, we don't need
1781- # to do anything further.
1782-- if test -f $archlib/CORE/$libperl; then
1783-- rm -f preload
1784-- cat <<'EOT' > preload
1785--#! /bin/sh
1786--lib=$1
1787--shift
1788--test -r $lib && export LD_PRELOAD="$lib $LD_PRELOAD"
1789--exec "$@"
1790--EOT
1791-- chmod 755 preload
1792-- ldlibpth="$ldlibpth `pwd`/preload `pwd`/$libperl"
1793-- fi
1794-+ echo linux libraries overwritten by cross-compile patches
1795- ;;
1796- os390) test -f /bin/env && ldlibpth="/bin/env $ldlibpth"
1797- ;;
1798-@@ -389,9 +378,21 @@
1799- .c.s:
1800- $(CCCMDSRC) -S $*.c
1801-
1802--all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT) extra.pods $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make
1803-- @echo " ";
1804-- @echo " Everything is up to date. Type '$(MAKE) test' to run test suite."
1805-+#all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT) extra.pods $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make
1806-+# @echo " ";
1807-+# @echo " Everything is up to date. Type '$(MAKE) test' to run test suite."
1808-+
1809-+all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT)
1810-+ mv miniperl miniperl-arm
1811-+ ln -s /usr/bin/perl miniperl
1812-+
1813-+more: extra.pods $(private) $(public)
1814-+
1815-+more2: $(dynamic_ext)
1816-+
1817-+more3: $(nonxs_ext)
1818-+
1819-+more4: extras.make
1820-
1821- .PHONY: all compile translators utilities
1822-
1823-@@ -401,10 +402,10 @@
1824- cd x2p; $(MAKE) compile;
1825- cd pod; $(MAKE) compile;
1826-
1827--translators: miniperl$(EXE_EXT) $(CONFIGPM) FORCE
1828-+translators: $(CONFIGPM) FORCE
1829- @echo " "; echo " Making x2p stuff"; cd x2p; $(LDLIBPTH) $(MAKE) all
1830-
1831--utilities: miniperl$(EXE_EXT) $(CONFIGPM) $(plextract) lib/lib.pm FORCE
1832-+utilities: $(CONFIGPM) $(plextract) lib/lib.pm FORCE
1833- @echo " "; echo " Making utilities"; cd utils; $(LDLIBPTH) $(MAKE) all
1834-
1835-
1836-@@ -579,7 +580,7 @@
1837- $(CC) -o miniperl $(CLDFLAGS) \
1838- `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
1839- miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perl$(OBJ_EXT) $(libs)
1840-- $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
1841-+# $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
1842- !NO!SUBS!
1843- ;;
1844- next4*)
1845-@@ -587,7 +588,7 @@
1846- miniperl: $& miniperlmain$(OBJ_EXT) $(LIBPERL) opmini$(OBJ_EXT)
1847- $(CC) -o miniperl `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
1848- miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perl$(OBJ_EXT) $(libs)
1849-- $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
1850-+# $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
1851- !NO!SUBS!
1852- ;;
1853- darwin*)
1854-@@ -754,7 +755,7 @@
1855- # We need to autosplit in two steps because VOS can't handle so many args
1856- #
1857- .PHONY: preplibrary
1858--preplibrary: miniperl$(EXE_EXT) $(CONFIGPM) lib/lib.pm $(PREPLIBRARY_LIBPERL)
1859-+preplibrary: $(CONFIGPM) lib/lib.pm $(PREPLIBRARY_LIBPERL)
1860- @sh ./makedir lib/auto
1861- @echo " AutoSplitting perl library"
1862- $(LDLIBPTH) ./miniperl -Ilib -e 'use AutoSplit; \
1863-@@ -763,35 +764,35 @@
1864- autosplit_lib_modules(@ARGV)' lib/*/*.pm
1865- $(MAKE) lib/re.pm
1866-
1867--lib/Config.pod: config.sh miniperl$(EXE_EXT) configpm Porting/Glossary
1868-+lib/Config.pod: config.sh configpm Porting/Glossary
1869- $(LDLIBPTH) ./miniperl -Ilib configpm --heavy=lib/Config_heavy.pl lib/Config.pm
1870-
1871- $(CONFIGPM): lib/Config.pod
1872-
1873--lib/ExtUtils/Miniperl.pm: miniperlmain.c miniperl$(EXE_EXT) minimod.pl $(CONFIGPM)
1874-+lib/ExtUtils/Miniperl.pm: miniperlmain.c minimod.pl $(CONFIGPM)
1875- $(LDLIBPTH) ./miniperl minimod.pl > lib/ExtUtils/Miniperl.pm
1876-
1877- lib/re.pm: ext/re/re.pm
1878- cp ext/re/re.pm lib/re.pm
1879-
1880--$(plextract): miniperl$(EXE_EXT) $(CONFIGPM) x2p/s2p
1881-+$(plextract): $(CONFIGPM) x2p/s2p
1882- @-rm -f $@
1883- $(LDLIBPTH) ./miniperl -I`pwd`/lib $@.PL
1884-
1885--x2p/s2p: miniperl$(EXE_EXT) $(CONFIGPM) x2p/s2p.PL
1886-+x2p/s2p: $(CONFIGPM) x2p/s2p.PL
1887- cd x2p; $(LDLIBPTH) $(MAKE) s2p
1888-
1889--lib/lib.pm: miniperl$(EXE_EXT) $(CONFIGPM)
1890-+lib/lib.pm: $(CONFIGPM)
1891- @-rm -f $@
1892- $(LDLIBPTH) ./miniperl -Ilib lib/lib_pm.PL
1893-
1894- unidatafiles $(unidatafiles): uni.data
1895-
1896--uni.data: miniperl$(EXE_EXT) $(CONFIGPM) lib/unicore/mktables
1897-+uni.data: $(CONFIGPM) lib/unicore/mktables
1898- cd lib/unicore && $(LDLIBPTH) ../../miniperl -I../../lib mktables -w
1899- touch uni.data
1900-
1901--extra.pods: miniperl$(EXE_EXT)
1902-+extra.pods:
1903- -@test -f extra.pods && rm -f `cat extra.pods`
1904- -@rm -f extra.pods
1905- -@for x in `grep -l '^=[a-z]' README.* | grep -v README.vms` ; do \
1906-@@ -798,18 +799,7 @@
1907- INSTALL_DEPENDENCE = all
1908-
1909- install.perl: $(INSTALL_DEPENDENCE) installperl
1910-- if [ -n "$(COMPILE)" ]; \
1911-- then \
1912-- cd utils; $(MAKE) compile; \
1913-- cd ../x2p; $(MAKE) compile; \
1914-- cd ../pod; $(MAKE) compile; \
1915-- else :; \
1916-- fi
1917-- $(LDLIBPTH) ./perl installperl --destdir=$(DESTDIR) $(INSTALLFLAGS) $(STRIPFLAGS)
1918-- $(MAKE) extras.install
1919--
1920--install.man: all installman
1921-- $(LDLIBPTH) ./perl installman --destdir=$(DESTDIR) $(INSTALLFLAGS)
1922-+ /usr/bin/perl -Ifake_config_library -MConfig installperl $(INSTALLFLAGS) $(STRIPFLAGS)
1923-
1924- # XXX Experimental. Hardwired values, but useful for testing.
1925- # Eventually Configure could ask for some of these values.
1926-@@ -925,16 +915,16 @@
1927- #
1928- # DynaLoader may be needed for extensions that use Makefile.PL.
1929-
1930--$(DYNALOADER): miniperl$(EXE_EXT) preplibrary FORCE
1931-+$(DYNALOADER): preplibrary FORCE
1932- @$(LDLIBPTH) sh ext/util/make_ext $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
1933-
1934--d_dummy $(dynamic_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE
1935-+d_dummy $(dynamic_ext): preplibrary $(DYNALOADER) FORCE
1936- @$(LDLIBPTH) sh ext/util/make_ext dynamic $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
1937-
1938--s_dummy $(static_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE
1939-+s_dummy $(static_ext): preplibrary $(DYNALOADER) FORCE
1940- @$(LDLIBPTH) sh ext/util/make_ext $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
1941-
1942--n_dummy $(nonxs_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE
1943-+n_dummy $(nonxs_ext): preplibrary $(DYNALOADER) FORCE
1944- @$(LDLIBPTH) sh ext/util/make_ext nonxs $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
1945-
1946- .PHONY: clean _tidy _mopup _cleaner1 _cleaner2 \
1947-@@ -1074,7 +1064,7 @@
1948-
1949- test_prep_pre: preplibrary utilities $(nonxs_ext)
1950-
1951--test_prep: test_prep_pre miniperl$(EXE_EXT) $(unidatafiles) perl$(EXE_EXT) $(dynamic_ext) $(TEST_PERL_DLL)
1952-+test_prep: test_prep_pre $(unidatafiles) perl$(EXE_EXT) $(dynamic_ext) $(TEST_PERL_DLL)
1953- PERL=./perl $(MAKE) _test_prep
1954-
1955- _test_tty:
1956-@@ -1167,7 +1157,7 @@
1957-
1958- # Can't depend on lib/Config.pm because that might be where miniperl
1959- # is crashing.
1960--minitest: miniperl$(EXE_EXT) lib/re.pm minitest.prep
1961-+minitest: lib/re.pm minitest.prep
1962- - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl$(EXE_EXT) perl$(EXE_EXT)) \
1963- && $(LDLIBPTH) ./perl TEST -minitest base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t </dev/tty
1964-
1965diff -Naur perl-5.8.8.orig/Cross/README perl-5.8.8/Cross/README
1966--- perl-5.8.8.orig/Cross/README 2006-07-22 18:17:24.000000000 -0400
1967+++ perl-5.8.8/Cross/README 1969-12-31 19:00:00.000000000 -0500
1968@@ -1,90 +0,0 @@
1969-Building for arm-linux
1970-----------------------
1971-
1972-The files in this directory add another cross-compilation
1973-target to the Perl buildsystem. It was built as a part of
1974-the Open Zaurus (http://www.openzaurus.com/) distribution.
1975-Most / All of the arm compiler optimisations are "borrowed"
1976-from this excellent project.
1977-
1978-(Further discussion about cross-compiling Perl in the top level
1979-INSTALL file, see the section "Cross-compilation".)
1980-
1981-The main target is arm-linux but I have also managed to
1982-successfully cross-compile Perl for Solaris x86 using the same
1983-buildsystem.
1984-
1985-We are currently dependent on an existing working local copy of
1986-Perl ** of the same version and revision ** which is available
1987-as /usr/bin/perl.
1988-
1989-You need a working and tested cross-compiler for your build
1990-and target combination. The binary directory must be in
1991-your path.
1992-
1993-1) You should be reading me (README) in perl-5.x.y/Cross
1994-
1995-2) Make sure you are in the Cross directory.
1996-
1997-3) Edit the file 'config' to contain your target platform information.
1998-
1999-4) make patch ## This will patch the existing source-tree.
2000-5) make perl ## Will make perl
2001-
2002-Your built Perl environment is in install_me_here/ in your build
2003-directory. From here you can package and deploy as you wish.
2004-
2005-The Obvious Ommissions
2006-----------------------
2007-
2008-This does NOT perform any installation as site installation method
2009-will be dependent on the target architecture and OS.
2010-
2011-make test will NOT work as the binaries and libraries will not execute
2012-on your BUILD machine.
2013-
2014-Due to space limitations on the Zaurus (it's a PDA) we do not provide
2015-documentation in the core - Therefore man pages are not even generated.
2016-
2017-Other Targets (For Developers)
2018-------------------------------
2019-
2020-It is possible to extend the cross-compilation to other targets.
2021-We have sucessfully compiled for the target solaris2.8/x86
2022-on linux/x86 build system.
2023-
2024-To attempt a cross-compile for another target using the methods
2025-in this directory:
2026-
2027-1) Copy the Perl source code onto your TARGET machine.
2028-2) Execute sh Configure as normal and configure as required,
2029- do not "make".
2030-3) Copy the config.sh file that is generated to your BUILD
2031- machine and place it in the Cross directory with the
2032- filename config.sh-ARCH-OS. For example,
2033- config.sh-i386-pc-solaris2.8. For the appropriate ARCH
2034- and OS please refer to your cross-compiler documentation.
2035-4) Edit Cross/config to reflect your new target and continue
2036- with build as above.
2037-
2038-Should you wish to produce optimised binaries for different
2039-architectures you can add the appropriate compiler flags to
2040-the Makefile in a new ifeq ($(ARCH),...) ... endif block.
2041-
2042-
2043-Please refer to your cross-compiler documentation for details.
2044-
2045-
2046- Note that the Cross/ directory is also used by a different
2047- cross-compilation setup described in the INSTALL file, and
2048- executed by Configure. There should be no conflicts since
2049- it is unlikely both that cross-compilation setups are used
2050- simultaneously.
2051-
2052-Enjoy!
2053-
2054-References
2055-----------
2056-Redvers Davies <red@criticalintegration.com>
2057-Open Zaurus http://www.openzaurus.org/
2058-Perl OZ Packages http://www.criticalintegration.com/perl-oz/
2059diff -Naur perl-5.8.8.orig/Cross/TODO perl-5.8.8/Cross/TODO
2060--- perl-5.8.8.orig/Cross/TODO 2006-07-22 18:17:24.000000000 -0400
2061+++ perl-5.8.8/Cross/TODO 1969-12-31 19:00:00.000000000 -0500
2062@@ -1 +0,0 @@
2063-Provide a better sandbox for building additional XS libraries.
2064diff -Naur perl-5.8.8.orig/Cross/warp perl-5.8.8/Cross/warp
2065--- perl-5.8.8.orig/Cross/warp 2006-07-22 18:17:24.000000000 -0400
2066+++ perl-5.8.8/Cross/warp 1969-12-31 19:00:00.000000000 -0500
2067@@ -1,14 +0,0 @@
2068-#!/bin/sh -x
2069-
2070-## This script contains an rm -rf. This may alarm you.
2071-## These directories need to be reccursively deleted.
2072-## I don't see any method of making "Bad Things"[tm]
2073-## Happen. But we don't run buildroot as root do we? :-)
2074-
2075-for f in `find lib -name install_me_here`;do
2076-cp -r $f/* ./install_me_here/
2077-done
2078-
2079-for f in `find lib -name install_me_here`;do
2080-rm -rf $f
2081-done
2082diff -Naur perl-5.8.8.orig/ext/util/make_ext perl-5.8.8/ext/util/make_ext
2083--- perl-5.8.8.orig/ext/util/make_ext 2006-07-22 18:17:24.000000000 -0400
2084+++ perl-5.8.8/ext/util/make_ext 2006-07-22 18:17:35.000000000 -0400
2085@@ -119,7 +119,7 @@
2086 esac
2087
2088 if test ! -f $makefile ; then
2089- test -f Makefile.PL && ../$depth/miniperl -I../$depth/lib Makefile.PL INSTALLDIRS=perl PERL_CORE=1 $passthru
2090+ test -f Makefile.PL && ../$depth/miniperl-cross -I../$depth/lib Makefile.PL INSTALLDIRS=perl PERL_CORE=1 $passthru
2091 fi
2092 if test ! -f $makefile ; then
2093 if test -f Makefile.SH; then
2094diff -Naur perl-5.8.8.orig/installman perl-5.8.8/installman
2095--- perl-5.8.8.orig/installman 2006-07-22 18:17:24.000000000 -0400
2096+++ perl-5.8.8/installman 2006-07-22 18:17:35.000000000 -0400
2097@@ -1,5 +1,4 @@
2098 #!./perl -w
2099-BEGIN { @INC = qw(lib) }
2100 use strict;
2101 use Config;
2102 use Getopt::Long;
2103diff -Naur perl-5.8.8.orig/installperl perl-5.8.8/installperl
2104--- perl-5.8.8.orig/installperl 2006-07-22 18:17:24.000000000 -0400
2105+++ perl-5.8.8/installperl 2006-07-22 18:17:35.000000000 -0400
2106@@ -3,8 +3,6 @@
2107 BEGIN {
2108 require 5.004;
2109 chdir '..' if !-d 'lib' and -d '../lib';
2110- @INC = 'lib';
2111- $ENV{PERL5LIB} = 'lib';
2112 }
2113
2114 use strict;
2115diff -Naur perl-5.8.8.orig/lib/unicore/Makefile perl-5.8.8/lib/unicore/Makefile
2116--- perl-5.8.8.orig/lib/unicore/Makefile 2006-07-22 18:17:25.000000000 -0400
2117+++ perl-5.8.8/lib/unicore/Makefile 2006-07-22 18:17:35.000000000 -0400
2118@@ -1,11 +1,11 @@
2119 all:
2120- ../../miniperl -I../../lib ./mktables
2121+ ../../miniperl-cross -I../../lib ./mktables
2122
2123 TestProp.pl: mktables UnicodeData.txt Scripts.txt Blocks.txt PropList.txt
2124- ../../miniperl -I../../lib ./mktables -maketest
2125+ ../../miniperl-cross -I../../lib ./mktables -maketest
2126
2127 test: TestProp.pl
2128- ../../miniperl -I../../lib TestProp.pl
2129+ ../../miniperl-cross -I../../lib TestProp.pl
2130
2131 clean:
2132 rm -f *.pl */*.pl
2133diff -Naur perl-5.8.8.orig/Makefile.SH perl-5.8.8/Makefile.SH
2134--- perl-5.8.8.orig/Makefile.SH 2006-07-22 18:17:25.000000000 -0400
2135+++ perl-5.8.8/Makefile.SH 2006-07-22 18:17:35.000000000 -0400
2136@@ -591,7 +591,7 @@
2137 $(CC) -o miniperl $(CLDFLAGS) \
2138 `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
2139 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perl$(OBJ_EXT) $(libs)
2140- $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
2141+ $(LDLIBPTH) ./miniperl-cross -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
2142 !NO!SUBS!
2143 ;;
2144 next4*)
2145@@ -599,7 +599,7 @@
2146 miniperl: $& miniperlmain$(OBJ_EXT) $(LIBPERL) opmini$(OBJ_EXT)
2147 $(CC) -o miniperl `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
2148 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perl$(OBJ_EXT) $(libs)
2149- $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
2150+ $(LDLIBPTH) ./miniperl-cross -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
2151 !NO!SUBS!
2152 ;;
2153 darwin*)
2154@@ -620,7 +620,7 @@
2155 -@rm -f miniperl.xok
2156 $(CC) $(CLDFLAGS) $(NAMESPACEFLAGS) -o miniperl \
2157 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) $(LLIBPERL) $(libs)
2158- $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
2159+ $(LDLIBPTH) ./miniperl-cross -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
2160 !NO!SUBS!
2161 ;;
2162 *)
2163@@ -629,7 +629,7 @@
2164 -@rm -f miniperl.xok
2165 $(LDLIBPTH) $(CC) $(CLDFLAGS) -o miniperl \
2166 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) $(LLIBPERL) $(libs)
2167- $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
2168+ $(LDLIBPTH) ./miniperl-cross -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
2169 !NO!SUBS!
2170 ;;
2171 esac
2172@@ -769,38 +769,38 @@
2173 preplibrary: miniperl$(EXE_EXT) $(CONFIGPM) lib/lib.pm $(PREPLIBRARY_LIBPERL)
2174 @sh ./makedir lib/auto
2175 @echo " AutoSplitting perl library"
2176- $(LDLIBPTH) ./miniperl -Ilib -e 'use AutoSplit; \
2177+ $(LDLIBPTH) ./miniperl-cross -Ilib -e 'use AutoSplit; \
2178 autosplit_lib_modules(@ARGV)' lib/*.pm
2179- $(LDLIBPTH) ./miniperl -Ilib -e 'use AutoSplit; \
2180+ $(LDLIBPTH) ./miniperl-cross -Ilib -e 'use AutoSplit; \
2181 autosplit_lib_modules(@ARGV)' lib/*/*.pm
2182 $(MAKE) lib/re.pm
2183
2184 lib/Config.pod: config.sh miniperl$(EXE_EXT) configpm Porting/Glossary
2185- $(LDLIBPTH) ./miniperl -Ilib configpm --heavy=lib/Config_heavy.pl lib/Config.pm
2186+ $(LDLIBPTH) ./miniperl-cross -Ilib configpm --heavy=lib/Config_heavy.pl lib/Config.pm
2187
2188 $(CONFIGPM): lib/Config.pod
2189
2190 lib/ExtUtils/Miniperl.pm: miniperlmain.c miniperl$(EXE_EXT) minimod.pl $(CONFIGPM)
2191- $(LDLIBPTH) ./miniperl minimod.pl > lib/ExtUtils/Miniperl.pm
2192+ $(LDLIBPTH) ./miniperl-cross minimod.pl > lib/ExtUtils/Miniperl.pm
2193
2194 lib/re.pm: ext/re/re.pm
2195 cp ext/re/re.pm lib/re.pm
2196
2197 $(plextract): miniperl$(EXE_EXT) $(CONFIGPM) x2p/s2p
2198 @-rm -f $@
2199- $(LDLIBPTH) ./miniperl -I`pwd`/lib $@.PL
2200+ $(LDLIBPTH) ./miniperl-cross -I`pwd`/lib $@.PL
2201
2202 x2p/s2p: miniperl$(EXE_EXT) $(CONFIGPM) x2p/s2p.PL
2203 cd x2p; $(LDLIBPTH) $(MAKE) s2p
2204
2205 lib/lib.pm: miniperl$(EXE_EXT) $(CONFIGPM)
2206 @-rm -f $@
2207- $(LDLIBPTH) ./miniperl -Ilib lib/lib_pm.PL
2208+ $(LDLIBPTH) ./miniperl-cross -Ilib lib/lib_pm.PL
2209
2210 unidatafiles $(unidatafiles): uni.data
2211
2212 uni.data: miniperl$(EXE_EXT) $(CONFIGPM) lib/unicore/mktables
2213- cd lib/unicore && $(LDLIBPTH) ../../miniperl -I../../lib mktables -w
2214+ cd lib/unicore && $(LDLIBPTH) ../../miniperl-cross -I../../lib mktables -w
2215 touch uni.data
2216
2217 extra.pods: miniperl$(EXE_EXT)
2218@@ -829,7 +829,7 @@
2219 no-install install.perl install.man install.html
2220
2221 META.yml: Porting/makemeta Porting/Maintainers.pl Porting/Maintainers.pm
2222- $(LDLIBPTH) ./miniperl -Ilib Porting/makemeta
2223+ $(LDLIBPTH) ./miniperl-cross -Ilib Porting/makemeta
2224
2225 install-strip:
2226 $(MAKE) STRIPFLAGS=-s install DESTDIR="$(DESTDIR)"
2227@@ -857,17 +857,17 @@
2228 cd ../pod; $(MAKE) compile; \
2229 else :; \
2230 fi
2231- $(LDLIBPTH) ./perl installperl --destdir=$(DESTDIR) $(INSTALLFLAGS) $(STRIPFLAGS)
2232+ $(LDLIBPTH) ./miniperl-cross -Ilib installperl --destdir=$(DESTDIR) $(INSTALLFLAGS) $(STRIPFLAGS)
2233 $(MAKE) extras.install
2234
2235 install.man: all installman
2236- $(LDLIBPTH) ./perl installman --destdir=$(DESTDIR) $(INSTALLFLAGS)
2237+ $(LDLIBPTH) ./miniperl-cross -Ilib installman --destdir=$(DESTDIR) $(INSTALLFLAGS)
2238
2239 # XXX Experimental. Hardwired values, but useful for testing.
2240 # Eventually Configure could ask for some of these values.
2241 install.html: all installhtml
2242 -@test -f README.vms && cd vms && $(LNS) ../README.vms README_vms.pod && cd ..
2243- $(LDLIBPTH) ./perl installhtml \
2244+ $(LDLIBPTH) ./miniperl-cross -Ilib installhtml \
2245 --podroot=. --podpath=. --recurse \
2246 --htmldir=$(privlib)/html \
2247 --htmlroot=$(privlib)/html \
2248@@ -1173,7 +1173,7 @@
2249 # Targets for UTF16 testing:
2250
2251 minitest.utf16: minitest.prep
2252- - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl$(EXE_EXT) perl$(EXE_EXT)) \
2253+ - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl-cross$(EXE_EXT) perl$(EXE_EXT)) \
2254 && $(LDLIBPTH) ./perl TEST -minitest -utf16 base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t </dev/tty
2255
2256 test.utf16 check.utf16: test_prep
2257@@ -1239,7 +1239,7 @@
2258 # Can't depend on lib/Config.pm because that might be where miniperl
2259 # is crashing.
2260 minitest: miniperl$(EXE_EXT) lib/re.pm minitest.prep
2261- - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl$(EXE_EXT) perl$(EXE_EXT)) \
2262+ - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl-cross$(EXE_EXT) perl$(EXE_EXT)) \
2263 && $(LDLIBPTH) ./perl TEST -minitest base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t </dev/tty
2264
2265 # Test via harness
2266diff -Naur perl-5.8.8.orig/MANIFEST perl-5.8.8/MANIFEST
2267--- perl-5.8.8.orig/MANIFEST 2006-07-22 18:17:25.000000000 -0400
2268+++ perl-5.8.8/MANIFEST 2006-07-22 18:17:35.000000000 -0400
2269@@ -33,15 +33,8 @@
2270 configure.gnu Crude emulation of GNU configure
2271 cop.h Control operator header
2272 Copying The GNU General Public License
2273-Cross/config Cross-compilation
2274 Cross/config.sh-arm-linux Cross-compilation
2275-Cross/generate_config_sh Cross-compilation
2276-Cross/installperl.patch Cross-compilation
2277 Cross/Makefile Cross-compilation
2278-Cross/Makefile.SH.patch Cross-compilation
2279-Cross/README Cross-compilation
2280-Cross/TODO Cross-compilation
2281-Cross/warp Cross-compilation
2282 cv.h Code value header
2283 cygwin/cygwin.c Additional code for Cygwin port
2284 cygwin/ld2.in ld wrapper template for Cygwin port
2285diff -Naur perl-5.8.8.orig/pod/Makefile.SH perl-5.8.8/pod/Makefile.SH
2286--- perl-5.8.8.orig/pod/Makefile.SH 2006-07-22 18:17:25.000000000 -0400
2287+++ perl-5.8.8/pod/Makefile.SH 2006-07-22 18:17:35.000000000 -0400
2288@@ -63,7 +63,7 @@
2289 --podroot=.. --podpath=pod:lib:ext:vms \
2290 --libpods=perlfunc:perlguts:perlvar:perlrun:perlop
2291
2292-PERL = ../miniperl
2293+PERL = ../miniperl-cross
2294 PERLILIB = $(PERL) -I../lib
2295 REALPERL = ../perl
2296
2297diff -Naur perl-5.8.8.orig/utils/Makefile perl-5.8.8/utils/Makefile
2298--- perl-5.8.8.orig/utils/Makefile 2006-07-22 18:17:26.000000000 -0400
2299+++ perl-5.8.8/utils/Makefile 2006-07-22 18:17:35.000000000 -0400
2300@@ -1,5 +1,5 @@
2301
2302-PERL = ../miniperl
2303+PERL = ../miniperl-cross
2304 REALPERL = ../perl
2305
2306 # Files to be built with variable substitution after miniperl is
2307diff -Naur perl-5.8.8.orig/x2p/Makefile.SH perl-5.8.8/x2p/Makefile.SH
2308--- perl-5.8.8.orig/x2p/Makefile.SH 2006-07-22 18:17:26.000000000 -0400
2309+++ perl-5.8.8/x2p/Makefile.SH 2006-07-22 18:17:35.000000000 -0400
2310@@ -172,7 +172,7 @@
2311 # These should be automatically generated
2312
2313 $(plextract):
2314- ../miniperl -I../lib $@.PL
2315+ ../miniperl-cross -I../lib $@.PL
2316
2317 find2perl: find2perl.PL
2318
Note: See TracBrowser for help on using the repository browser.