ixlc Command Options
The table below shows the mappings of Create Module and Create Bound Program compiler options to their ixlc equivalents. Compiler options may have language and usage restrictions that are not shown in this table. For information on such restrictions, refer to the reference information for that option.
Create Module/Create Bound Program Options | Option Settings | ixlc Equivalents and Notes |
---|---|---|
MODULE, PGM | [*CURLIB/ |
libraryname/]name |
-o[*CURLIB/ |
libraryname/]name |
If library is not specified, the target object goes to the current library as specified by the current user profile. If the user does not have a current library, QGPL is assumed. | ||
SRCFILE | [*LIBL/ | *CURLIB/ | libraryname/]
filename |
-qsrcfile=[*LIBL/ | *CURLIB/ |
libraryname/] filename |
SRCMBR | *MODULE | mbrname |
-qsrcmbr=mbrname |
SRCSTMF | pathname |
(none, uses default pathname) |
TEXT | *SRCMBRTEXT | *BLANK |
text |
-qtext="text" |
OUTPUT | *NONE |
-qnoprint |
*PRINT |
-qprint |
|
filename |
-qoutput="filename" |
|
OPTION | *AGR | *NOAGR |
-qagr |
*BITSIGN | *NOBITSIGN |
-qbitfields=signed -qbitfields=unsigned |
|
*DIGRAPH | *NODIGRAPH |
-qdigraph -qnodigraph |
|
*EVENTF | *NOEVENTF |
-qeventf -qnoeventf |
|
*EXPMAC | *NOEXPMAC |
-qexpmac -qnoexpmac |
|
*FULL | *NOFULL |
-qfull -qnofull |
|
*GEN | *NOGEN |
-qgen -qnogen |
|
*INCDIRFIRST | *NOINCDIRFIRST |
-qidirfirst |
|
*LOGMSG | *NOLOGMSG |
-qlogmsg -qnologmsg |
|
*LONGLONG | *NOLONGLONG |
-qlonglong -qnolonglong |
|
*NORTTI | *RTTIALL | *RTTITYPE | *RTTICAST |
-qnortti
-qrtti=all
-qrtti=typeinfo
-qrtti=dynamiccast
|
|
*PPONLY | *NOPPONLY |
-qpponly |
|
*SECLVL | *NOSECLVL |
-qseclvl
-qnoseclvl
|
|
*SHOWINC | *NOSHOWINC
|
-qshowinc
-qnoshowinc
|
|
*SHOWSKP | *NOSHOWSKP |
-qshowskp
-qnoshowskp
|
|
*SHOWSRC | *NOSHOWSRC |
-qsource
-qnosource
|
|
*SHOWSYS | *NOSHOWSYS |
-qshowsys
-qnoshowsys
|
|
*SHOWUSR | *NOSHOWUSR |
-qshowusr |
|
*STDINC | *NOSTDINC |
-qstdinc
-qnostdinc
|
|
*STDLOGMSG | *NOSTDLOGMSG |
-qstdlogmsg
-qnostdlogmsg
|
|
*STRUCREF | *NOSTRUCREF |
-qrefagr |
|
*SYSINCPATH | *NOSYSINCPATH |
-qsysincpath
-qnosysincpath
|
|
*XREF | *NOXREF |
-qxref=full
-qxref
|
|
*XREFREF | *NOXREFREF |
-qattr=full -qattr |
|
CHECKOUT | *NONE | *USAGE | *ALL |
-qinfo=cnd -qinfo=all |
*CLASS | *NOCLASS |
-qinfo=cls |
|
*COND | *NOCOND |
-qinfo=cnd |
|
*CONST | *NOCONST |
-qinfo=cns |
|
*EFFECT | *NOEFFECT |
-qinfo=eff |
|
*ENUM | *NOENUM |
-qinfo=enu |
|
*EXTERN | *NOEXTERN |
-qinfo=ext |
|
*GENERAL | *NOGENERAL |
-qinfo=gen |
|
*GOTO | *NOGOTO |
-qinfo=got |
|
*INIT | *NOINIT |
-qinfo=ini |
|
*LANG | *NOLANG |
-qinfo=lan |
|
*PARM | *NOPARM |
-qinfo=par |
|
*PORT | *NOPORT |
-qinfo=por |
|
*PPCHECK | *NOPPCHECK |
-qinfo=ppc |
|
*PPTRACE | *NOPPTRACE |
-qinfo=ppt |
|
*REACH | *NOREACH |
-qinfo=rea |
|
*TEMP | *NOTEMP |
-qinfo=gnr |
|
*TRUNC | *NOTRUNC |
-qinfo=trd |
|
*UNUSED | *NOUNUSED |
-qinfo=use |
|
OPTIMIZE | 10 | 20 |
30 | 40 |
-qoptimize=10 -qoptimize=20 -qoptimize=30 -qoptimize=40 -O |
-O is equivalent to specifying
-qoptimize=40 |
||
INLINE |
*OFF |
-qnoinline |
*ON |
-qinline="opt1 opt2 opt3 opt4"
|
|
One selection from each option group must be specified. Selections
must be separated with a space. For example:
|
||
MODCRTOPT | *KEEPILDATA | *NOKEEPILDATA |
-qildta -qnoildta |
DBGVIEW | *NONE | *ALL |
*STMT | *SOURCE | *LIST |
-qdbgview=none -qdbgview=all -qdbgview=stmt -qdbgview=source -qdbgview=list -g |
-g is equivalent to specifying
-qdbgview=all |
||
DBGENCKEY | *NONE | character
value |
-qdbgenckey=string |
DEFINE | *NONE | name |
name=value
|
-Dname |
Defines name with a value of
1. |
||
LANGLVL | *EXTENDED | *ANSI | *LEGACY | *EXTENDED0X |
-qlanglvl=extended -qlanglvl=ansi -qlanglvl=compat366 -qlanglvl=extended0x |
ALIAS | *ANSI | *NOANSI | *ADDRTAKEN | *NOADDRTAKEN | *ALLPTRS |
*NOALLPTRS | *TYPEPTR | *NOTYPEPTR |
-qalias=ansi -qalias=noansi -qalias=addrtaken -qalias=noaddrtaken -qalias=allptrs -qalias=noallptrs -qalias=typeptr -qalias=notypeptr |
SYSIFCOPT | *NOIFSIO | **IFSIO | *IFS64IO
|
-qnoifsio -qifsio -qifsio=64 |
*ASYNCSIGNAL | *NOASYNCSIGNAL |
-qasyncsignal -qnoasyncsignal |
|
LOCALETYPE | *LOCALE | *LOCALEUCS2 | *LOCALEUTF | *CLD |
-qlocale=locale -qlocale=localeucs2 -qlocale=localeutf -qlocale=cld |
FLAG | 0 | 10 | 20 | 30 |
-qflag=0 -qflag=10 -qflag=20 -qflag=30 |
MSGLMT |
*NOMAX | 0-32767 |
-qmsglmt="limit
severity" where: limit
can be *nomax or any integer from
0 -32767 , and
severity can be any one of 0 , 10 ,
20 , or 30 . The default is: -qmsglmt="*nomax
30" |
REPLACE | *YES | *NO |
-qreplace -qnoreplace |
USRPRF | *USER | *OWNER |
-quser -qowner |
AUT | *LIBCRTAUT | *CHANGE | *USE | *ALL | *EXCLUDE |
-qaut=libcrtaut -qaut=change -qaut=use -qaut=all -qaut=exclude |
TGTRLS | *CURRENT | *PRV |
release_lvl |
-qtgtrls=*current -qtgtrls=*prv -qtgtrls=VxRxMx |
ENBPFRCOL | *PEP |
-qenbpfrcol=pep
|
*ENTRYEXIT *NONLEAF |
-qenbpfrcol=entryexitnonleaf
|
|
*ENTRYEXIT *ALLPRC |
-qenbpfrcol=entryexitallprc |
|
*FULL *NONLEAF |
-qenbpfrcol=fullnonleaf |
|
*FULL *ALLPRC |
-qenbpfrcol=fullallprc |
|
PFROPT |
*SETFPCA | *NOSETFPCA |
-qsetfpca -qnosetfpca |
*NOSTRDONLY | *STRDONLY |
-qnoro -qro |
|
PRFDTA | *NOCOL | *COL |
-qnoprofile -qprofile |
-qprfdta=*NOCOL -qprfdta=*COL |
||
TERASPACE | *NO |
-qteraspace=no |
*YES *NOTSIFC |
-qteraspace=notsifc |
|
*YES *TSIFC |
-qteraspace=tsifc |
|
STGMDL | *SNGLVL | *TERASPACE | *INHERIT |
-qstoragemodel=snglvl -qstoragemodel=teraspace -qstoragemodel=inherit |
DTAMDL | *P128 | *LLP64 |
-qdatamodel=P128 -qdatamodel=LLP64 |
RTBND | *DEFAULT | *LLP64 |
-qrtbnd -qrtbnd=llp64 |
PACKSTRUCT | 1 | 2 | 4 | 8 | 16 | *NATURAL |
-qalign=1 -qalign=2 -qalign=4 -qalign=8 -qalign=16 -qalign=natural |
ENUM | 1 | 2 | 4 | *INT | *SMALL |
-qenum=1 -qenum=2 -qenum=4 -qenum=int -qenum=small |
MAKEDEP | *NODEP | filename |
-Mmakefile |
PPGENOPT | *NONE | *DFT |
-P
|
*RMVCOMMENT | *NORMVCOMMENT |
-qppcomment -qnoppcomment |
|
*GENLINE | *NOGENLINE |
-qppline -qnoppline |
|
PPSRCFILE | *CURLIB/filename |
-qppsrcfile=*CURLIB/filename |
libraryname/filename |
-qppsrcfile=libraryname/filename |
|
filename |
-qppsrcfile=filename |
|
PPSRCMBR | *MODULE | mbrname |
-qppsrcmbr=*module -qppsrcmbr=mbrname |
PPSRCSTMF | pathname | *SRCSTMF |
-qppfile=filename |
INCDIR | *NONE | pathname |
-Ipathname |
When used on the command line, specifies directories on a IBM i platform. Include environment variables are overwritten. | ||
CSOPT | string |
-qcsopt=string |
LICOPT | *NONE | string |
-qlicopt=string |
DFTCHAR | *SIGNED | *UNSIGNED |
-qchar=signed -qchar=unsigned |
TGTCCSID | *SOURCE | *JOB | *HEX |
ccsid# |
-qtgtccsid=source -qtgtccsid=job -qtgtccsid=hex -qtgtccsid=ccsid# |
TEMPLATE | *NONE | pathname |
-qnotempinc -qtempinc=pathname |
1 - 65535
|
-qtempmax=1-65535 |
|
*NO | *WARN | *ERROR |
-qtmplparse=no -qtmplparse=warn -qtmplparse=error |
|
TMPLREG | *DFT | *NONE |
-qtmplreg -qnotmplreg |
WEAKTMPL | *YES | *NO |
-qweaktmpl -qnoweaktmpl |
DECFLTRND | *HALFEVEN | *DOWN | *UP | *HALFUP | *HALFDOWN | *FLOOR |
*CEILING |
-ydn -ydz -ydi -ydna -ydnz -ydm -ydp |