In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/cc404f89bd025d82e844e94296b850d14001fe91?hp=e85dc376c2772268b837317689ee75b525ef19e0>
- Log ----------------------------------------------------------------- commit cc404f89bd025d82e844e94296b850d14001fe91 Author: Karl Williamson <[email protected]> Date: Sun Feb 15 10:28:29 2015 -0700 hints/os390.sh: z/OS doesn't work with an fd in file desc Override Configure's determination, as this doesn't work. M hints/os390.sh commit 9bf21945eb5d1ee1e840e7f21c616adb230ce51c Author: Karl Williamson <[email protected]> Date: Fri Mar 15 12:26:15 2013 -0600 hints/os390.sh: Update M hints/os390.sh commit c68fc1f1983b470e12478d4ea38a759a54d50a47 Author: John Goodyear <[email protected]> Date: Sat Mar 2 12:31:25 2013 -0700 hints/os390.sh: z/OS long long support M hints/os390.sh ----------------------------------------------------------------------- Summary of changes: hints/os390.sh | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/hints/os390.sh b/hints/os390.sh index 6c1d8f0..8fe573e 100644 --- a/hints/os390.sh +++ b/hints/os390.sh @@ -18,10 +18,10 @@ # To get ANSI C, we need to use c89, and ld doesn't exist # You can override this with Configure -Dcc=gcc -Dld=ld. case "$cc" in -'') cc='c89' ;; +'') cc='c99' ;; esac case "$ld" in -'') ld='c89' ;; +'') ld='c99' ;; esac # -DMAXSIG=39 maximum signal number @@ -33,8 +33,8 @@ esac # -DEBCDIC should come from Configure and need not be mentioned here. # Prepend your favorites with Configure -Dccflags=your_favorites case "$ccflags" in -'') ccflags='-2 -Wc,XPLINK -DMAXSIG=39 -DOEMVS -D_OE_SOCKETS -D_XOPEN_SOURCE_EXTENDED -D_ALL_SOURCE -DYYDYNAMIC' ;; -*) ccflags="$ccflags -2 -Wc,XPLINK -DMAXSIG=39 -DOEMVS -D_OE_SOCKETS -D_XOPEN_SOURCE_EXTENDED -D_ALL_SOURCE -DYYDYNAMIC" ;; +'') ccflags='-qlanglvl=extended:extc89:extc99 -qlongname -qxplink -qdll -qfloat=ieee -qhaltonmsg=3296:4108 -DMAXSIG=39 -DOEMVS -D_OE_SOCKETS -D_XOPEN_SOURCE_EXTENDED -D_ALL_SOURCE -DYYDYNAMIC -D_POSI ... [14 chars truncated] +*) ccflags='$ccflags -qlanglvl=extended:extc89:extc99 -qlongname -qxplink -qdll -qfloat=ieee -qhaltonmsg=3296:4108 -DMAXSIG=39 -DOEMVS -D_OE_SOCKETS -D_XOPEN_SOURCE_EXTENDED -D_ALL_SOURCE -DYYDYNAMIC ... [22 chars truncated] esac # Turning on optimization breaks perl. @@ -46,7 +46,7 @@ esac # To link via definition side decks we need the dll option # You can override this with Configure -Ucccdlflags or somesuch. case "$cccdlflags" in -'') cccdlflags='-W 0,dll' ;; +'') cccdlflags='-qxplink -qdll' ;; esac case "$so" in @@ -72,7 +72,7 @@ esac # information at the end of the executable (=> smaller binaries). # Override this option with -Dldflags='whatever else you wanted'. case "$ldflags" in -'') ldflags='-Wl,EDIT=NO -Wl,XPLINK,dll' ;; +'') ldflags='-qxplink -qdll' ;; esac # In order to build with dynamic be sure to specify: @@ -110,12 +110,12 @@ define) ;; esac libperl="libperl.$so" - ccflags="$ccflags -D_SHR_ENVIRON -DPERL_EXTERNAL_GLOB -Wc,dll" - cccdlflags='-c -Wc,XPLINK,dll,EXPORTALL' + ccflags="$ccflags -D_SHR_ENVIRON -DPERL_EXTERNAL_GLOB -qexportall -qdll -qxplink" + cccdlflags='-c -qexportall -qxplink -qdll' # The following will need to be modified for the installed libperl.x. # The modification to Config.pm is done by the installperl script after the build and test. - ccdlflags="-W l,XPLINK,dll `pwd`/libperl.x" - lddlflags="-W l,XPLINK,dll `pwd`/libperl.x" + ccdlflags="-qxplink -qdll `pwd`/libperl.x" + lddlflags="-qxplink -qdll `pwd`/libperl.x" ;; esac # even on static builds using LIBPATH should be OK. @@ -219,13 +219,6 @@ fi # sprintf() seems to get things right(er). gconvert_preference=sprintf -cat >config.arch<<'__CONFIG_ARCH__' -# The '-W 0,float(ieee)' cannot be used during Configure as ldflags. - -ccflags="$ccflags -W 0,float(ieee)" - -__CONFIG_ARCH__ - # Configure gets these wrong for some reason. d_gethostbyaddr_r='undef' d_gethostbyname_r='undef' @@ -259,3 +252,7 @@ d_attribute_warn_unused_result='undef' # (C++ but C99 math agrees) # XXX: Configure scan for proper behavior d_nan='undef' + +# Configures says this exists, but it doesn't work properly. See +# <[email protected]> +d_dir_dd_fd='undef' -- Perl5 Master Repository
