I have a "setup" to compile a C and some assembler modules for an external function.
...
ext_modules = [Extension('console.zconsole',['console.c',
'cpwto.s','qedit.s'],
extra_compile_args=["-Wc,ASM,LIST(/u/tmp/py/c.lst),SOURCE,WARN64,XREF","
-Wa,LIST,RENT"],
...
The assembler fails to compile cleanly because
No Overriding ASMAOPT Parameters
Overriding Parameters- NODECK,OBJECT,TERM,NOLIST,NOESD,NORLD,NOXREF,FLAG(4),ASA,GOFF,XPLINK,LIST,RENT
No Process Statements
** ASMA400W Error in invocation parameter - XPLINK...
Return Code 004
The compile statement is
/bin/xlc
-fno-strict-aliasing -DNDEBUG -O3 -qarch=10
-qlanglvl=extc99 -q64 -Wc,DLL -D_XOPEN_SOURCE_EXTENDED
-D_UNIX03_THREADS -D_POSIX_THREADS -D_OPEN_SYS_FILE_EXT
-qexportall -qascii -qstrict -qnocsect -Wa,asa,goff
-Wa,xplink -qgonumber -qenum=int -I//'COLIN.MQ930.SCSQC370'
-I. -I/u/tmp/zpymqi/env/include
-I/usr/lpp/IBM/cyp/v3r8/pyz/include/python3.8 -c console.c
-o build/temp.os390-27.00-1090-3.8/console.o
-Wc,ASM,LIST(/u/tmp/py/c.lst),SOURCE,WARN64,XREF
-Wa,LIST,RENT
and I get
FSUM3212 xlc: Command option -fno-strict-aliasing is incorrect for z/OS platform - ignored.
Is there a configuration file I can change to remove these options?
Colin
------------------------------
Colin Paice
------------------------------