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
}, 0, "No build time known");
25 is
($conf->{config
}{version
}, "5.8.9", "reconstructed \%Config{version}");
26 is
($conf->{config
}{usethreads
}, "define", "This was a threaded perl");
29 Summary of
my perl5
(revision
5 version
8 subversion
9) configuration
:
31 osname
=linux
, osvers
=2.6.34.7-0.4-desktop
, archname
=i686
-linux
-thread
-multi
-64int-ld
32 uname
='linux tux09.procura.nl 2.6.34.7-0.4-desktop #1 smp preempt 2010-10-07 19:07:51 +0200 i686 i686 i386 gnulinux '
33 config_args
='-Dusedevel -Dusethreads -Duseithreads -Duse64bitint -Duselongdouble -Duseperlio -des -Dusedevel -Uinstallusrbinperl -Dprefix=/media/Tux/perls-t'
34 hint
=recommended
, useposix
=true
, d_sigaction
=define
35 usethreads
=define use5005threads
=undef useithreads
=define usemultiplicity
=define
36 useperlio
=define d_sfio
=undef uselargefiles
=define usesocks
=undef
37 use64bitint
=define use64bitall
=undef uselongdouble
=define
38 usemymalloc
=n
, bincompat5005
=undef
40 cc
='cc', ccflags
='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
42 cppflags
='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -I/pro/local/include'
43 ccversion
='', gccversion
='4.5.0 20100604 [gcc-4_5-branch revision 160292]', gccosandvers
=''
44 intsize
=4, longsize
=4, ptrsize
=4, doublesize
=8, byteorder
=12345678
45 d_longlong
=define
, longlongsize
=8, d_longdbl
=define
, longdblsize
=12
46 ivtype
='long long', ivsize
=8, nvtype
='long double', nvsize
=12, Off_t
='off_t', lseeksize
=8
47 alignbytes
=4, prototype=define
49 ld
='cc', ldflags
='-L/pro/local/lib'
50 libpth
=/pro/local/lib /lib
/usr/lib
/usr/local/lib
51 libs
=-lnsl
-lgdbm
-ldb
-ldl
-lm
-lcrypt
-lutil
-lpthread
-lc
52 perllibs
=-lnsl
-ldl
-lm
-lcrypt
-lutil
-lpthread
-lc
53 libc
=/lib/libc
-2.11.2.so
, so
=so
, useshrplib
=false
, libperl
=libperl
.a
54 gnulibc_version
='2.11.2'
56 dlsrc
=dl_dlopen
.xs
, dlext
=so
, d_dlsymun
=undef, ccdlflags
='-Wl,-E'
57 cccdlflags
='-fPIC', lddlflags
='-shared -O2 -L/pro/local/lib'
60 Characteristics of this binary
(from libperl
):
61 Compile
-time options
: DEBUGGING MULTIPLICITY PERL_IMPLICIT_CONTEXT
62 PERL_MALLOC_WRAP THREADS_HAVE_PIDS USE_64_BIT_INT
63 USE_FAST_STDIO USE_ITHREADS USE_LARGE_FILES
64 USE_LONG_DOUBLE USE_PERLIO USE_REENTRANT_API
66 Compiled at Oct
21 2010 14:50:53
68 /media/Tux
/perls-t/lib
/5.8.9/i686-linux
-thread
-multi
-64int-ld
69 /media/Tux
/perls-t/lib
/5.8.9
70 /media/Tux
/perls-t/lib
/site_perl/5.8.9/i686
-linux
-thread
-multi
-64int-ld
71 /media/Tux
/perls-t/lib
/site_perl/5.8.9