On Mon, 15 Mar 2010 14:55:50 +0000, Dave Mitchell <davem@iabyn.com> wrote: > 7 configure Here's a patch for http://rt.perl.org/rt3/Public/Bug/Display.html?id=17736 Available in branch merijn/post-5.12 commit 50cf7679884399fed31c7f7db3f8e3093b1008d9 Author: H.Merijn Brand <h.m.brand@xs4all.nl> Date: Mon Mar 15 16:33:22 2010 +0100 Allow -Duse64bitint without promoting to use64bitall on HP-UX Fix for http://rt.perl.org/rt3/Public/Bug/Display.html?id=17736 --8<--- --- hints/hpux.sh 2010-03-15 16:11:27 +0100 +++ hints/hpux.sh.new 2010-03-15 16:14:30 +0100 @@ -285,8 +285,12 @@ EOM esac ;; *) - ccflags="$ccflags +DD64" - ldflags="$ldflags +DD64" + case "$use64bitall" in + $define|true|[yY]*) + ccflags="$ccflags +DD64" + ldflags="$ldflags +DD64" + ;; + esac ;; esac -->8--- $ file perl perl: ELF-32 executable object file - IA64 $ ./perl -Ilib -V:.*size charsize='1'; d_chsize='undef'; d_malloc_good_size='undef'; d_malloc_size='undef'; doublesize='8'; fpossize='8'; gidsize='4'; i16size='2'; i32size='4'; i64size='8'; i8size='1'; intsize='4'; ivsize='8'; longdblsize='16'; longlongsize='8'; longsize='4'; lseeksize='8'; nvsize='8'; ptrsize='4'; shortsize='2'; sig_size='49'; sizesize='4'; u16size='2'; u32size='4'; u64size='8'; u8size='1'; uidsize='4'; uvsize='8'; $ ./perl -Ilib -v This is perl 5, version 12, subversion 0 (v5.12.0 (v5.11.5-128-gec2eb4b)) built for IA64.ARCHREV_0-LP64 : $ make test_harness : : All tests successful. Test Summary Report ------------------- ../dist/Net-Ping/t/450_service.t (Wstat: 0 Tests: 26 Failed: 0) TODO passed: 9, 18 Files=1800, Tests=349493, 458 wallclock secs (79.22 usr 25.12 sys + 568.73 cusr 106.63 csys = 779.70 CPU) Result: PASS -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using & porting perl 5.6.2, 5.8.x, 5.10.x, 5.11.x on HP-UX 10.20, 11.00, 11.11, 11.23, and 11.31, OpenSuSE 10.3, 11.0, and 11.1, AIX 5.2 and 5.3. http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/Thread Previous | Thread Next