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 >>
/usr/lpp/tcpip/X11R66/Xamples/motif/popups/Makefile
# This Makefile is used to build autopopups.
#
# Parameters:
# 31STATIC - builds 31-bit statically linked version
# 31DYNAMIC - builds 31-bit dynamically linked (DLL) version
# 64STATIC - builds 64-bit statically linked version
# 64DYNAMIC - builds 64-bit dynamically linked (DLL) version
# ALL - build all four versions
# clean - remove all objects, side-decks, and autopopups* prog
#
# The default is 31STATIC.
#
.SUFFIXES: .o .o64 .c
#
#
OBJS31 = autopopups.o
OBJS64 = autopopups.o64
PROGRAM = autopopups
#
LIB = /usr/lpp/tcpip/X11R66/lib
XINCLUDE = -I/usr/lpp/tcpip/X11R66/include
CC = cc
#
STATLIBS = -lXm -lXt -lSM -lICE -lXp -lXext -lX11
#
DYNLIBS31 = $(LIB)/Xm_31.x $(LIB)/Xaw_31.x $(LIB)/SM_31.x \
$(LIB)/ICE_31.x $(LIB)/X11_31.x
CFLAGS31 = -D_ALL_SOURCE -Wc,dll,XPLINK,FLOAT\(IEEE\)
LFLAGS31 = -Wl,dll,XPLINK
#
DYNLIBS64 = $(LIB)/Xm_64.x $(LIB)/Xaw_64.x $(LIB)/SM_64.x \
$(LIB)/ICE_64.x $(LIB)/X11_64.x
CFLAGS64 = -D_ALL_SOURCE -Wc,dll,LP64,XPLINK,FLOAT\(IEEE\)
LFLAGS64 = -Wl,LP64,dll,XPLINK
#
default: 31STATIC
ALL: 31STATIC 31DYNAMIC 64STATIC 64DYNAMIC
31STATIC: $(PROGRAM)
31DYNAMIC: $(PROGRAM)d
64STATIC: $(PROGRAM)64
64DYNAMIC: $(PROGRAM)64d
# compile 31-bit objects
.c.o:
$(CC) -c -o $@ $(CFLAGS31) $(XINCLUDE) $<
# compile 64-bit objects
.c.o64:
$(CC) -c -o $@ $(CFLAGS64) $(XINCLUDE) $<
# link the 31-bit static version
$(PROGRAM): $(OBJS31)
$(CC) -o $@ $(LFLAGS31) -L$(LIB) $^ $(STATLIBS)
# link the 31-bit dynamic version
$(PROGRAM)d: $(OBJS31) $(DYNLIBS31)
$(CC) -o $@ $(LFLAGS31) $^
# link the 64-bit static version
$(PROGRAM)64: $(OBJS64)
$(CC) -o $@ $(LFLAGS64) -L$(LIB) $^ $(STATLIBS)
# link the 64-bit dynamic version
$(PROGRAM)64d: $(OBJS64) $(DYNLIBS64)
$(CC) -o $@ $(LFLAGS64) $^
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
So I need to use >>
CFLAGS = -D_ALL_SOURCE -Wc,dll,XPLINK,FLOAT\(IEEE\)
LFLAGS = -Wl,dll,XPLINK
So please hold off on these patches until I have time to do some more research
--
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