9 unless ($ENV{PERL_CORE
}) {
10 require Test
::NoWarnings
;
11 Test
::NoWarnings
->import ();
20 ok
(my $conf = Config
::Perl
::V
::plv2hash
(<DATA
>), "Read perl -v block");
21 ok
(exists $conf->{$_}, "Has $_ entry") for qw( build environment config inc );
23 is
($conf->{build
}{osname
}, $conf->{config
}{osname
}, "osname");
24 is
($conf->{build
}{stamp
}, "May 11 2012 16:36:53", "Build time");
25 is
($conf->{config
}{version
}, "5.14.2", "reconstructed \%Config{version}");
26 is
($conf->{config
}{gccversion
}, "", "not built with gcc");
27 is
($conf->{config
}{ccversion
}, "11.1.0.8", "xlc version");
29 my $opt = Config
::Perl
::V
::plv2hash
("")->{build
}{options
};
30 foreach my $o (sort qw(
31 DEBUGGING PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
32 PERL_PRESERVE_IVUV PERL_USE_DEVEL USE_64_BIT_ALL
33 USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO
36 is
($conf->{build
}{options
}{$o}, 1, "Runtime option $o set");
39 foreach my $o (sort keys %$opt) {
40 is
($conf->{build
}{options
}{$o}, 0, "Runtime option $o unset");
44 Summary of
my perl5
(revision
5 version
14 subversion
2) configuration
:
47 osname
=aix
, osvers
=5.3.0.0, archname
=aix
-64all
48 uname
='aix i3 3 5 0004898ad300 '
49 config_args
='-Dusedevel -Duse64bitall -Uversiononly -Dinc_version_list=none -des'
50 hint
=recommended
, useposix
=true
, d_sigaction
=define
51 useithreads
=undef, usemultiplicity
=undef
52 useperlio
=define
, d_sfio
=undef, uselargefiles
=define
, usesocks
=undef
53 use64bitint
=define
, use64bitall
=define
, uselongdouble
=undef
54 usemymalloc
=n
, bincompat5005
=undef
56 cc
='xlc -q64', ccflags
='-q64 -DDEBUGGING -qlanglvl=extended -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -qlanglvl=extended -I/pro/local/include -q64 -DUSE_64_BIT_ALL -q64',
58 cppflags
='-DDEBUGGING -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN -I/pro/local/include'
59 ccversion
='11.1.0.8', gccversion
='', gccosandvers
=''
60 intsize
=4, longsize
=8, ptrsize
=8, doublesize
=8, byteorder
=87654321
61 d_longlong
=define
, longlongsize
=8, d_longdbl
=define
, longdblsize
=8
62 ivtype
='long', ivsize
=8, nvtype
='double', nvsize
=8, Off_t
='off_t', lseeksize
=8
63 alignbytes
=8, prototype=define
65 ld
='ld', ldflags
='-L/usr/local/ppc64/lib64 -b64 -q64 -L/pro/local/lib -brtl -bdynamic -b64'
66 libpth
=/usr/local/ppc64/lib
64 /lib /usr
/lib /usr
/ccs/lib
/usr/local/lib /usr
/lib64
67 libs
=-lbind
-lnsl
-ldbm
-ldb
-ldl
-lld
-lm
-lcrypt
-lc
68 perllibs
=-lbind
-lnsl
-ldl
-lld
-lm
-lcrypt
-lc
69 libc
=/lib/libc
.a
, so
=a
, useshrplib
=false
, libperl
=libperl
.a
72 dlsrc
=dl_aix
.xs
, dlext
=so
, d_dlsymun
=undef, ccdlflags
=' -bE:/pro/lib/perl5/5.14.2/aix-64all/CORE/perl.exp'
73 cccdlflags
=' ', lddlflags
='-b64 -bhalt:4 -G -bI:$(PERL_INC)/perl.exp -bE:$(BASEEXT).exp -bnoentry -lc -lm -L/usr/local/ppc64/lib64 -L/pro/local/lib'
76 Characteristics of this binary
(from libperl
):
77 Compile
-time options
: DEBUGGING PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
78 PERL_PRESERVE_IVUV PERL_USE_DEVEL USE_64_BIT_ALL
79 USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO
82 Compiled at May
11 2012 16:36:53
84 /pro/lib
/perl5/site_perl
/5.14.2/aix-64all
85 /pro/lib
/perl5/site_perl
/5.14.2
86 /pro/lib
/perl5/5.14.2/aix
-64all