Front page | perl.perl5.porters |
Postings from April 2014
z/OS hints
Thread Next
From:
Yaroslav Kuzmin
Date:
April 25, 2014 08:41
Subject:
z/OS hints
Message ID:
b9ee046b5669440c8f25a89849b4dc8a@wal-s-mbx2.rocketsoftware.com
6c6
< #
---
> #
21c21
< '') cc='c99' ;;
---
> '') cc='c89' ;;
24c24
< '') ld='c99' ;;
---
> '') ld='c89' ;;
36,37c36,37
< '') 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_POSIX_SOURCE=1' ;;
< *) 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 -D_POSIX_SOURCE=1' ;;
---
> '') 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" ;;
49c49
< '') cccdlflags='-qxplink -qdll' ;;
---
> '') cccdlflags='-W 0,dll' ;;
75c75
< '') ldflags='-qxplink -qdll' ;;
---
> '') ldflags='-Wl,EDIT=NO -Wl,XPLINK,dll' ;;
85c85
< usedl='n'
---
> usedl='n'
99c99
< 02x0[89].*|02x1[0-9].*|[0-9][3-9]x*)
---
> 02x0[89].*|02x1[0-9].*|[0-9][3-9]x*)
105c105
< *)
---
> *)
113,114c113,114
< ccflags="$ccflags -D_SHR_ENVIRON -DPERL_EXTERNAL_GLOB -qexportall -qdll -qxplink"
< cccdlflags='-c -qexportall -qxplink -qdll'
---
> ccflags="$ccflags -D_SHR_ENVIRON -DPERL_EXTERNAL_GLOB -Wc,dll"
> cccdlflags='-c -Wc,XPLINK,dll,EXPORTALL'
117,118c117,118
< ccdlflags="-qxplink -qdll `pwd`/libperl.x"
< lddlflags="-qxplink -qdll `pwd`/libperl.x"
---
> ccdlflags="-W l,XPLINK,dll `pwd`/libperl.x"
> lddlflags="-W l,XPLINK,dll `pwd`/libperl.x"
140,142c140,142
< case "$d_pthread_atfork" in
< '') d_pthread_atfork='undef' ;;
< esac
---
> case "$d_pthread_atfork" in
> '') d_pthread_atfork='undef' ;;
> esac
152c152
< # We have our own cppstdin script. This is not a variable since
---
> # We have our own cppstdin script. This is not a variable since
156,157c156,157
< # other things. Unfortunately, cppflags occurs too late to be of
< # value external to the script. This may need to be revisited
---
> # other things. Unfortunately, cppflags occurs too late to be of
> # value external to the script. This may need to be revisited
169c169
< # Note that Makefile.SH employs a bare yacc command to generate
---
> # Note that Makefile.SH employs a bare yacc command to generate
175c175
< # following warnings try invoking Configure like so:
---
> # following warnings try invoking Configure like so:
187c187
< Warning. You do not have a copy of yyparse.c, the default
---
> Warning. You do not have a copy of yyparse.c, the default
204,205c204,205
< There does not appear to be one in /samples either.
< If you feel you can make use of an alternate yacc-like
---
> There does not appear to be one in /samples either.
> If you feel you can make use of an alternate yacc-like
220a221,227
>
> 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__
Thread Next
-
z/OS hints
by Yaroslav Kuzmin