4436,4439c4436
< # set CFLAGS for configure process
< # this will be reset later for config.mk
< # use haltonmsg to force error for missing H files
< CFLAGS="$CFLAGS -D_ALL_SOURCE -Wc,float(ieee),haltonmsg(3296)";
---
12595,12598d12591
< # IBM z/OS reset CFLAGS for config.mk
< if test "$zOSUnix" = "yes"; then
< CFLAGS="-D_ALL_SOURCE -Wc,float\(ieee\)"
< fi
>>> src/configure.in <<<<<<
339,342c339
< # set CFLAGS for configure process
< # this will be reset later for config.mk
< # use haltonmsg to force error for missing H files
< CFLAGS="$CFLAGS -D_ALL_SOURCE -Wc,float(ieee),haltonmsg(3296)";
---
> 4414c4414
> < if test "$CC" = "cc"; then
> ---
> > if test "$CC" = "cc"; then
> 4436,4439c4436
> < # set CFLAGS for configure process
> < # this will be reset later for config.mk
> < # use haltonmsg to force error for missing H files
> < CFLAGS="$CFLAGS -D_ALL_SOURCE -Wc,float(ieee),haltonmsg(3296)";
> ---
> > CFLAGS="$CFLAGS -D_ALL_SOURCE -Wc,float\\(IEEE\\)";
> 12595,12598d12591
> < # IBM z/OS reset CFLAGS for config.mk
> < if test "$zOSUnix" = "yes"; then
> < CFLAGS="-D_ALL_SOURCE -Wc,float\(ieee\)"
> < fi
> >>> src/configure.in <<<<<<
> 339,342c339
> < # set CFLAGS for configure process
> < # this will be reset later for config.mk
> < # use haltonmsg to force error for missing H files
> < CFLAGS="$CFLAGS -D_ALL_SOURCE -Wc,float(ieee),haltonmsg(3296)";
> ---
> > CFLAGS="$CFLAGS -D_ALL_SOURCE -Wc,float\\(IEEE\\)";
> 3647,3651d3643
> < > < # IBM z/OS reset CFLAGS for config.mk
> < if test "$zOSUnix" = "yes"; then
> < CFLAGS="-D_ALL_SOURCE -Wc,float\(ieee\)"
> < fi
Can you please make context diffs, so that we can see exactly what
changes? And please attach the diff, if you put it as the main text
lines get wrapped.
It is also nice if you can give a short explanation what the patch
fixes, otherwise we have to guess.
-- VOICE OVER: As the horrendous Black Beast lunged forward, escape for Arthur
and his knights seemed hopeless, when, suddenly ... the animator
suffered a fatal heart attack.
ANIMATOR: Aaaaagh!
VOICE OVER: The cartoon peril was no more ... The Quest for Holy Grail could
continue.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
1) The configure script does not detect missing H files, I added the following option to fix this { haltonmsg(3296) }
2) The z/OS compiler use "()" for some compiler options. Normally in an open command-line or in an open-makefile The "()" must be "escaped" , but configure uses { eval } therefore the escapes are not needed and do not work .
This value { float\\(IEEE\\) } produces a compiler warning error "invalid option float\ ". I found this by examining the configure.log
Therefore I changed it to ",float(ieee),"
Since the above options will only work correctly in the configure script the CFLAGS must be RESET to values that
Will work in the makefile so the last change sets the options that are to be used in the makefile
CFLAGS="-D_ALL_SOURCE -Wc,float\(ieee\)"
IBM has recently added a new compiler interface which is UNIX friendly (the new -q options syntax) but that may not Be backwards compatible
But , Now after doing further research I have discovered that ( I need to use a completely different set of options ) and for sure these
Options are not compatible with older systems ( how old or how far back should be supported is the current question I need to resolve )
Here is an excerpt from a motif sample makefile >>
-----Original Message-----
From: vim_dev@googlegroups.com [mailto:vim_dev@googlegroups.com] On Behalf Of Bram Moolenaar
Sent: Saturday, April 28, 2012 4:33 AM
To: Bovy, Stephen
Cc: vim-...@vim.org
Subject: Re: configure script patches for IBM z/OS Build
Stephen Bovy wrote:
> >> src/auto/configure <<<<
> 4414c4414
> < if test "$CC" = "cc"; then
> ---
> > if test "$CC" = "cc"; then
> 4436,4439c4436
> < # set CFLAGS for configure process
> < # this will be reset later for config.mk
> < # use haltonmsg to force error for missing H files
> < CFLAGS="$CFLAGS -D_ALL_SOURCE -Wc,float(ieee),haltonmsg(3296)";
> ---
> > CFLAGS="$CFLAGS -D_ALL_SOURCE -Wc,float\\(IEEE\\)";
> 12595,12598d12591
> < # IBM z/OS reset CFLAGS for config.mk < if test "$zOSUnix" = "yes"; > then
> < CFLAGS="-D_ALL_SOURCE -Wc,float\(ieee\)"
> < fi
> >>> src/configure.in <<<<<<
> 339,342c339
> < # set CFLAGS for configure process
> < # this will be reset later for config.mk
> < # use haltonmsg to force error for missing H files
> < CFLAGS="$CFLAGS -D_ALL_SOURCE -Wc,float(ieee),haltonmsg(3296)";
> ---
> > CFLAGS="$CFLAGS -D_ALL_SOURCE -Wc,float\\(IEEE\\)";
> 3647,3651d3643
> <
> < # IBM z/OS reset CFLAGS for config.mk < if test "$zOSUnix" = "yes"; > then
> < CFLAGS="-D_ALL_SOURCE -Wc,float\(ieee\)"
> < fi
Can you please make context diffs, so that we can see exactly what changes? And please attach the diff, if you put it as the main text lines get wrapped.
It is also nice if you can give a short explanation what the patch fixes, otherwise we have to guess.
--
VOICE OVER: As the horrendous Black Beast lunged forward, escape for Arthur
and his knights seemed hopeless, when, suddenly ... the animator
suffered a fatal heart attack.
ANIMATOR: Aaaaagh!
VOICE OVER: The cartoon peril was no more ... The Quest for Holy Grail could
continue.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
-----Original Message-----
From: vim_dev@googlegroups.com [mailto:vim_dev@googlegroups.com] On Behalf Of Bovy, Stephen
Sent: Saturday, April 28, 2012 10:45 PM
To: vim_dev@googlegroups.com
Cc: vim-...@vim.org; MVS OpenEdition (MVS...@vm.marist.edu)
Subject: RE: configure script patches for IBM z/OS Build
OK, thanks
I will try my best
I am new at this (so please be patient )
These patches address three issues
The first change fixes the configure process
1) The configure script does not detect missing H files, I added the following option to fix this { haltonmsg(3296) }
2) The z/OS compiler use "()" for some compiler options. Normally in an open command-line or in an open-makefile The "()" must be "escaped" , but configure uses { eval } therefore the escapes are not needed and do not work .
This value { float\\(IEEE\\) } produces a compiler warning error "invalid option float\ ". I found this by examining the configure.log
Therefore I changed it to ",float(ieee),"
Since the above options will only work correctly in the configure script the CFLAGS must be RESET to values that Will work in the makefile so the last change sets the options that are to be used in the makefile
CFLAGS="-D_ALL_SOURCE -Wc,float\(ieee\)"
IBM has recently added a new compiler interface which is UNIX friendly (the new -q options syntax) but that may not Be backwards compatible
But , Now after doing further research I have discovered that ( I need to use a completely different set of options ) and for sure these Options are not compatible with older systems ( how old or how far back should be supported is the current question I need to resolve )
Here is an excerpt from a motif sample makefile >>
So please hold off on these patches until I have time to do some more research
-----Original Message-----
From: vim_dev@googlegroups.com [mailto:vim_dev@googlegroups.com] On Behalf Of Bram Moolenaar
Sent: Saturday, April 28, 2012 4:33 AM
To: Bovy, Stephen
Cc: vim-...@vim.org
Subject: Re: configure script patches for IBM z/OS Build
Stephen Bovy wrote:
> >> src/auto/configure <<<<
> 4414c4414
> < if test "$CC" = "cc"; then
> ---
> > if test "$CC" = "cc"; then
> 4436,4439c4436
> < # set CFLAGS for configure process
> < # this will be reset later for config.mk
> < # use haltonmsg to force error for missing H files
> < CFLAGS="$CFLAGS -D_ALL_SOURCE -Wc,float(ieee),haltonmsg(3296)";
> ---
> > CFLAGS="$CFLAGS -D_ALL_SOURCE -Wc,float\\(IEEE\\)";
> 12595,12598d12591
> < # IBM z/OS reset CFLAGS for config.mk < if test "$zOSUnix" = "yes"; > then
> < CFLAGS="-D_ALL_SOURCE -Wc,float\(ieee\)"
> < fi
> >>> src/configure.in <<<<<<
> 339,342c339
> < # set CFLAGS for configure process
> < # this will be reset later for config.mk
> < # use haltonmsg to force error for missing H files
> < CFLAGS="$CFLAGS -D_ALL_SOURCE -Wc,float(ieee),haltonmsg(3296)";
> ---
> > CFLAGS="$CFLAGS -D_ALL_SOURCE -Wc,float\\(IEEE\\)";
> 3647,3651d3643
> <
> < # IBM z/OS reset CFLAGS for config.mk < if test "$zOSUnix" = "yes"; > then
> < CFLAGS="-D_ALL_SOURCE -Wc,float\(ieee\)"
> < fi
Can you please make context diffs, so that we can see exactly what changes? And please attach the diff, if you put it as the main text lines get wrapped.
It is also nice if you can give a short explanation what the patch fixes, otherwise we have to guess.
--
VOICE OVER: As the horrendous Black Beast lunged forward, escape for Arthur
and his knights seemed hopeless, when, suddenly ... the animator
suffered a fatal heart attack.
ANIMATOR: Aaaaagh!
VOICE OVER: The cartoon peril was no more ... The Quest for Holy Grail could
continue.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Well shucks , I am still getting compiler errors (after fixing all previous mistakes)
The IBM compiler never lies ( we always use the IBM compiler as our final line of defense ) because it is the ultimate most absolutely strictest compiler Which absolutely enforces STANDARDS dotting every T and crossing every I
ERROR CCN3285 ./gui_xmebw.c:1305 The indirection operator cannot be applied to a pointer to an incomplete struct or union.
ERROR CCN3285 ./gui_xmebw.c:1369 The indirection operator cannot be applied to a pointer to an incomplete struct or union.
ERROR CCN3285 ./gui_xmebw.c:1370 The indirection operator cannot be applied to a pointer to an incomplete struct or union.
CCN0793(I) Compilation failed for file ./gui_xmebw.c. Object file not created.
FSUM3065 The COMPILE step ended with return code 12.
FSUM3017 Could not compile gui_xmebw.c. Correct the errors and try again.
FSUM8226 make: Error code 3
$
-----Original Message-----
From: vim_dev@googlegroups.com [mailto:vim_dev@googlegroups.com] On Behalf Of Bovy, Stephen
Sent: Saturday, April 28, 2012 10:59 PM
To: vim_dev@googlegroups.com
Cc: vim-...@vim.org; MVS OpenEdition (MVS...@vm.marist.edu)
Subject: RE: configure script patches for IBM z/OS Build
Hmmm ,
I see, I missed this !!
if test "$zOSUnix" = "yes"; then
CFLAGS="$CFLAGS -W c,dll"
LDFLAGS="$LDFLAGS -W l,dll"
X_EXTRA_LIBS="$X_EXTRA_LIBS -lSM -lICE -lXmu"
fi
So again , please wait while I re-check
I suppose the correct solution would be to use SED to re-insert the required "escapes" before the makfile is written
-----Original Message-----
From: vim_dev@googlegroups.com [mailto:vim_dev@googlegroups.com] On Behalf Of Bovy, Stephen
Sent: Saturday, April 28, 2012 10:45 PM
To: vim_dev@googlegroups.com
Cc: vim-...@vim.org; MVS OpenEdition (MVS...@vm.marist.edu)
Subject: RE: configure script patches for IBM z/OS Build
OK, thanks
I will try my best
I am new at this (so please be patient )
These patches address three issues
The first change fixes the configure process
1) The configure script does not detect missing H files, I added the following option to fix this { haltonmsg(3296) }
2) The z/OS compiler use "()" for some compiler options. Normally in an open command-line or in an open-makefile The "()" must be "escaped" , but configure uses { eval } therefore the escapes are not needed and do not work .
This value { float\\(IEEE\\) } produces a compiler warning error "invalid option float\ ". I found this by examining the configure.log
Therefore I changed it to ",float(ieee),"
Since the above options will only work correctly in the configure script the CFLAGS must be RESET to values that Will work in the makefile so the last change sets the options that are to be used in the makefile
CFLAGS="-D_ALL_SOURCE -Wc,float\(ieee\)"
IBM has recently added a new compiler interface which is UNIX friendly (the new -q options syntax) but that may not Be backwards compatible
But , Now after doing further research I have discovered that ( I need to use a completely different set of options ) and for sure these Options are not compatible with older systems ( how old or how far back should be supported is the current question I need to resolve )
Here is an excerpt from a motif sample makefile >>
So please hold off on these patches until I have time to do some more research
-----Original Message-----
From: vim_dev@googlegroups.com [mailto:vim_dev@googlegroups.com] On Behalf Of Bram Moolenaar
Sent: Saturday, April 28, 2012 4:33 AM
To: Bovy, Stephen
Cc: vim-...@vim.org
Subject: Re: configure script patches for IBM z/OS Build
Stephen Bovy wrote:
> >> src/auto/configure <<<<
> 4414c4414
> < if test "$CC" = "cc"; then
> ---
> > if test "$CC" = "cc"; then
> 4436,4439c4436
> < # set CFLAGS for configure process
> < # this will be reset later for config.mk
> < # use haltonmsg to force error for missing H files
> < CFLAGS="$CFLAGS -D_ALL_SOURCE -Wc,float(ieee),haltonmsg(3296)";
> ---
> > CFLAGS="$CFLAGS -D_ALL_SOURCE -Wc,float\\(IEEE\\)";
> 12595,12598d12591
> < # IBM z/OS reset CFLAGS for config.mk < if test "$zOSUnix" = "yes"; > then
> < CFLAGS="-D_ALL_SOURCE -Wc,float\(ieee\)"
> < fi
> >>> src/configure.in <<<<<<
> 339,342c339
> < # set CFLAGS for configure process
> < # this will be reset later for config.mk
> < # use haltonmsg to force error for missing H files
> < CFLAGS="$CFLAGS -D_ALL_SOURCE -Wc,float(ieee),haltonmsg(3296)";
> ---
> > CFLAGS="$CFLAGS -D_ALL_SOURCE -Wc,float\\(IEEE\\)";
> 3647,3651d3643
> <
> < # IBM z/OS reset CFLAGS for config.mk < if test "$zOSUnix" = "yes"; > then
> < CFLAGS="-D_ALL_SOURCE -Wc,float\(ieee\)"
> < fi
Can you please make context diffs, so that we can see exactly what changes? And please attach the diff, if you put it as the main text lines get wrapped.
It is also nice if you can give a short explanation what the patch fixes, otherwise we have to guess.
--
VOICE OVER: As the horrendous Black Beast lunged forward, escape for Arthur
and his knights seemed hopeless, when, suddenly ... the animator
suffered a fatal heart attack.
ANIMATOR: Aaaaagh!
VOICE OVER: The cartoon peril was no more ... The Quest for Holy Grail could
continue.
"Monty Python and the Holy Grail" PYTHON (MONTY)
> if test "$zOSUnix" = "yes"; then
> CFLAGS="$CFLAGS -W c,dll"
> LDFLAGS="$LDFLAGS -W l,dll"
> X_EXTRA_LIBS="$X_EXTRA_LIBS -lSM -lICE -lXmu"
> fi
> So again , please wait while I re-check
> I suppose the correct solution would be to use SED
> to re-insert the required "escapes" before the makfile is written
Hi Stephen
You can produce a context diff for your patches with
with "diff -c original_file modified_file". Or if you use
mercurial (which is recommended), you then can just
do "hg diff file".
I suppose that only few people have access to zOS so the
problems you find are very welcome!
ERROR CCN3285 ./gui_xmebw.c:1305 The indirection operator cannot be applied to a pointer to an incomplete struct or union.
ERROR CCN3285 ./gui_xmebw.c:1369 The indirection operator cannot be applied to a pointer to an incomplete struct or union.
ERROR CCN3285 ./gui_xmebw.c:1370 The indirection operator cannot be applied to a pointer to an incomplete struct or union.
-----Original Message-----
From: vim_dev@googlegroups.com [mailto:vim_dev@googlegroups.com] On Behalf Of Bovy, Stephen
Sent: Saturday, April 28, 2012 11:55 PM
To: vim_dev@googlegroups.com
Cc: vim-...@vim.org; MVS OpenEdition (MVS...@vm.marist.edu)
Subject: RE: configure script patches for IBM z/OS Build
Well shucks , I am still getting compiler errors (after fixing all previous mistakes)
The IBM compiler never lies ( we always use the IBM compiler as our final line of defense ) because it is the ultimate most absolutely strictest compiler Which absolutely enforces STANDARDS dotting every T and crossing every I
ERROR CCN3285 ./gui_xmebw.c:1305 The indirection operator cannot be applied to a pointer to an incomplete struct or union.
ERROR CCN3285 ./gui_xmebw.c:1369 The indirection operator cannot be applied to a pointer to an incomplete struct or union.
ERROR CCN3285 ./gui_xmebw.c:1370 The indirection operator cannot be applied to a pointer to an incomplete struct or union.
CCN0793(I) Compilation failed for file ./gui_xmebw.c. Object file not created.
FSUM3065 The COMPILE step ended with return code 12.
FSUM3017 Could not compile gui_xmebw.c. Correct the errors and try again.
FSUM8226 make: Error code 3
$
-----Original Message-----
From: vim_dev@googlegroups.com [mailto:vim_dev@googlegroups.com] On Behalf Of Bovy, Stephen
Sent: Saturday, April 28, 2012 10:59 PM
To: vim_dev@googlegroups.com
Cc: vim-...@vim.org; MVS OpenEdition (MVS...@vm.marist.edu)
Subject: RE: configure script patches for IBM z/OS Build
Hmmm ,
I see, I missed this !!
if test "$zOSUnix" = "yes"; then
CFLAGS="$CFLAGS -W c,dll"
LDFLAGS="$LDFLAGS -W l,dll"
X_EXTRA_LIBS="$X_EXTRA_LIBS -lSM -lICE -lXmu"
fi
So again , please wait while I re-check
I suppose the correct solution would be to use SED to re-insert the required "escapes" before the makfile is written
-----Original Message-----
From: vim_dev@googlegroups.com [mailto:vim_dev@googlegroups.com] On Behalf Of Bovy, Stephen
Sent: Saturday, April 28, 2012 10:45 PM
To: vim_dev@googlegroups.com
Cc: vim-...@vim.org; MVS OpenEdition (MVS...@vm.marist.edu)
Subject: RE: configure script patches for IBM z/OS Build
OK, thanks
I will try my best
I am new at this (so please be patient )
These patches address three issues
The first change fixes the configure process
1) The configure script does not detect missing H files, I added the following option to fix this { haltonmsg(3296) }
2) The z/OS compiler use "()" for some compiler options. Normally in an open command-line or in an open-makefile The "()" must be "escaped" , but configure uses { eval } therefore the escapes are not needed and do not work .
This value { float\\(IEEE\\) } produces a compiler warning error "invalid option float\ ". I found this by examining the configure.log
Therefore I changed it to ",float(ieee),"
Since the above options will only work correctly in the configure script the CFLAGS must be RESET to values that Will work in the makefile so the last change sets the options that are to be used in the makefile
CFLAGS="-D_ALL_SOURCE -Wc,float\(ieee\)"
IBM has recently added a new compiler interface which is UNIX friendly (the new -q options syntax) but that may not Be backwards compatible
But , Now after doing further research I have discovered that ( I need to use a completely different set of options ) and for sure these Options are not compatible with older systems ( how old or how far back should be supported is the current question I need to resolve )
Here is an excerpt from a motif sample makefile >>
So please hold off on these patches until I have time to do some more research
-----Original Message-----
From: vim_dev@googlegroups.com [mailto:vim_dev@googlegroups.com] On Behalf Of Bram Moolenaar
Sent: Saturday, April 28, 2012 4:33 AM
To: Bovy, Stephen
Cc: vim-...@vim.org
Subject: Re: configure script patches for IBM z/OS Build
Stephen Bovy wrote:
> >> src/auto/configure <<<<
> 4414c4414
> < if test "$CC" = "cc"; then
> ---
> > if test "$CC" = "cc"; then
> 4436,4439c4436
> < # set CFLAGS for configure process
> < # this will be reset later for config.mk
> < # use haltonmsg to force error for missing H files
> < CFLAGS="$CFLAGS -D_ALL_SOURCE -Wc,float(ieee),haltonmsg(3296)";
> ---
> > CFLAGS="$CFLAGS -D_ALL_SOURCE -Wc,float\\(IEEE\\)";
> 12595,12598d12591
> < # IBM z/OS reset CFLAGS for config.mk < if test "$zOSUnix" = "yes"; > then
> < CFLAGS="-D_ALL_SOURCE -Wc,float\(ieee\)"
> < fi
> >>> src/configure.in <<<<<<
> 339,342c339
> < # set CFLAGS for configure process
> < # this will be reset later for config.mk
> < # use haltonmsg to force error for missing H files
> < CFLAGS="$CFLAGS -D_ALL_SOURCE
ERROR CCN3285 ./gui_xmebw.c:1305 The indirection operator cannot be applied to a pointer to an incomplete struct or union.
ERROR CCN3285 ./gui_xmebw.c:1369 The indirection operator cannot be applied to a pointer to an incomplete struct or union.
ERROR CCN3285 ./gui_xmebw.c:1370 The indirection operator cannot be applied to a pointer to an incomplete struct or union.
-----Original Message-----
From: vim_dev@googlegroups.com [mailto:vim_dev@googlegroups.com] On Behalf Of Bovy, Stephen
Sent: Saturday, April 28, 2012 11:55 PM
To: vim_dev@googlegroups.com
Cc: vim-...@vim.org; MVS OpenEdition (MVS...@vm.marist.edu)
Subject: RE: configure script patches for IBM z/OS Build
Well shucks , I am still getting compiler errors (after fixing all previous mistakes)
The IBM compiler never lies ( we always use the IBM compiler as our final line of defense ) because it is the ultimate most absolutely strictest compiler Which absolutely enforces STANDARDS dotting every T and crossing every I
ERROR CCN3285 ./gui_xmebw.c:1305 The indirection operator cannot be applied to a pointer to an incomplete struct or union.
ERROR CCN3285 ./gui_xmebw.c:1369 The indirection operator cannot be applied to a pointer to an incomplete struct or union.
ERROR CCN3285 ./gui_xmebw.c:1370 The indirection operator cannot be applied to a pointer to an incomplete struct or union.
CCN0793(I) Compilation failed for file ./gui_xmebw.c. Object file not created.
FSUM3065 The COMPILE step ended with return code 12.
FSUM3017 Could not compile gui_xmebw.c. Correct the errors and try again.
FSUM8226 make: Error code 3
$
-----Original Message-----
From: vim_dev@googlegroups.com [mailto:vim_dev@googlegroups.com] On Behalf Of Bovy, Stephen
Sent: Saturday, April 28, 2012 10:59 PM
To: vim_dev@googlegroups.com
Cc: vim-...@vim.org; MVS OpenEdition (MVS...@vm.marist.edu)
Subject: RE: configure script patches for IBM z/OS Build
Hmmm ,
I see, I missed this !!
if test "$zOSUnix" = "yes"; then
CFLAGS="$CFLAGS -W c,dll"
LDFLAGS="$LDFLAGS -W l,dll"
X_EXTRA_LIBS="$X_EXTRA_LIBS -lSM -lICE -lXmu"
fi
So again , please wait while I re-check
I suppose the correct solution would be to use SED to re-insert the required "escapes" before the makfile is written
-----Original Message-----
From: vim_dev@googlegroups.com [mailto:vim_dev@googlegroups.com] On Behalf Of Bovy, Stephen
Sent: Saturday, April 28, 2012 10:45 PM
To: vim_dev@googlegroups.com
Cc: vim-...@vim.org; MVS OpenEdition (MVS...@vm.marist.edu)
Subject: RE: configure script patches for IBM z/OS Build
OK, thanks
I will try my best
I am new at this (so please be patient )
These patches address three issues
The first change fixes the configure process
1) The configure script does not detect missing H files, I added the following option to fix this { haltonmsg(3296) }
2) The z/OS compiler use "()" for some compiler options. Normally in an open command-line or in an open-makefile The "()" must be "escaped" , but configure uses { eval } therefore the escapes are not needed and do not work .
This value { float\\(IEEE\\) } produces a compiler warning error "invalid option float\ ". I found this by examining the configure.log
Therefore I changed it to ",float(ieee),"
Since the above options will only work correctly in the configure script the CFLAGS must be RESET to values that Will work in the makefile so the last change sets the options that are to be used in the makefile
CFLAGS="-D_ALL_SOURCE -Wc,float\(ieee\)"
IBM has recently added a new compiler interface which is UNIX friendly (the new -q options syntax) but that may not Be backwards compatible
But , Now after doing further research I have discovered that ( I need to use a completely different set of options ) and for sure these Options are not compatible with older systems ( how old or how far back should be supported is the current question I need to resolve )
Here is an excerpt from a motif sample makefile >>
So please hold off on these patches until I have time to do some more research
-----Original Message-----
From: vim_dev@googlegroups.com [mailto:vim_dev@googlegroups.com] On Behalf Of Bram Moolenaar
Sent: Saturday, April 28, 2012 4:33 AM
To: Bovy, Stephen
Cc: vim-...@vim.org
Subject: Re: configure script patches for IBM z/OS Build
Stephen Bovy wrote:
> >> src/auto/configure <<<<
> 4414c4414
> < if test "$CC" = "cc"; then
> ---
> > if test "$CC" = "cc"; then
> 4436,4439c4436
> < # set CFLAGS for configure process
> < # this will be reset later for config.mk
> < # use haltonmsg to force error for missing H files
> < CFLAGS="$CFLAGS -D_ALL_SOURCE -Wc,float(ieee),haltonmsg(3296)";
> ---
> > CFLAGS="$CFLAGS -D_ALL_SOURCE -Wc,float\\(IEEE\\)";
> 12595,12598d12591
> < # IBM z/OS reset CFLAGS for config.mk < if test "$zOSUnix" = "yes"; > then
> < CFLAGS="-D_ALL_SOURCE -Wc,float\(ieee\)"
> < fi
> >>> src/configure.in <<<<<<
> 339,342c339
> < # set CFLAGS for configure process
> < # this will be reset later for config.mk
> < # use haltonmsg to force error for missing H files
> < CFLAGS="$CFLAGS -D_ALL_SOURCE