diff options
author | Chris Recoskie | 2007-04-27 02:19:35 +0000 |
---|---|---|
committer | Chris Recoskie | 2007-04-27 02:19:35 +0000 |
commit | bd759a1e82e49f2f5410183b68897e4b84a46388 (patch) | |
tree | db22a93d6e63800e5ee2c42b7b6edd56fd1818f3 /xlc | |
parent | 1c2f4ad61d365a878f35d6c5f7ef8fa06613b80c (diff) | |
download | org.eclipse.cdt-bd759a1e82e49f2f5410183b68897e4b84a46388.tar.gz org.eclipse.cdt-bd759a1e82e49f2f5410183b68897e4b84a46388.tar.xz org.eclipse.cdt-bd759a1e82e49f2f5410183b68897e4b84a46388.zip |
initial xlc integration
Diffstat (limited to 'xlc')
11 files changed, 3429 insertions, 0 deletions
diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/.classpath b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/.classpath new file mode 100644 index 00000000000..7398f97e2d0 --- /dev/null +++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/.classpath @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry path="src" kind="src"/> + <classpathentry path="org.eclipse.jdt.launching.JRE_CONTAINER" kind="con"/> + <classpathentry path="org.eclipse.pde.core.requiredPlugins" kind="con"/> + <classpathentry path="bin" kind="output"/> +</classpath> diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/.project b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/.project new file mode 100644 index 00000000000..dcc854caa74 --- /dev/null +++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/.project @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.cdt.managedbuilder.xlc.ui</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.ManifestBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.SchemaBuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription> diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/META-INF/MANIFEST.MF b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/META-INF/MANIFEST.MF new file mode 100644 index 00000000000..1ba4bd9d1c1 --- /dev/null +++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/META-INF/MANIFEST.MF @@ -0,0 +1,14 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-SymbolicName: org.eclipse.cdt.managedbuilder.xlc.ui; singleton := true +Bundle-Version: 4.0.0.qualifier +Bundle-Activator: org.eclipse.cdt.managedbuilder.xlc.ui.XlcUIPlugin +Bundle-Localization: plugin +Require-Bundle: org.eclipse.ui, + org.eclipse.core.runtime, + org.eclipse.cdt.managedbuilder.core, + org.eclipse.cdt.core +Eclipse-LazyStart: true +Export-Package: org.eclipse.cdt.managedbuilder.xlc.ui +Bundle-Vendor: %providerName diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/about.html b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/about.html new file mode 100644 index 00000000000..7a28ee529ef --- /dev/null +++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/about.html @@ -0,0 +1,24 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"><head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>About</title></head> + +<body lang="EN-US"> +<h2>About This Content</h2> + +<p>April 26, 2007</p> +<h3>License</h3> + +<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. +For purposes of the EPL, "Program" will mean the Content.</p> + +<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p> + +</body></html>
\ No newline at end of file diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/build.properties b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/build.properties new file mode 100644 index 00000000000..34d2e4d2dad --- /dev/null +++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/build.properties @@ -0,0 +1,4 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + . diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties new file mode 100644 index 00000000000..ebcf9a25a5a --- /dev/null +++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties @@ -0,0 +1,384 @@ +/******************************************************************************* + * Copyright (c) 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +pluginName = XL C/C++ Managed Build Plugin +providerName = Eclipse.org + +#Build model names +TargetName.xlc.exe=Executable (XL C/C++) +TargetName.xlc.so=Shared Library (XL C/C++) +TargetName.xlc.lib=Static Library(XL C/C++) + +# Default Configuration Names +ConfigName.Rel=Release +ConfigName.Dbg=Debug + +# Generic tool-chain names +ToolChainName.Rel=XL C/C++ Tool Chain +ToolChainName.Dbg=XL C/C++ Tool Chain + +# Generic platform names +PlatformName.Rel=Release Platform +PlatformName.Dbg=Debug Platform + +# Generic builder names +BuilderName.Rel=GNU Make +BuilderName.Dbg=GNU Make + +# Tool names +ToolName.compiler.xlc.c = XL C Compiler +ToolName.compiler.xlc.cpp = XL C++ Compiler +ToolName.linker.xlc.c = XL C Executable Linker +ToolName.linker.xlc.cpp = XL C++ Executable Linker +ToolName.archiver.xlc = Archiver +ToolName.assembler.xlc = XL Assembler +ToolName.linker.xlc.cpp.so = XL C++ Shared Object Linker +ToolName.linker.xlc.c.so = XL C Shared Object Linker + +# Generic Category Names +OptionCategory.Linking = Linking +OptionCategory.Libs = Libraries and Paths +OptionCategory.ifp = Integer and Floating Point +OptionCategory.cc = Compiler Customization +OptionCategory.lm = Listings and Messages +OptionCategory.ecd = Error Checking and Debugging +OptionCategory.Input = Input Control +OptionCategory.Output = Output Control +OptionCategory.Optimize=Optimization +OptionCategory.Comp = Compatibility +OptionCategory.Misc=Miscellaneous +OptionCategory.Assembler=Assembler Options + + +# generic names used by multiple options +Option.none = none +Option.default = default + +# Miscellaneous options +Option.compiler.other = Other compiler flags + +# Input Control options +Option.Preproccomments = Preserve comments in pre-processed output (-C) +Option.DefSym = Define a macro name(-D) +Option.InclPaths = Specify an additional search path for #include s(-I) +Option.UndefSym = Undefine a macro name (-U) +Option.altivec = Enable compiler support for vector data types(-qaltivec) +Option.asm = Control the interpretation of and subsequent generation of code for asm statement(-qasm) +Option.Cstdinc = Specify C standard search location (-qc_stdinc) +Option.cppstdinc = Specify C++ standard search location (-qcpp_stdinc) +Option.qcomplexgccincl = Wrap include files in GCC pragmas (-qcomplexgccincl) +Option.Nocplus = Don't recognize C++ comments in C source files(-qnocpluscmt) +Option.Mbcs = Enable recognition of multi-byte characters (-qmbcs) +Option.Digraph = Enable recognition of digraph characters (-qdigraph) +Option.Dollar = Allow $ symbols to be used in identifiers (-qdollar) +Option.Incdirfirst = Change the search path (-qidirfirst) +Option.ignprag = Ignore certain pragmas (-qignprag=) +Option.ignprag.disjoint = disjoint +Option.ignprag.isolated = isolated +Option.ignprag.all = all +Option.ignprag.ibm = IBM® +Option.ignprag.omp = omp +Option.Keyword = Treat specified name as a keyword(-qkeyword) +Option.langlvl = Language level (-qlanglvl=) +Option.langlvl.classic = classic +Option.langlvl.extended = extended +Option.langlvl.saa = SAA +Option.langlvl.saal2 = SAA Level 2 +Option.langlvl.stdc89 = C89 standard +Option.langlvl.stdc99 = C99 standard +Option.langlvl.extc89 = C89 with extensions +Option.langlvl.extc99 = C99 with extensions +Option.langlvl.ucs = UCS +Option.Macpstr = Convert pascal string literals into null-terminated string literals (-qmacpstr) +Option.Pascal = Recognize and accept the keyword pascal (-qpascal) +Option.sourcetype = Override source type (-qsourcetype) +Option.sourcetype.c = c +Option.sourcetype.c++ = C++ +Option.sourcetype.assembler = assembler +Option.stdframework = Search standard framework directories (-qstdframework) +Option.frameworkdirs = Specify additional framework directories (-qframeworkdir) +Option.Input = Don't search the default search path directories (-qnostdinc) +Option.Warn.Syntax =Perform syntax checking without generating an object file(-qsyntaxonly) +Option.Trigraph=Recognize tri-graph key combinations +Option.Utf=Enable recognition of UTF literal syntax(-qutf) +Option.plus = Compile any file as a C++ file (-+) +Option.cinc = Insert extern "C" {} in the specified include files (-qcinc) +Option.gcc_c_stdinc = Change GCC headers search location (-qgcc_c_stdinc) +Option.gcc_cpp_stdinc = Change G++ headers search location (-qgcc_cpp_stdinc) + +# Output Control options + +Option.Trace=Preview the steps for compilation(-#) +Option.bmaxdata=Maximum size of the area shared by the static data ans the heap (-bmaxdata=) +Option.c=Pass the source files through compiler component only(-c) +Option.PreprocOnly=Preprocess the source files and create an output preprocessed source file (-E) +Option.M=Create an output file that contains targets for the make command (-M) +Option.ma=Substitute inline code for calls to alloca (-ma) +Option.o=Specify an output location for the files created by the compiler (-o) +Option.P=Preprocess the source files and create an output preprocessed source file for each source file(-P) +Option.Assem=Generate an assembler language file for each source file(-S) +Option.Strip=Strip symbol table, line number information and relocation information from source file(-s) +Option.64=Select 64-bit compiler mode(-q64) +Option.Align=Specify what alignment rules compiler uses for compilation(-qalign) +Option.Align.Full=Full +Option.Align.Power=Power +Option.Align.Natural=Natural +Option.Align.mac68k=mac68k +Option.Align.twobyte=twobyte +Option.Align.packed=packed +Option.Align.bitpacked=bitpacked +Option.alloca=Substitue inline code for calls to function alloca(-qalloca) +Option.Bitfields=Specify if bit fields are signed(-qbitfields) +Option.Bitfields.signed = signed +Option.Bitfields.unsigned = unsigned +Option.Chars=Specify if chars are signed(-qchars=signed) +Option.enablevmx=Enable generation of VMX instructions(-qenablevmx) +Option.Enum=Specify the amount of storage accupied by enumerations(-qenum=) +Option.enum.Int=Int +Option.enum.Intlong=Intlong +Option.enum.small=small +Option.enum.1=1 +Option.enum.2=2 +Option.enum.4=4 +Option.enum.8=8 +Option.Pic=Generate position independent code suitable for use in libraries(-qpic=) +Option.Pic.Small=Small +Option.Pic.Large=Large +Option.noro=Do not place string literals in read only storage (-qnoro) +Option.noroconst=Do not place constant values in read only storage (-qnoroconst) +Option.roptr=Place constant pointers in read only storage (-qroptr) +Option.Statsym=Generate symbols for static variables (-qstatsym ) +Option.xcall=Generate code to treat static functions as external functions (-qxcall ) +Option.funcset=Place instructions for each function in a separate object file control section or csect (-qfuncset) +Option.ppline=Enable generation of #line directive in the preprocessed output (-qppline) +Option.upconv=Preserve the unsigned specification when performing integral promotions (-qupconv) +Option.namemangling=Name mangling scheme for external symbol names (-qnamemangling=) +Option.namemangling.ansi = ANSI (-qnamemangling=ansi) +Option.namemangling.v6 = VisualAge® C++ v6 (-qnamemangling=v6) +Option.namemangling.v5 = VisualAge® C++ v5 (-qnamemangling=v5) +Option.namemangling.v4 = VisualAge® C++ v4 (-qnamemangling=v4) +Option.namemangling.v3 = Compatiblity mode (-qnamemangling=v3) +Option.objectmodel = Object model (-qobjmodel=) +Option.objectmodel.classic = classic (-qobjmodel=classic) +Option.objectmodel.ibm = IBM® (-qobjmodel=ibm) +Option.rtti = Generate RunTime Type Information (-qrtti) +Option.rtti.all = all (-qrrti=all) +Option.rtti.type = type (-qrtti=type) +Option.rtti.dynamiccast = dynamic cast (-qrtti=dynamiccast) +Option.saveopt = Save the command line compiler options into an object file (-qsaveopt) +Option.staticinline = Treat inline functions as static (-qstaticinline) +Option.statsym = Add static variables to the symbol table (-qstatsym) +Option.threaded = Enable multi-threaded execution (-qthreaded) +Option.unique = Generate unique names for static constructor/deconstructor file compilation units (-qunique) +Option.novftable = Do not generate virtual function table (-qnovftable) +Option.vrsave = Maintain the VRSAVE register (-qvrsave) +Option.weaksymbol = Generate weak symbols (-qweaksymbol) + +# Optimization options +Option.OptLevel = Optimization level +Option.Optimize.Optimize = -O +Option.Optimize.Level2 = -O2 +Option.Optimize.Level3 = -O3 +Option.Optimize.Level4 = -O4 +Option.Optimize.Level5 = -O5 +Option.inlining = Function inlining +Option.inlining.Q = inline all functions (-Q) +Option.inlining.Qexclamation = diable inlining (-Q!) +Option.Qplus = Specify functions to be inlined(-Q+=) +Option.Qminus = Specify functions to not inline (-Q-=) +Option.aggrcopy = Enable destructive copy operations for structs and unions +Option.aggrcopy.nooverlap=no overlap (-qaggrcopy=nooverlap) +Option.aggrcopy.overlap=overlap (-qaggrcopy=overlap) +Option.alias= Apply aliasing instructions to compilation unit (-qalias=) +Option.alias.addrtaken= Variables are not disjoint from pointers (-qalias=addrtaken) +Option.alias.noaddrtaken=Variables are disjoint from pointers unless their address is taken (-qalias=notaddrtaken) +Option.alias.allptrs=Pointers are aliased (-qalias=allptrs) +Option.alias.noallptrs=Pointers are never aliased (-qalias=noallptrs) +Option.alias.ansi=Pointers can only point to an object of the same type (-qalias=ansi) +Option.alias.noansi=Pointers can point to an object of a different type (-qalias=notansi) +Option.alias.typeptr=Pointers to different types are aliased (-qalias=typeptr) +Option.alias.notypeptr=Pointers to different types are never aliased(-qalias=notypeptr) +Option.optimization.arch = Specify the processor architecture to generate code and optimize for (-qarch=) +Option.optimization.arch.ppc64 = PowerPC® 64-bit +Option.optimization.arch.ppcgr = PowerPC® with graphics instructions +Option.optimization.arch.ppc64gr = PowerPC® 64-bit with graphics instructions +Option.optimization.arch.ppc64grsq = PowerPC® 64-bit with graphics and square root instructions +Option.optimization.arch.ppc64v = PowerPC® 64-bit with AltiVec +Option.optimization.assert = Assert program behaviours (-qassert=) +Option.optimization.Cache = Specify the cache configuration(-qcache=option1:option2:...:optionN) +Option.compact = Avoid transformations that lead to code expansion (-qcompact) +Option.optimization.dataimported = Name the variables to be imported (-qdataimported=name1:name2:...:nameN) +Option.optimization.datalocal = Name the variables which are local (-qdatalocal=name1:name2:...:nameN) +Option.directstorage = Write through enabled or cache-inhibited storage may be referenced(-qdirectstorage) +Option.optimization.exceptionhandling = Exception handling +Option.optimization.exceptionhandling.eh = Enable exception handling (-qeh) +Option.optimization.exceptionhandling.noeh = Disable exception handling (-qnoeh) +Option.optimization.exceptionhandling.v5 = VisualAge® C++ v5.0 compatibility +Option.optimization.exceptionhandling.v6 = VisualAge® C++ v6.0 compatibility +Option.fdpr = Include data required by fdpr utility (-qfdpr) +Option.optimization.hot = Perform high-order loop analysis and transformations during optimization (-qhot=) +Option.ignerrno = Perform optimizations which assume errno is not modified by system calls (-qignerrno) +Option.optimization.inline = Attempt to inline functions (-qinline=) +Option.optimization.ipa = Customize interprocedural analysis optimizations(-qipa=) +Option.optimization.isolatedcall = Functions in source file that have no side effects (-qisolated_call=name1:name2:...:nameN) +Option.optimization.keepinlines = +Option.largepage = Exploit large page heaps available on POWER4(TM) systems running AIX® 5.1D or later(-qlargepage) +Option.libansi = Assume all functions in the name of ansi C function are system functions(-qlibansi) +Option.pdf1 = Tune optimizations through Profile Directed Feedback: first run (-qpdf1) +Option.pdf2 = Tune optimizations through Profile Directed Feedback: second run (-qpdf2) +Option.optimization.Prefetch = Disable generation of prefetching instuctions in compiled code(-qnoprefetch) +Option.optimization.procimported = Mark functions as imported(-qprocimported=) +Option.optimization.proclocal = Mark functions as local (-qlocal=) +Option.optimization.procimported = Mark functions as imported (-qprocimported=) +Option.optimization.procunknown = Mark functions as unknown (-qprocunknown=) +Option.optimization.showpdf = Add additional call and block count profilig information to the executable(-qshowpdf) +Option.optimization.smallstack = Reduce the size o fthe stack frame (-qsmallstack) +Option.optimization.smp = Enable parallelization of code (-qsmp) +Option.optimization.Spill = Specify the register allocation spill area(-qspill=) +Option.optimization.Strict = Turn off aggressive optimizations(-qstrict) +Option.optimization.loopinduction = Loop induction settings +Option.optimization.loopinduction.strict_induction = Strict induction +Option.optimization.loopinduction.nostrict_induction = No induction +Option.optimization.tocdata = Mark data as local +Option.optimization.w = Specify options to pass to specific compiler components (-W) + +# Linker Options +Option.Linking.b = Control how shared objects are processed by the editor (-b) +Option.linking.brtl = Enable runtime linking for the output file (-brtl) +Option.linking.bundle = +Option.Linking.bundle_loader +Option.Linking.e = Set the entry name for the shared executable(-e ) +Option.Linking.f = +Option.linking.G = Create a shared object enabled for runtime linking (-G) +Option.Linking.L = Search the path directory for the library files specified by the -lkey option (-L) +Option.Linking.l = Search the specified library file(-l) +Option.linking.r = Produce a relocatable object (-r) +Option.Linking.Z = Specify a prefix for library search path (-Z) +Option.linking.inlglue = Generate fast external linkage (-qinlglue) +Option.linking.lib = Link with standard system libraries (-qlib) +Option.Linking.mkshrobj = Create a shared object from generated object files (-qmkshrobj) +Option.Linking.priority = Specify the priority level for initialization of static objects (-qpriority) +Option.Linker.EnableRun=Enable Run time linking (-brtl) +Option.Linker.NoStartFiles=Do not use standard start files (-nostartfiles) +Option.Linker.NoDefLibs=Do not use default libraries (-nodefaultlibs) +Option.Linker.NoStdLibs=No startup or default libs (-nostdlib) +Option.Linker.Strip=Strip all symbol information (-s) +Option.Linker.Strip.debug=Strip debug symbol information (-S) +Option.Linker.Static=No shared libraries (-bstatic) +Option.Linker.WLinker=Other options (-Wl, [option1,option2,...optionN]) +Option.Linker.Flags=Other linker flags +Option.Libs=Libraries (-l) +Option.Libsearch=Library search path (-L) +Option.UserObjs=Other objects +Option.Linker.Shared=Shared (-qmkshrobj) +Option.Linker.SOName=Shared object name (-o=) +Option.Linker.Implib=Import Library name (-Wl,--out-implib=) +Option.Linker.Defname=DEF file name (-Wl,--output-def=) +Option.linking.bundle = Create a bundle (-bundle) +Option.linking.bundle_loader = Specify the name of bundle loader program (-bundle_loader=) +Option.linking.f = Specify file containing a list of object files for the compiler to pass to the linker (-f) + +#Archiver options +Option.Archiver.Flags=Other archiver flags + +# Integer and Floating Point options +Option.y = Specify compile time rounding mode (-y) +Option.y.n = n +Option.y.m = m +Option.y.p = p +Option.y.z = z +Option.float = Specify floating point options (-qfloat=) +Option.flttrap = Trap floating point exceptions (-qflttrap=) +Option.longlong = Allow long long integer types in the program (-qlonglong) +Option.longlong = qlonglong +Option.nolonglong = qnolonglong +Option.rndflt = Control compile-time rounding mode of floating point expressions( -qrndflt) +Option.rndflt.nearest = Nearest +Option.rndflt.minusinf = Minus infinity +Option.rndflt.plusinf = Plus infinity +Option.rndflt.zero = Zero + +# Compiler Customization options +Option.B = Determine substitute program path name (-B) +Option.F = Specify alternate configuration file (-F) +Option.t = Add prefix to designated programs (-t) +Option.expfile = Save all the exported symbols in the designated file (-qexpfile=) +Option.maxmem = Amount of memory used during optimization (-qmaxmem=) +Option.path = Alternate program name for compiler components (-qpath=) +Option.tls = Specify the thread local strorage model (-qtls=) + +# Listings and Messages options +Option.V = Report information on the progress of compilation (-V) +Option.Warn.nowarn = Suppress warnings and low-level messages (-w) +Option.Warn.Pedandic=Pedantic (-pedantic) +Option.Warn.PedErrors=Pedantic warnings as errors (-pedantic-errors) +Option.Warn.nowarn=Inhibit all warnings (-w) +Option.Warn.allwarn=All warnings (-Wall) +Option.Warn.toerrs=Warnings as errors (-Werror) +Option.attr = Produce a compiler listing (-qattr) +Option.attr.noattr = Does not produce an attribut listing for identifiers in program(-qnoattr) +Option.attr.fullattr = Report attributes of all identifiers(-qattr=full) +Option.attr.attr = Report attributes of only used identifiers(-qattr) +Option.flag = Specify the minimum severity level of the diagnostic messages(-qflag=) +Option.format = Warn of possible problems with string input and output format specifications (-qformat=) +Option.halt = Instruct the compiler to stop after compilation if it encounters errors of specified severity or higher (-qhalt=) +Option.info = Produce informational messages (-qinfo= ) +Option.list = Produce a compiler listing that includes an object listing(-qlist) +Option.listopt = Produce a compiler listing that displays all options in effect(-qlistopt) +Option.phsinfo = Report the time taken in each compilation phase (-qphsinfo) +Option.noprint = Suppress all lisitngs(-qnoprint ) +Option.report = Instruct the compiler to produce transformation reports (-qreport) +Option.showinc = Show all included files in the source listing (-qshowinc) +Option.source = Produce a compiler listing and include the source code (-qsource) +Option.srcmsg = Add the corresponding source code lines to the diagnostic mesages in stderr file (-qsrcmsg) +Option.suppress = Suppress the specified informational or warning messages (-qsuppress=) +Option.tabsize = Change the tab-size (-qtabsize=) +Option.xref = Produca a cross reference listing of identifiers (-qxref) +Option.xref.noxref = Do not report identifiers in the program (-qnoxref) +Option.xref.fullxref = Report all the identifiers in the program (-qxref = full) +Option.xref.xref = Report only those identifiers which are used (-qxref) +Option.warnfourcharconsts = Enable warning of four-character constants in source + +# Error Checking and Debugging +Option.g = Generate debugging information (-g) +Option.DebugLevel=Debug Level +Option.Debug.Min=Minimal (-g1) +Option.Debug.Def=Default (-g) +Option.Debug.Max=Maximum (-g3) +Option.Debug.Other=Other debugging flags +Option.Debug.gprof=Generate gprof information (-pg) +Option.Debug.prof=Generate prof information (-p) +Option.Debug.Unref=Include information about unreferenced symbols (-qdbxextra) +Option.p = Generate prof information (-p) +Option.pg = Generate gprof information (-pg) +Option.check = Generate code which performs certain types of runtime checking (-qcheck) +Option.dbxextra = Include all typedefs, structs, unions, enums for debugging (-qdbxextra) +Option.extchk = Generate bind-time type checking information and check for compile time consistency (-qextchk) +Option.fullpath = Preserve absolute path name of source files used with -g option (-qfullpath) +Option.genproto = Produce ansi prototypes from k&r definitions +Option.genproto = Generate prototypes with parameter names +Option.genproto.parmgenproto = Include parameter names in prototypes +Option.heapdebug = Enable debug versions of memory management functions (-qheapdebug) +Option.initauto = Initialize the automatic variables (-qinitauto=) +Option.linedebug = Generate line number and source file name info for the debugger (-qlinedebug) +Option.maxerr = Halt compilation after this many errors (-qmaxerr=) +Option.proto = All functions are prototyped (-qproto) + + +# Assembler options +Option.Xlc.Assembler.Flags=Other assembler flags +Option.Xlc.Assembler.warn.suppress=Suppress warnings (-W) +Option.Xlc.Assembler.version=Announce version (-v) + + + + + + diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.xml b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.xml new file mode 100644 index 00000000000..40ff5ef12e0 --- /dev/null +++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.xml @@ -0,0 +1,2749 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?eclipse version="3.2"?> +<plugin> + + +<!-- Managed Make Builder Tool Specifications --> + <extension + id="cdt.managed.build.info" + name="Managed Build Tools Description" + point="org.eclipse.cdt.managedbuilder.core.buildDefinitions"> + <managedBuildRevision + fileVersion="4.0.0"> + </managedBuildRevision> + + <tool + command="xlc" + id="cdt.managedbuild.tool.xlc.c.linker" + name="%ToolName.linker.xlc.c" + natureFilter="cnature" + superClass="org.eclipse.cdt.managedbuilder.xlc.ui.tool.abstractLinker"> + + </tool> + <tool + command="xlC" + id="cdt.managedbuild.tool.xlc.cpp.linker" + name="%ToolName.linker.xlc.cpp" + natureFilter="ccnature" + superClass="org.eclipse.cdt.managedbuilder.xlc.ui.tool.abstractLinker"> + </tool> + <tool + natureFilter="both" + isAbstract="true" + name="%ToolName.archiver.xlc" + command="ar -rv" + id="cdt.managedbuild.tool.xlc.archiver"> + <optionCategory + name="%OptionCategory.General" + id="xlc.lib.category.general"> + </optionCategory> + <option + defaultValue="-r" + name="%Option.Archiver.Flags" + category="xlc.lib.category.general" + valueType="string" + id="xlc.both.lib.option.flags"> + </option> + <inputType + sourceContentType="org.eclipse.cdt.managedbuilder.core.compiledObjectFile" + sources="o" + multipleOfType="true" + dependencyCalculator="org.eclipse.cdt.managedbuilder.makegen.internal.DefaultNoDependencyCalculator" + buildVariable="OBJS" + id="cdt.managedbuild.tool.xlc.archiver.input"> + <additionalInput + paths="$(USER_OBJS)" + kind="additionalinputdependency"> + </additionalInput> + <additionalInput + paths="$(LIBS)" + kind="additionalinput"> + </additionalInput> + </inputType> + <outputType + outputs="a" + outputPrefix="lib" + buildVariable="ARCHIVES" + nameProvider="org.eclipse.cdt.managedbuilder.makegen.gnu.GnuLinkOutputNameProvider" + id="cdt.managedbuild.tool.xlc.archiver.output"> + </outputType> + </tool> + <tool + command="xlc" + id="cdt.managedbuild.tool.xlc.c.linker.so" + isAbstract="false" + name="%ToolName.linker.xlc.c.so" + natureFilter="cnature" + superClass="org.eclipse.cdt.managedbuilder.xlc.ui.tool.linker.abstractSOLinker"> + </tool> + <tool + command="xlC" + id="cdt.managedbuild.tool.xlc.cpp.linker.so" + isAbstract="false" + name="%ToolName.linker.xlc.cpp.so" + natureFilter="ccnature" + superClass="org.eclipse.cdt.managedbuilder.xlc.ui.tool.linker.abstractSOLinker"> + </tool> + <tool + command="as" + name="%ToolName.assembler.xlc" + outputFlag="-o" + id="cdt.managedbuild.tool.xlc.assembler" + natureFilter="both"> + <optionCategory + name="%OptionCategory.Assembler" + id="xlc.asm.category.assembler"> + </optionCategory> + <option + command="-W" + defaultValue="false" + valueType="boolean" + category="xlc.asm.category.assembler" + name="%Option.Xlc.Assembler.warn.suppress" + id="xlc.both.asm.option.warnings.nowarn"/> + <option + command="-v" + defaultValue="false" + valueType="boolean" + category="xlc.asm.category.assembler" + name="%Option.Xlc.Assembler.version" + id="xlc.both.asm.option.version"/> + <option + name="%Option.Xlc.Assembler.Flags" + category="xlc.asm.category.assembler" + valueType="string" + id="xlc.both.asm.option.flags"> + </option> + <inputType + sourceContentType="org.eclipse.cdt.core.asmSource" + sources="s,S" + id="cdt.managedbuild.tool.xlc.assembler.input"> + </inputType> + <outputType + outputs="o" + buildVariable="OBJS" + id="cdt.managedbuild.tool.xlc.assembler.output"> + </outputType> + </tool> + <tool + command="xlc" + id="cdt.managedbuild.tool.xlc.c.compiler" + isAbstract="true" + name="%ToolName.compiler.xlc.c" + natureFilter="cnature" + outputFlag="-o" + superClass="org.eclipse.cdt.managedbuilder.xlc.ui.tool.abstractCompiler"> + <option + name="%Option.Cstdinc" + category="xlc.c.compiler.category.Input" + command="-qc_stdinc" + id="xlc.c.compiler.option.include.cstdinc" + valueType="includePath" + browseType="directory"> + </option> + <option + defaultValue="false" + name="%Option.Nocplus" + category="xlc.c.compiler.category.Input" + command="-qnocpluscmt" + id="xlc.c.compiler.option.input.nocplus" + valueType="boolean"> + </option> + <option + browseType="directory" + category="xlc.c.compiler.category.Input" + command="-qgcc_c_stdinc" + id="xlc.c.compiler.option.input.gcc_c_stdinc" + isAbstract="false" + name="%Option.gcc_c_stdinc" + resourceFilter="all" + valueType="includePath"> + </option> + <option + defaultValue="false" + name="%Option.Pascal" + category="xlc.c.compiler.category.Input" + command="-qpascal" + id="xlc.c.compiler.option.misc.pascal" + valueType="boolean"> + </option> + <option + defaultValue="false" + name="%Option.Warn.Syntax" + category="xlc.c.compiler.category.Input" + command="-qsyntaxonly" + id="xlc.c.compiler.option.warnings.syntax" + valueType="boolean"> + </option> + <option + defaultValue="false" + name="%Option.ma" + category="xlc.c.compiler.category.output" + command="-ma" + id="xlc.c.compiler.option.preprocessor.ma" + valueType="boolean"> + </option> + <option + category="xlc.c.compiler.category.output" + command="-qupconv" + defaultValue="false" + id="org.eclipse.cdt.managedbuilder.xlc.ui.option12" + isAbstract="false" + name="%Option.upconv" + resourceFilter="all" + valueType="boolean"> + </option> + <option + name="%Option.Qplus" + category="xlc.c.compiler.category.optimization" + command="-Q+=" + id="xlc.c.compiler.option.optimization.Qplus" + valueType="stringList"> + </option> + <option + name="%Option.Qminus" + category="xlc.c.compiler.category.optimization" + command="-Q-=" + id="xlc.c.compiler.option.optimization.Qminus" + valueType="stringList"> + </option> + </tool> + <tool + command="xlC" + id="cdt.managedbuild.tool.xlc.cpp.compiler" + isAbstract="true" + name="%ToolName.compiler.xlc.cpp" + natureFilter="ccnature" + outputFlag="-o" + superClass="org.eclipse.cdt.managedbuilder.xlc.ui.tool.abstractCompiler"> + <inputType + sourceContentType="org.eclipse.cdt.core.cxxSource" + sources="c,C,cc,cxx,cpp" + dependencyContentType="org.eclipse.cdt.core.cxxHeader" + dependencyExtensions="h,H,hpp" + id="cdt.managedbuild.tool.xlc.cpp.compiler.input"> + </inputType> + <option + category="xlc.c.compiler.category.Input" + command="-+" + defaultValue="false" + id="org.eclipse.cdt.managedbuilder.xlc.cpp.option.plus" + isAbstract="false" + name="%Option.plus" + resourceFilter="all" + valueType="boolean"> + </option> + <option + category="xlc.c.compiler.category.Input" + command="-qcinc" + id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.opntion.qcinc" + isAbstract="false" + name="%Option.cinc" + resourceFilter="all" + valueType="stringList"> + </option> + <option + browseType="directory" + category="xlc.c.compiler.category.Input" + command="-qcpp_stdinc" + id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.cpp_stdinc" + isAbstract="false" + name="%Option.cppstdinc" + resourceFilter="all" + valueType="includePath"> + </option> + <option + category="xlc.c.compiler.category.Input" + command="-qgcc_cpp_stdinc" + id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.gcc_cpp_stdinc" + isAbstract="false" + name="%Option.gcc_cpp_stdinc" + resourceFilter="all" + valueType="string"> + </option> + <option + category="xlc.c.compiler.category.output" + id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.namemangling" + isAbstract="false" + name="%Option.namemangling" + resourceFilter="all" + valueType="enumerated"> + <enumeratedOptionValue + id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.namemangling.default" + isDefault="true" + name="%Option.default"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qnamemangling=ansi" + id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.namemangling.ansi" + name="%Option.namemangling.ansi"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qnamemangling=v6" + id="org.eclipse.cdt.managedbuilder.xlc.ui.enumeratedOptionValue22" + name="%Option.namemangling.v6"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qnamemangling=v5" + id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.namemangling.v5" + name="%Option.namemangling.v5"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qnamemangling=v4" + id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.namemangling.v4" + name="%Option.namemangling.v4"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qnamemangling=v3" + id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.namemangling.v3" + name="%Option.namemangling.v3"> + </enumeratedOptionValue> + </option> + <option + category="xlc.c.compiler.category.output" + id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.objectmodel" + isAbstract="false" + name="%Option.objectmodel" + resourceFilter="all" + valueType="enumerated"> + <enumeratedOptionValue + id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.objectmodel.default" + isDefault="true" + name="%Option.default"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qobjmodel=classic" + id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.objectmodel.classic" + name="%Option.objectmodel.classic"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qobjmodel=ibm" + id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.objectmodel.ibm" + name="%Option.objmodel.ibm"> + </enumeratedOptionValue> + </option> + <option + category="xlc.c.compiler.category.output" + id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.output.rtti" + isAbstract="false" + name="%Option.rtti" + resourceFilter="all" + valueType="enumerated"> + <enumeratedOptionValue + id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.output.rtti.default" + isDefault="true" + name="%Option.default"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qnortti" + id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.output.rtti.none" + isDefault="false" + name="%Option.none"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qrtti=all" + id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.output.rtti.all" + name="%Option.rtti.all"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qrtti=type" + id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.output.rtti.type" + name="%Option.rtti.type"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qrtti=dynamiccast" + id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.output.rtti.dynamiccast" + name="%Option.rtti.dynamiccast"> + </enumeratedOptionValue> + </option> + <option + category="xlc.c.compiler.category.output" + command="-qunique" + defaultValue="false" + id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.output.unique" + isAbstract="false" + name="%Option.unique" + resourceFilter="all" + valueType="boolean"> + </option> + <option + category="xlc.c.compiler.category.output" + command="-qnovftable" + defaultValue="false" + id="org.eclipse.cdt.managedbuilder.xlc.ui.option6" + isAbstract="false" + name="%Option.novftable" + resourceFilter="all" + valueType="boolean"> + </option> + <option + id="xlc.c.compiler.option.optimization.exceptionhandling" + isAbstract="false" + name="%Option.optimization.exceptionhandling" + resourceFilter="all" + valueType="enumerated"> + <enumeratedOptionValue + id="xlc.c.compiler.option.optimization.exceptionhandling.default" + isDefault="true" + name="%Option.default"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qeh" + id="xlc.c.compiler.option.optimization.exceptionhandling.eh" + name="%Option.optimization.exceptionhandling.eh"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qnoeh" + id="xlc.c.compiler.option.optimization.exceptionhandling.noeh" + name="%Option.optimization.exceptionhandling.noeh"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qeh=v5" + id="xlc.c.compiler.option.optimization.exceptionhandling.v5" + name="%Option.optimization.exceptionhandling.v5"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qeh=v6" + id="xlc.c.compiler.option.optimization.exceptionhandling.v6" + name="%Option.optimization.exceptionhandling.v6"> + </enumeratedOptionValue> + </option> + </tool> + + <projectType + buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" + id="cdt.managedbuild.target.xlc.exe" + isAbstract="false" + isTest="false" + name="%TargetName.xlc.exe"> + <configuration + name="%ConfigName.Dbg" + artifactExtension="exe" + cleanCommand="rm -rf" + errorParsers="org.eclipse.cdt.errorparsers.xlc.XlcErrorParser" + id="cdt.managedbuild.config.xlc.exe.debug"> + <toolChain + archList="all" + osList="all" + name="%ToolChainName.Dbg" + targetTool="cdt.managedbuild.tool.xlc.c.linker.exe.debug;cdt.managedbuild.tool.xlc.cpp.linker.exe.debug" + configurationEnvironmentSupplier="org.eclipse.cdt.managedbuilder.xlc.aix.AixConfigurationEnvironmentSupplier" + id="cdt.managedbuild.toolchain.xlc.exe.debug"> + <targetPlatform + id="cdt.managedbuild.target.xlc.platform.exe.debug" + name="%PlatformName.Dbg" + binaryParser="org.eclipse.cdt.core.PE" + osList="aix" + archList="all"> + </targetPlatform> + <builder + superClass="cdt.managedbuild.target.gnu.builder" + id="org.eclipse.cdt.manangedbuilder.xlc.builder.exe.debug"> + </builder> + <tool + id="cdt.managedbuild.tool.xlc.cpp.compiler.exe.debug" + superClass="cdt.managedbuild.tool.xlc.cpp.compiler"> + <option + id="xlc.cpp.compiler.exe.debug.option.optimization.level" + defaultValue="xlc.c.compiler.optimization.level.none" + superClass="xlc.c.compiler.option.optimization.level"> + </option> + <option + id="xlc.cpp.compiler.exe.debug.option.debugging.g" + defaultValue="true" + superClass="xlc.c.compiler.option.ecd.g"> + </option> + </tool> + <tool + id="cdt.managedbuild.tool.xlc.c.compiler.exe.debug" + superClass="cdt.managedbuild.tool.xlc.c.compiler"> + <option + id="xlc.c.compiler.exe.debug.option.optimization.level" + defaultValue="xlc.c.optimization.level.none" + superClass="xlc.c.compiler.option.optimization.level"> + </option> + <option + id="xlc.c.compiler.exe.debug.option.debugging.g" + defaultValue="true" + superClass="xlc.c.compiler.option.ecd.g"> + </option> + </tool> + <tool + id="cdt.managedbuild.tool.xlc.c.linker.exe.debug" + superClass="cdt.managedbuild.tool.xlc.c.linker"> + </tool> + <tool + id="cdt.managedbuild.tool.xlc.cpp.linker.exe.debug" + superClass="cdt.managedbuild.tool.xlc.cpp.linker"> + </tool> + <tool + id="cdt.managedbuild.tool.xlc.assembler.exe.debug" + superClass="cdt.managedbuild.tool.xlc.assembler"> + </tool> + </toolChain> + </configuration> + <configuration + name="%ConfigName.Rel" + artifactExtension="exe" + cleanCommand="rm -rf" + errorParsers="org.eclipse.cdt.errorparsers.xlc.XlcErrorParser" + id="cdt.managedbuild.config.xlc.exe.release"> + <toolChain + archList="all" + osList="aix" + name="%ToolChainName.Rel" + targetTool="cdt.managedbuild.tool.xlc.c.linker.exe.release;cdt.managedbuild.tool.xlc.cpp.linker.exe.release" + id="cdt.managedbuild.toolchain.xlc.exe.release"> + <targetPlatform + id="cdt.managedbuild.target.xlc.platform.exe.release" + name="%PlatformName.Rel" + binaryParser="org.eclipse.cdt.core.ELF" + osList="aix" + archList="all"> + </targetPlatform> + <builder + superClass="cdt.managedbuild.target.gnu.builder" + id="org.eclipse.cdt.managedbuilder.xlc.builder.release"> + </builder> + <tool + id="cdt.managedbuild.tool.xlc.cpp.compiler.exe.release" + superClass="cdt.managedbuild.tool.xlc.cpp.compiler"> + <option + id="xlc.cpp.compiler.exe.release.option.optimization.level" + defaultValue="xlc.c.compiler.optimization.level.most" + superClass="xlc.c.compiler.option.optimization.level"> + </option> + <option + id="xlc.cpp.compiler.exe.release.option.debugging.g" + defaultValue="false" + superClass="xlc.c.compiler.option.ecd.g"> + </option> + </tool> + <tool + id="cdt.managedbuild.tool.xlc.c.compiler.exe.release" + superClass="cdt.managedbuild.tool.xlc.c.compiler"> + <option + id="xlc.c.compiler.exe.release.option.optimization.level" + defaultValue="xlc.c.optimization.level.most" + superClass="xlc.c.compiler.option.optimization.level"> + </option> + <option + id="xlc.c.compiler.exe.release.option.debugging.g" + defaultValue="false" + superClass="xlc.c.compiler.option.ecd.g"> + </option> + </tool> + <tool + id="cdt.managedbuild.tool.xlc.c.linker.exe.release" + superClass="cdt.managedbuild.tool.xlc.c.linker"> + </tool> + <tool + id="cdt.managedbuild.tool.xlc.cpp.linker.exe.release" + superClass="cdt.managedbuild.tool.xlc.cpp.linker"> + </tool> + <tool + id="cdt.managedbuild.tool.xlc.assembler.exe.release" + superClass="cdt.managedbuild.tool.xlc.assembler"> + </tool> + </toolChain> + </configuration> + </projectType> + + <projectType + buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.sharedLib" + id="cdt.managedbuild.target.xlc.so" + isAbstract="false" + isTest="false" + name="%TargetName.xlc.so"> + <configuration + name="%ConfigName.Dbg" + cleanCommand="rm -rf" + artifactExtension="so" + errorParsers="org.eclipse.cdt.errorparsers.xlc.XlcErrorParser" + id="cdt.managedbuild.config.xlc.so.debug"> + <toolChain + name="%ToolChainName.Dbg" + targetTool="cdt.managedbuild.tool.xlc.c.linker.so.debug;cdt.managedbuild.tool.xlc.cpp.linker.so.debug" + id="cdt.managedbuild.toolchain.xlc.so.debug"> + <targetPlatform + id="cdt.managedbuild.target.xlc.platform.so.debug" + name="%PlatformName.Dbg" + binaryParser="org.eclipse.cdt.core.ELF" + osList="aix" + archList="all"> + </targetPlatform> + <builder + superClass="cdt.managedbuild.target.gnu.builder" + id="org.eclipse.cdt.managedbuilder.xlc.builder.so.debug"> + </builder> + <tool + id="cdt.managedbuild.tool.xlc.cpp.compiler.so.debug" + superClass="cdt.managedbuild.tool.xlc.cpp.compiler"> + <option + id="xlc.cpp.compiler.so.debug.option.optimization.level" + defaultValue="xlc.ccompiler.optimization.level.none" + superClass="xlc.c.compiler.option.optimization.level"> + </option> + <option + id="xlc.cpp.compiler.so.debug.option.debugging.g" + defaultValue="true" + superClass="xlc.c.compiler.option.ecd.g"> + </option> + </tool> + <tool + id="cdt.managedbuild.tool.xlc.c.compiler.so.debug" + superClass="cdt.managedbuild.tool.xlc.c.compiler"> + <option + id="xlc.c.compiler.so.debug.option.optimization.level" + defaultValue="xlc.c.optimization.level.none" + superClass="xlc.c.compiler.option.optimization.level"> + </option> + <option + id="xlc.c.compiler.so.debug.option.debugging.g" + defaultValue="true" + superClass="xlc.c.compiler.option.ecd.g"> + </option> + </tool> + <tool + id="cdt.managedbuild.tool.xlc.c.linker.so.debug" + superClass="cdt.managedbuild.tool.xlc.c.linker.so"> + </tool> + <tool + id="cdt.managedbuild.tool.xlc.cpp.linker.so" + superClass="cdt.managedbuild.tool.xlc.cpp.linker"> + <option + id="xlc.cpp.link.so.debug.option.shared" + defaultValue="true" + superClass="xlc.c.link.option.mkshrobj"> + </option> + <outputType + outputs="so" + outputPrefix="lib" + buildVariable="LIBRARIES" + superClass="cdt.managedbuild.tool.xlc.c.linker.output" + id="cdt.managedbuild.tool.xlc.cpp.linker.so.debug.output"> + </outputType> + </tool> + <tool + id="cdt.managedbuild.tool.xlc.assembler.so.debug" + superClass="cdt.managedbuild.tool.xlc.assembler"> + </tool> + </toolChain> + </configuration> + <configuration + name="%ConfigName.Rel" + cleanCommand="rm -rf" + artifactExtension="so" + errorParsers="org.eclipse.cdt.errorparsers.xlc.XlcErrorParser" + id="cdt.managedbuild.config.xlc.so.release"> + <toolChain + name="%ToolChainName.Rel" + targetTool="cdt.managedbuild.tool.xlc.c.linker.so.release;cdt.managedbuild.tool.xlc.cpp.linker.so.release" + id="cdt.managedbuild.toolchain.xlc.so.release"> + <targetPlatform + id="cdt.managedbuild.target.xlc.platform.so.release" + name="%PlatformName.Rel" + binaryParser="org.eclipse.cdt.core.ELF" + osList="aix" + archList="all"> + </targetPlatform> + <builder + superClass="cdt.managedbuild.target.gnu.builder" + id="org.eclipse.cdt.managedbuilder.xlc.builder.so.release"> + </builder> + <tool + id="cdt.managedbuild.tool.xlc.cpp.compiler.so.release" + superClass="cdt.managedbuild.tool.xlc.cpp.compiler"> + <option + id="xlc.cpp.compiler.so.release.option.optimization.level" + defaultValue="xlc.cpp.compiler.optimization.level.most" + superClass="xlc.c.compiler.option.optimization.level"> + </option> + <option + id="xlc.cpp.compiler.so.release.option.g" + defaultValue="false" + superClass="xlc.c.compiler.option.ecd.g"> + </option> + </tool> + <tool + id="cdt.managedbuild.tool.xlc.c.compiler.so.release" + superClass="cdt.managedbuild.tool.xlc.c.compiler"> + <option + id="xlc.c.compiler.so.release.option.optimization.level" + defaultValue="xlc.c.optimization.level.most" + superClass="xlc.c.compiler.option.optimization.level"> + </option> + <option + id="xlc.c.compiler.so.release.option.debugging.g" + defaultValue="false" + superClass="xlc.c.compiler.option.ecd.g"> + </option> + </tool> + <tool + id="cdt.managedbuild.tool.xlc.c.linker.so.release" + superClass="ccdt.managedbuild.tool.xlc.c.linker.so"> + <option + id="xlc.c.link.so.release.option.shared" + defaultValue="true" + superClass="xlc.c.link.option.mkshrobj"> + </option> + <outputType + outputs="so" + outputPrefix="lib" + buildVariable="LIBRARIES" + superClass="cdt.managedbuild.tool.xlc.c.linker.output" + id="cdt.managedbuild.tool.xlc.c.linker.so.release.output"> + </outputType> + </tool> + <tool + id="cdt.managedbuild.tool.xlc.cpp.linker.so.release" + superClass="cdt.managedbuild.tool.xlc.cpp.linker.so"> + <option + id="xlc.cpp.link.so.release.option.shared" + defaultValue="true" + superClass="xlc.c.link.option.mkshrobj"> + </option> + <outputType + outputs="so" + outputPrefix="lib" + buildVariable="LIBRARIES" + superClass="cdt.managedbuild.tool.xlc.c.linker.output" + id="cdt.managedbuild.tool.xlc.cpp.linker.so.release.output"> + </outputType> + </tool> + <tool + id="cdt.managedbuild.tool.xlc.assembler.so.release" + superClass="cdt.managedbuild.tool.xlc.assembler"> + </tool> + </toolChain> + </configuration> + </projectType> + + <projectType + buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.staticLib" + id="cdt.managedbuild.target.xlc.lib" + isAbstract="false" + isTest="false" + name="%TargetName.xlc.lib"> + <configuration + name="%ConfigName.Dbg" + cleanCommand="rm -rf" + artifactExtension="lib" + errorParsers="org.eclipse.cdt.errorparsers.xlc.XlcErrorParser" + id="cdt.managedbuild.config.xlc.lib.debug"> + <toolChain + name="%ToolChainName.Dbg" + targetTool="cdt.managedbuild.tool.xlc.archiver.lib.debug" + id="cdt.managedbuild.toolchain.xlc.lib.debug"> + <targetPlatform + id="cdt.managedbuild.target.xlc.platform.lib.debug" + name="%PlatformName.Dbg" + binaryParser="org.eclipse.cdt.core.ELF" + osList="aix" + archList="all"> + </targetPlatform> + <builder + superClass="cdt.managedbuild.target.gnu.builder" + id="org.eclipse.cdt.managedbuilder.xlc.builder.lib.debug"> + </builder> + <tool + id="cdt.managedbuild.tool.xlc.cpp.compiler.lib.debug" + superClass="cdt.managedbuild.tool.xlc.cpp.compiler"> + <option + id="xlc.cpp.compiler.lib.debug.option.optimization.level" + defaultValue="xlc.c.compiler.optimization.level.none" + superClass="xlc.c.compiler.option.optimization.level"> + </option> + <option + id="xlc.cpp.compiler.lib.debug.option.debugging.f" + defaultValue="true" + superClass="xlc.c.compiler.option.ecd.g"> + </option> + </tool> + <tool + id="cdt.managedbuild.tool.xlc.c.compiler.lib.debug" + superClass="cdt.managedbuild.tool.xlc.c.compiler"> + <option + id="xlc.c.compiler.lib.debug.option.optimization.level" + defaultValue="xlc.c.optimization.level.none" + superClass="xlc.c.compiler.option.optimization.level"> + </option> + <option + id="xlc.c.compiler.lib.debug.option.debugging.g" + defaultValue="true" + superClass="xlc.c.compiler.option.ecd.g"> + </option> + </tool> + <tool + id="cdt.managedbuild.tool.xlc.archiver.lib.debug" + superClass="cdt.managedbuild.tool.xlc.archiver"> + </tool> + <tool + id="cdt.managedbuild.tool.xlc.assembler.lib.debug" + superClass="cdt.managedbuild.tool.xlc.assembler"> + </tool> + </toolChain> + </configuration> + <configuration + name="%ConfigName.Rel" + cleanCommand="rm -rf" + artifactExtension="lib" + errorParsers="org.eclipse.cdt.errorparsers.xlc.XlcErrorParser" + id="cdt.managedbuild.config.xlc.lib.release"> + <toolChain + name="%ToolChainName.Rel" + targetTool="cdt.managedbuild.tool.xlc.archiver.lib.release" + id="cdt.managedbuild.toolchain.xlc.lib.release"> + <targetPlatform + id="cdt.managedbuild.target.xlc.platform.lib.release" + name="%PlatformName.Rel" + binaryParser="org.eclipse.cdt.core.ELF" + osList="aix" + archList="all"> + </targetPlatform> + <builder + superClass="cdt.managedbuild.target.gnu.builder" + id="org.eclipse.cdt.managedbuilder.xlc.builder.lib.release"> + </builder> + <tool + id="cdt.managedbuild.tool.xlc.cpp.compiler.lib.release" + superClass="cdt.managedbuild.tool.xlc.cpp.compiler"> + <option + id="xlc.cpp.compiler.lib.release.option.optimization.level" + defaultValue="xlc.c.compiler.optimization.level.most" + superClass="xlc.c.compiler.option.optimization.level"> + </option> + <option + id="xlc.cpp.compiler.lib.release.option.debugging.g" + defaultValue="false" + superClass="xlc.c.compiler.option.ecd.g"> + </option> + </tool> + <tool + id="cdt.managedbuild.tool.xlc.c.compiler.lib.release" + superClass="cdt.managedbuild.tool.xlc.c.compiler"> + <option + id="xlc.c.compiler.lib.release.option.optimization.level" + defaultValue="xlc.c.optimization.level.most" + superClass="xlc.c.compiler.option.optimization.level"> + </option> + <option + id="xlc.c.compiler.lib.release.option.debugging.g" + defaultValue="false" + superClass="xlc.c.compiler.option.ecd.g"> + </option> + </tool> + <tool + id="cdt.managedbuild.tool.xlc.archiver.lib.release" + superClass="cdt.managedbuild.tool.xlc.archiver"> + </tool> + <tool + id="cdt.managedbuild.tool.xlc.assembler.lib.release" + superClass="cdt.managedbuild.tool.xlc.assembler"> + </tool> + </toolChain> + </configuration> + </projectType> + <tool + id="org.eclipse.cdt.managedbuilder.xlc.ui.tool.abstractCompiler" + isAbstract="true" + name="Abstract XL Compiler"> + <envVarBuildPath + pathType="buildpathInclude" + variableList="CPATH,C_INCLUDE_PATH"> + </envVarBuildPath> + <optionCategory + name="%OptionCategory.Input" + id="xlc.c.compiler.category.Input"> + </optionCategory> + <option + defaultValue="false" + name="%Option.Preproccomments" + category="xlc.c.compiler.category.Input" + command="-C" + id="xlc.c.compiler.option.input.C" + valueType="boolean"> + </option> + <option + name="%Option.DefSym" + category="xlc.c.compiler.category.Input" + command="-D" + id="xlc.c.compiler.option.input.D" + valueType="definedSymbols"> + </option> + <option + name="%Option.InclPaths" + category="xlc.c.compiler.category.Input" + command="-I" + id="xlc.c.compiler.option.include.paths" + valueType="includePath" + browseType="directory"> + </option> + <option + name="%Option.UndefSym" + category="xlc.c.compiler.category.Input" + command="-U" + id="xlc.c.compiler.option.preprocessor.undef.symbol" + valueType="stringList"> + </option> + + <option + defaultValue="false" + name="%Option.altivec" + category="xlc.c.compiler.category.Input" + command="-qaltivec" + id="xlc.c.compiler.option.input.altivec" + valueType="boolean"> + </option> + + <option + name="%Option.asm" + category="xlc.c.compiler.category.Input" + id="xlc.c.compiler.option.input.asm" + valueType="enumerated"> + <enumeratedOptionValue + id="org.eclipse.cdt.managedbuilder.xlc.ui.enumeratedOptionValue2" + isDefault="true" + name="Default"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qasm=stdcpp" + id="org.eclipse.cdt.managedbuilder.xlc.ui.enumeratedOptionValue6" + name="Standard (-qasm=stdcpp)"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qasm=gcc" + id="org.eclipse.cdt.managedbuilder.xlc.ui.enumeratedOptionValue4" + name="GCC (-qasm=gcc)"> + </enumeratedOptionValue> + </option> + + + <option + name="%Option.qcomplexgccincl" + category="xlc.c.compiler.category.Input" + command="-qcomplexgccincl" + id="xlc.c.compiler.option.include.qcomplexgccincl" + valueType="includePath" + browseType="directory"> + </option> + + <option + defaultValue="false" + name="%Option.Mbcs" + category="xlc.c.compiler.category.Input" + command="-qmbcs" + id="xlc.c.compiler.option.misc.mbcs" + valueType="boolean"> + </option> + + <option + defaultValue="false" + name="%Option.Digraph" + category="xlc.c.compiler.category.Input" + command="-qdigraph" + id="xlc.c.compiler.option.misc.digraph" + valueType="boolean"> + </option> + + <option + defaultValue="false" + name="%Option.Dollar" + category="xlc.c.compiler.category.Input" + command="-qdollar" + id="xlc.c.compiler.option.misc.dollar" + valueType="boolean"> + </option> + + <option + defaultValue="false" + name="%Option.Incdirfirst" + category="xlc.c.compiler.category.Input" + command="-qidirfirst" + id="xlc.c.compiler.option.include.dirfirst" + valueType="boolean"> + </option> + + <option + name="%Option.ignprag" + category="xlc.c.compiler.category.Input" + id="xlc.c.compiler.option.input.ignprag" + valueType="enumerated"> + <enumeratedOptionValue + name="%Option.none" + isDefault="false" + id="xlc.c.input.ignprag.none"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.ignprag.disjoint" + isDefault="false" + command="-qignprag=Disjoint" + id="xlc.c.input.ignprag.disjoint"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.ignprag.isolated" + isDefault="false" + command="-qignprag=isolated" + id="xlc.c.input.ignprag.disjoint"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.ignprag.all" + isDefault="false" + command="-qignprag=all" + id="xlc.c.input.ignprag.all"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.ignprag.ibm" + isDefault="false" + command="-qignprag=ibm" + id="xlc.c.input.ignprag.ibm"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.ignprag.omp" + isDefault="false" + id="xlc.c.input.ignprag.omp"> + </enumeratedOptionValue> + </option> + + <option + name="%Option.Keyword" + category="xlc.c.compiler.category.Input" + command="-qkeyword=" + id="xlc.c.compiler.option.misc.keyword" + valueType="boolean"> + </option> + + <option + name="%Option.langlvl" + category="xlc.c.compiler.category.Input" + id="xlc.c.compiler.option.input.langlvl" + valueType="enumerated"> + <enumeratedOptionValue + name="%Option.default" + isDefault="false" + id="xlc.c.input.langlvl."> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.langlvl.classic" + isDefault="false" + command="-qlanglvl=classic" + id="xlc.c.input.langlvl.classic"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.langlvl.extended" + isDefault="false" + command="-qlanglvl=extended" + id="xlc.c.input.langlvl.extended"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.langlvl.saa" + isDefault="false" + command="-qlanglvl=saa" + id="xlc.c.input.langlvl.saa"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.langlvl.saal2" + isDefault="false" + command="-qlanglvl=saal2" + id="xlc.c.input.langlvl.saal2"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.langlvl.stdc89" + isDefault="false" + command="-qlanglvl=stdc89" + id="xlc.c.input.langlvl.stdc89"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.langlvl.stdc99" + isDefault="false" + command="-qlanglvl=stdc99" + id="xlc.c.input.langlvl.stdc99"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.langlvl.extc89" + isDefault="false" + command="-qlanglvl=extc89" + id="xlc.c.input.langlvl.extc89"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.langlvl.extc99" + isDefault="false" + command="-qlanglvl=extc99" + id="xlc.c.input.langlvl.extc99"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.langlvl.ucs" + isDefault="false" + command="-qlanglvl=ucs" + id="xlc.c.input.langlvl.ucs"> + </enumeratedOptionValue> + </option> + + <option + defaultValue="false" + name="%Option.Macpstr" + category="xlc.c.compiler.category.Input" + command="-qmacpstr" + id="xlc.c.compiler.option.misc.macpstr" + valueType="boolean"> + </option> + + <option + name="%Option.sourcetype" + category="xlc.c.compiler.category.Input" + id="xlc.c.compiler.option.input.sourcetype" + valueType="enumerated"> + <enumeratedOptionValue + name="%Option.none" + isDefault="false" + id="xlc.c.input.sourcetype.none"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.default" + isDefault="false" + command="-qsourcetype=default" + id="xlc.c.input.sourcetype.default"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.sourcetype.c" + isDefault="false" + command="-qsourcetype=c" + id="xlc.c.input.sourcetype.c"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.sourcetype.c++" + isDefault="false" + command="-qsourcetype=c++" + id="xlc.c.input.sourcetype.c++"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.sourcetype.assembler" + isDefault="false" + command="-qsourcetype=assembler" + id="xlc.c.input.sourcetype.assembler"> + </enumeratedOptionValue> + </option> + <option + category="xlc.c.compiler.category.Input" + command="-qstdframework" + id="org.eclipse.cdt.managedbuilder.xlc.ui.option2" + isAbstract="false" + name="%Option.stdframework" + resourceFilter="all" + valueType="boolean"> + </option> + <option + command="-qframeworkdir" + id="org.eclipse.cdt.managedbuilder.xlc.ui.option4" + isAbstract="false" + name="%Option.frameworkdirs" + resourceFilter="all" + valueType="includePath"> + </option> + + <option + defaultValue="false" + name="%Option.Input" + category="xlc.c.compiler.category.Input" + command="-qnostdinc" + id="xlc.c.compiler.option.preprocessor.nostdinc" + valueType="boolean"> + </option> + + <option + defaultValue="false" + name="%Option.Trigraph" + category="xlc.c.compiler.category.Input" + command="-qtrigraph" + id="xlc.c.compiler.option.misc.trigraph" + valueType="boolean"> + </option> + <option + defaultValue="false" + name="%Option.Utf" + category="xlc.c.compiler.category.Input" + command="-qutf" + id="xlc.c.compiler.option.misc.utf" + valueType="boolean"> + </option> + + <optionCategory + name="%OptionCategory.Output" + id="xlc.c.compiler.category.output"> + </optionCategory> + + <option + defaultValue="false" + name="%Option.Trace" + category="xlc.c.compiler.category.output" + command="-#" + id="xlc.c.compiler.option.output.trace" + valueType="boolean"> + </option> + <option + name="%Option.bmaxdata" + category="xlc.c.compiler.category.output" + command="-bmaxdata=" + id="xlc.c.compiler.option.output.bmaxdata" + valueType="string"> + </option> + <option + applicabilityCalculator="org.eclipse.cdt.managedbuilder.xlc.ui.HiddenOptionApplicabilityCalculator" + category="xlc.c.compiler.category.output" + command="-c" + defaultValue="true" + id="xlc.c.compiler.option.output.c" + name="%Option.c" + valueType="boolean"> + </option> + <option + defaultValue="false" + name="%Option.PreprocOnly" + category="xlc.c.compiler.category.output" + command="-E" + id="xlc.c.compiler.option.preprocessor.preprocess" + valueType="boolean"> + </option> + <option + defaultValue="false" + name="%Option.M" + category="xlc.c.compiler.category.output" + command="-M" + id="xlc.c.compiler.option.preprocessor.M" + valueType="boolean"> + </option> + + <option + defaultValue="false" + name="%Option.P" + category="xlc.c.compiler.category.output" + command="-P" + id="xlc.c.compiler.option.preprocessor.P" + valueType="boolean"> + </option> + + <option + defaultValue="false" + name="%Option.Assem" + category="xlc.c.compiler.category.output" + command="-S" + id="xlc.c.compiler.option.misc.assem" + valueType="boolean"> + </option> + + + <option + defaultValue="false" + name="%Option.Strip" + category="xlc.c.compiler.category.output" + command="-s" + id="xlc.c.compiler.option.output.strip" + valueType="boolean"> + </option> + <option + name="%Option.64" + category="xlc.c.compiler.category.output" + command="-q64" + id="xlc.c.compiler.option.misc.64" + valueType="boolean"> + </option> + <option + name="%Option.Align" + category="xlc.c.compiler.category.output" + id="xlc.c.compiler.option.alignment.align" + valueType="enumerated"> + <enumeratedOptionValue + name="%Option.none" + isDefault="false" + id="xlc.c.alignment.align.none"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.Align.Full" + isDefault="false" + command="-qalign=full" + id="xlc.c.alignment.align.full"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.Align.Power" + isDefault="false" + command="-qalign=power" + id="xlc.c.alignment.align.power"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.Align.Natural" + isDefault="false" + command="-qalign=natural" + id="xlc.c.alignment.align.natural"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.Align.twobyte" + isDefault="false" + command="-qalign=twobyte" + id="xlc.c.alignment.align.twobyte"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.Align.packed" + isDefault="false" + command="-qalign=packed" + id="xlc.c.alignment.align.packed"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.Align.bitpacked" + isDefault="false" + command="-qalign=bitpacked" + id="xlc.c.alignment.align.bitpacked"> + </enumeratedOptionValue> + </option> + <option + + name="%Option.alloca" + category="xlc.c.compiler.category.output" + command="-qalloca" + id="xlc.c.compiler.option.misc.alloca" + valueType="boolean"> + </option> + + <option + defaultValue="false" + name="%Option.Bitfields" + category="xlc.c.compiler.category.output" + id="xlc.c.compiler.option.signedness.bitfields" + valueType="enumerated"> + <enumeratedOptionValue + id="org.eclipse.cdt.managedbuilder.xlc.ui.enumeratedOptionValue4" + isDefault="true" + name="%Option.Bitfields.default"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qbitfields=signed" + id="org.eclipse.cdt.managedbuilder.xlc.ui.enumeratedOptionValue2" + name="%Option.Bitfields.signed"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qbitfields=unsigned" + id="org.eclipse.cdt.managedbuilder.xlc.ui.enumeratedOptionValue6" + name="%Option.Bitfields.unsigned"> + </enumeratedOptionValue> + </option> + + <option + defaultValue="false" + name="%Option.Chars" + category="xlc.c.compiler.category.output" + id="xlc.c.compiler.option.signedness.chars" + valueType="enumerated"> + <enumeratedOptionValue + id="org.eclipse.cdt.managedbuilder.xlc.ui.enumeratedOptionValue8" + name="%Option.default"> + </enumeratedOptionValue> + </option> + <option + defaultValue="false" + name="%Option.enablevmx" + category="xlc.c.compiler.category.output" + command="-qenablevmx" + id="xlc.c.compiler.option.objectcode.enablevmx" + valueType="boolean"> + </option> + <option + name="%Option.Enum" + category="xlc.c.compiler.category.output" + id="xlc.c.compiler.option.alignment.enum" + valueType="enumerated"> + <enumeratedOptionValue + name="%Option.none" + isDefault="false" + id="xlc.c.alignment.enum.none"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.enum.Int" + isDefault="false" + command="-qenum=int" + id="xlc.c.alignment.enum.int"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.enum.Intlong" + isDefault="false" + command="-qenum=intlong" + id="xlc.c.alignment.enum.intlong"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.enum.small" + isDefault="false" + command="-qenum=small" + id="xlc.c.alignment.enum.small"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.enum.1" + isDefault="false" + command="-qenum=1" + id="xlc.c.alignment.enum.1"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.enum.2" + isDefault="false" + command="-qenum=2" + id="xlc.c.alignment.enum.2"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.enum.4" + isDefault="false" + command="-qenum=4" + id="xlc.c.alignment.enum.4"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.enum.8" + isDefault="false" + command="-qenum=8" + id="xlc.c.alignment.enum.8"> + </enumeratedOptionValue> + </option> + + <option + name="%Option.Pic" + category="xlc.c.compiler.category.output" + id="xlc.c.compiler.option.objectcode.pic" + valueType="enumerated"> + <enumeratedOptionValue + name="%Option.none" + isDefault="false" + id="xlc.c.objectcode.pic.none"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.Pic.Small" + isDefault="false" + command="-qpic=small" + id="xlc.c.objectcode.pic.small"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.Pic.Large" + isDefault="false" + command="-qpic=large" + id="xlc.c.objectcode.pic.large"> + </enumeratedOptionValue> + </option> + + <option + category="xlc.c.compiler.category.output" + command="-qfuncset" + defaultValue="false" + id="xlc.c.compiler.option.objectcode.funcset" + name="%Option.funcset" + valueType="boolean"> + </option> + <option + category="xlc.c.compiler.category.output" + command="-qppline" + defaultValue="false" + id="xlc.c.compiler.option.objectcode.ppline" + name="%Option.ppline" + valueType="boolean"> + </option> + <option + category="xlc.c.compiler.category.output" + command="-qnoro" + defaultValue="false" + id="xlc.c.compiler.option.objectcode.noro" + name="%Option.noro" + valueType="boolean"> + </option> + <option + category="xlc.c.compiler.category.output" + command="-qnoroconst" + defaultValue="false" + id="xlc.c.compiler.option.objectcode.noroconst" + name="%Option.noroconst" + valueType="boolean"> + </option> + <option + category="xlc.c.compiler.category.output" + command="-qroptr" + defaultValue="false" + id="xlc.c.compiler.option.objectcode.roptr" + name="%Option.roptr" + valueType="boolean"> + </option> + <option + category="xlc.c.compiler.category.output" + command="-qsaveopt" + defaultValue="false" + id="xlc.c.compiler.option.objectcode.saveopt" + name="%Option.saveopt" + valueType="boolean"> + </option> + <option + category="xlc.c.compiler.category.output" + command="-qstaticinline" + defaultValue="false" + id="xlc.c.compiler.option.objectcode.staticinline" + name="%Option.staticinline" + valueType="boolean"> + </option> + <option + category="xlc.c.compiler.category.output" + command="-qstatsym" + defaultValue="false" + id="xlc.c.compiler.option.objectcode.statsym" + name="%Option.statsym" + valueType="boolean"> + </option> + <option + category="xlc.c.compiler.category.output" + command="-qthreaded" + defaultValue="false" + id="xlc.c.compiler.option.objectcode.threaded" + name="%Option.threaded" + valueType="boolean"> + </option> + <option + category="xlc.c.compiler.category.output" + command="-qvrsave" + defaultValue="false" + id="xlc.c.compiler.option.objectcode.vrsave" + name="%Option.vrsave" + valueType="boolean"> + </option> + <option + category="xlc.c.compiler.category.output" + command="-qweaksymbol" + defaultValue="false" + id="xlc.c.compiler.option.objectcode.weaksymbol" + name="%Option.weaksymbol" + valueType="boolean"> + </option> + <option + category="xlc.c.compiler.category.output" + command="-qxcall" + defaultValue="false" + id="xlc.c.compiler.option.objectcode.xcall" + name="%Option.xcall" + valueType="boolean"> + </option> + <optionCategory + name="%OptionCategory.Optimize" + id="xlc.c.compiler.category.optimization"> + </optionCategory> + <option + name="%Option.OptLevel" + category="xlc.c.compiler.category.optimization" + id="xlc.c.compiler.option.optimization.level" + valueType="enumerated"> + <enumeratedOptionValue + name="%Option.none" + isDefault="false" + command="-O0" + id="xlc.c.optimization.level.none"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.Optimize.Optimize" + command="-O" + id="xlc.c.optimization.level.optimize"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.Optimize.Level2" + isDefault="true" + command="-O2" + id="xlc.c.optimization.level.Level2"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.Optimize.Level3" + command="-O3" + id="xlc.c.optimization.level.Level3"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.Optimize.Level4" + command="-O4" + id="xlc.c.optimization.level.Level4"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.Optimize.Level5" + command="-O5" + id="xlc.c.optimization.level.Level5"> + </enumeratedOptionValue> + </option> + <option + name="%Option.inlining" + category="xlc.c.compiler.category.optimization" + id="xlc.c.compiler.option.optimization.inlining" + valueType="enumerated" + > + <enumeratedOptionValue + id="org.eclipse.cdt.managedbuilder.xlc.ui.enumeratedOptionValue12" + isDefault="true" + name="%Option.default"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-Q" + id="org.eclipse.cdt.managedbuilder.xlc.ui.enumeratedOptionValue14" + name="%Option.inlining.Q"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-Q!" + id="org.eclipse.cdt.managedbuilder.xlc.ui.enumeratedOptionValue16" + name="%Option.inlining.Qexclamation"> + </enumeratedOptionValue> + </option> + <option + name="%Option.aggrcopy" + category="xlc.c.compiler.category.optimization" + id="xlc.c.compiler.option.optimization.aggrcopy" + valueType="enumerated"> + <enumeratedOptionValue + name="%Option.none" + isDefault="false" + id="xlc.c.optimization.aggrcopy.none"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.aggrcopy.nooverlap" + command="-qaggrcopy=nooverlap" + id="xlc.c.optimization.aggrcopy.nooverlap"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.aggrcopy.overlap" + command="-qaggrcopy=overlap" + id="xlc.c.optimization.aggrcopy.overlap"> + </enumeratedOptionValue> + </option> + + <option + name="%Option.alias" + category="xlc.c.compiler.category.optimization" + command="-qalias=" + id="xlc.c.compiler.option.optimization.alias" + valueType="string"> + </option> + <option + name="%Option.optimization.arch" + category="xlc.c.compiler.category.optimization" + id="xlc.c.compiler.option.optimization.arch" + valueType="enumerated"> + <enumeratedOptionValue + id="xlc.c.compiler.option.optimization.arch.default" + isDefault="true" + name="%Option.default"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qarch=auto" + id="xlc.c.compiler.option.optimization.arch.auto" + name="auto"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qarch=com" + id="xlc.c.compiler.option.optimization.arch.com" + name="com"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qarch=403" + id="xlc.c.compiler.option.optimization.arch.403" + name="PowerPC® 403"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qarch=601" + id="xlc.c.compiler.option.optimization.arch.601" + name="PowerPC® 601"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qarch=602" + id="xlc.c.compiler.option.optimization.arch.602" + name="PowerPC® 602"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qarch=603" + id="xlc.c.compiler.option.optimization.arch.603" + name="PowerPC® 603"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qarch=604" + id="xlc.c.compiler.option.optimization.arch.604" + name="PowerPC® 604"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qarch=pwr" + id="xlc.c.compiler.option.optimization.arch.pwr" + name="POWER™"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qarch=pwr2" + id="xlc.c.compiler.option.optimization.arch.pwr2" + name="POWER2™"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qarch=pwr2s" + id="xlc.c.compiler.option.optimization.arch.pwr2s" + name="POWER2™ s"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qarch=pwr2sc" + id="xlc.c.compiler.option.optimization.arch.pwr2sc" + name="POWER2™ Super Chip"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qarch=pwr3" + id="xlc.c.compiler.option.optimization.arch.pwr3" + name="POWER3™"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qarch=pwr4" + id="xlc.c.compiler.option.optimization.arch.pwr4" + name="POWER4™"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qarch=pwr5" + id="xlc.c.compiler.option.optimization.arch.pwr5" + name="POWER5™"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qarch=ppc" + id="xlc.c.compiler.option.optimization.arch.ppc" + name="PowerPC®"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qarch=ppc64" + id="xlc.c.compiler.option.optimization.arch.ppc64" + name="%Option.optimization.arch.ppc64"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qarch=ppcgr" + id="xlc.c.compiler.option.optimization.arch.ppcgr" + name="%Option.optimization.arch.ppcgr"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qarch=ppc64gr" + id="xlc.c.compiler.option.optimization.arch.ppc64gr" + name="%Option.optimization.arch.ppc64gr"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qarch=ppcs4grsq" + id="xlc.c.compiler.option.optimization.arch.ppc64grsq" + name="%Option.optimization.arch.ppc64grsq"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qarch=ppc64v" + id="xlc.c.compiler.option.optimization.arch.ppc64v" + name="%Option.optimization.arch.ppc64v"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qarch=ppc970" + id="xlc.c.compiler.option.optimization.arch.ppc970" + name="PowerPC® 970"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qarch=rs64a" + id="xlc.c.compiler.option.optimization.arch.rs64a" + name="RS64I"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qarch=rs64b" + id="xlc.c.compiler.option.optimization.arch.rs64b" + name="RS64II"> + </enumeratedOptionValue> + <enumeratedOptionValue + command="-qarch=rs64c" + id="xlc.c.compiler.option.optimization.arch.rs64c" + name="RS64III"> + </enumeratedOptionValue> + </option> + <option + name="%Option.optimization.Cache" + category="xlc.c.compiler.category.optimization" + command="-qcache=" + id="xlc.c.compiler.option.optimization.cache" + valueType="string"> + </option> + <option + + name="%Option.compact" + category="xlc.c.compiler.category.optimization" + command="-qcompact" + id="xlc.c.compiler.option.optimization.compact" + valueType="boolean"> + </option> + <option + name="%Option.optimization.dataimported" + category="xlc.c.compiler.category.optimization" + command="-qdataimported=" + id="xlc.c.compiler.option.optimization.dataimported" + valueType="string"> + </option> + <option + name="%Option.optimization.datalocal" + category="xlc.c.compiler.category.optimization" + command="-qdatalocal=" + id="xlc.c.compiler.option.optimization.datalocal" + valueType="string"> + </option> + <option + + name="%Option.directstorage" + category="xlc.c.compiler.category.optimization" + command="-qdirectstorage" + id="xlc.c.compiler.option.optimization.directstorage" + valueType="boolean"> + </option> + + <option + + name="%Option.fdpr" + category="xlc.c.compiler.category.optimization" + command="-qfdpr" + id="xlc.c.compiler.option.optimization.fdpr" + valueType="boolean"> + </option> + <option + name="%Option.optimization.hot" + category="xlc.c.compiler.category.optimization" + command="-qhot=" + id="xlc.c.compiler.option.optimization.hot" + valueType="string"> + </option> + <option + + name="%Option.ignerrno" + category="xlc.c.compiler.category.optimization" + command="-qignerrno" + id="xlc.c.compiler.option.optimization.ignerrno" + valueType="boolean"> + </option> + <option + name="%Option.optimization.ipa" + category="xlc.c.compiler.category.optimization" + command="-qipa=" + id="xlc.c.compiler.option.optimization.ipa" + valueType="string"> + </option> + <option + name="%Option.optimization.isolatedcall" + category="xlc.c.compiler.category.optimization" + command="-qisolated_call=" + id="xlc.c.compiler.option.optimization.isolatedcall" + valueType="string"> + </option> + <option + + name="%Option.largepage" + category="xlc.c.compiler.category.optimization" + command="-qlargepage" + id="xlc.c.compiler.option.optimization.largepage" + valueType="boolean"> + </option> + <option + + name="%Option.libansi" + category="xlc.c.compiler.category.optimization" + command="-qlibansi" + id="xlc.c.compiler.option.optimization.libansi" + valueType="boolean"> + </option> + <option + + name="%Option.pdf1" + category="xlc.c.compiler.category.optimization" + command="-qpdf1" + id="xlc.c.compiler.option.optimization.pdf1" + valueType="boolean"> + </option> + <option + + name="%Option.pdf2" + category="xlc.c.compiler.category.optimization" + command="-qpdf2" + id="xlc.c.compiler.option.optimization.pdf2" + valueType="boolean"> + </option> + <option + defaultValue="false" + name="%Option.optimization.Prefetch" + category="xlc.c.compiler.category.optimization" + command="-qnoprefetch" + id="xlc.c.compiler.option.optimization.prefetch" + valueType="boolean"> + </option> + <option + name="%Option.optimization.procimported" + category="xlc.c.compiler.category.optimization" + command="-qprocunknown" + id="xlc.c.compiler.option.optimization.procimported" + valueType="string"> + </option> + <option + name="%Option.optimization.procunknown" + category="xlc.c.compiler.category.optimization" + command="-qprocunknown=" + id="xlc.c.compiler.option.optimization.procunknown" + valueType="string"> + </option> + <option + defaultValue="false" + name="%Option.optimization.showpdf" + category="xlc.c.compiler.category.optimization" + command="-qshowpdf" + id="xlc.c.compiler.option.optimization.showpdf" + valueType="boolean"> + </option> + <option + defaultValue="false" + name="%Option.optimization.smallstack" + category="xlc.c.compiler.category.optimization" + command="-qsmallstack" + id="xlc.c.compiler.option.optimization.smallstack" + valueType="boolean"> + </option> + <option + defaultValue="false" + name="%Option.optimization.smp" + category="xlc.c.compiler.category.optimization" + command="-qsmp" + id="xlc.c.compiler.option.optimization.smp" + valueType="boolean"> + </option> + <option + name="%Option.optimization.Spill" + category="xlc.c.compiler.category.optimization" + command="-qspill=" + id="xlc.c.compiler.option.optimization.spill" + valueType="string"> + </option> + <option + defaultValue="false" + name="%Option.optimization.Strict" + category="xlc.c.compiler.category.optimization" + command="-qstrict" + id="xlc.c.compiler.option.optimization.strict" + valueType="boolean"> + </option> + <option + name="%Option.optimization.loopinduction" + category="xlc.c.compiler.category.optimization" + id="xlc.c.compiler.option.optimization.loopinduction" + valueType="enumerated"> + <enumeratedOptionValue + id="org.eclipse.cdt.managedbuilder.xlc.ui.enumeratedOptionValue10" + isDefault="true" + name="%Option.default"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.optimization.strict_induction" + command="-qstrict_induction" + id="xlc.c.optimization.optimize.strict_induction"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.optimization.nostrict_induction" + isDefault="false" + command="-qnostrict_induction" + id="xlc.c.optimization.optimize.nostrict_induction"> + </enumeratedOptionValue> + </option> + + <option + defaultValue="false" + name="%Option.optimization.tocdata" + category="xlc.c.compiler.category.optimization" + command="-qtocdata" + id="xlc.c.compiler.option.optimization.tocdata" + valueType="boolean"> + </option> + + <optionCategory + name="%OptionCategory.ifp" + id="xlc.c.compiler.category.ifp"> + </optionCategory> + + <option + name="%Option.y" + category="xlc.c.compiler.category.ifp" + id="xlc.c.compiler.option.ifp.y" + valueType="enumerated"> + <enumeratedOptionValue + name="%Option.none" + isDefault="false" + id="xlc.c.compiler.option.ifp.y.none"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.y.n" + isDefault="false" + command="-yn" + id="xlc.c.compiler.option.ifp.y.n"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.y.m" + isDefault="false" + command="-ym" + id="xlc.c.compiler.option.ifp.y.m"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.y.p" + isDefault="false" + command="-yp" + id="xlc.c.compiler.option.ifp.y.p"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.y.z" + isDefault="false" + command="-yz" + id="xlc.c.compiler.option.ifp.y.z"> + </enumeratedOptionValue> + </option> + + <option + name="%Option.float" + category="xlc.c.compiler.category.ifp" + command="-qfloat=" + id="xlc.c.compiler.option.ifp.qfloat" + valueType="string"> + </option> + <option + name="%Option.flttrap" + category="xlc.c.compiler.category.ifp" + command="-qflttrap=" + id="xlc.c.compiler.option.ifp.qflttrap" + valueType="string"> + </option> + <option + name="%Option.longlong" + category="xlc.c.compiler.category.ifp" + id="xlc.c.compiler.option.ifp.longlong" + valueType="enumerated"> + <enumeratedOptionValue + name="%Option.none" + isDefault="false" + id="xlc.c.ifp.y.none"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.longlong" + isDefault="false" + command="-qlonglong" + id="xlc.c.ifp.qlonglong"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.nolonglong" + isDefault="false" + command="-qnolonglong" + id="xlc.c.ifp.qnolonglong"> + </enumeratedOptionValue> + </option> + + <option + name="%Option.rndflt" + category="xlc.c.compiler.category.ifp" + id="xlc.c.compiler.option.ifp.rndflt" + valueType="enumerated"> + <enumeratedOptionValue + name="%Option.none" + isDefault="false" + id="xlc.c.ifp.rndflt.none"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.rndflt.nearest" + isDefault="false" + command="-qrndflt=nearest" + id="xlc.c.ifp.qrndflt.nearest"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.rndflt.minusinf" + isDefault="false" + command="-qrndflt=minusinf" + id="xlc.c.ifp.qrndflt.minusinf"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.rndflt.plusinf" + isDefault="false" + command="-qrndflt=plusinf" + id="xlc.c.ifp.qrndflt.plusinf"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.rndflt.zero" + isDefault="false" + command="-qrndflt=zero" + id="xlc.c.ifp.qrndflt.zero"> + </enumeratedOptionValue> + </option> + + + <optionCategory + name="%OptionCategory.cc" + id="xlc.c.compiler.category.cc"> + </optionCategory> + <option + name="%Option.B" + category="xlc.c.compiler.category.cc" + command="-B" + id="xlc.c.compiler.option.cc.B" + valueType="string"> + </option> + + <option + name="%Option.F" + category="xlc.c.compiler.category.cc" + command="-F" + id="xlc.c.compiler.option.cc.F" + valueType="string"> + </option> + + <option + name="%Option.t" + category="xlc.c.compiler.category.cc" + command="-t" + id="xlc.c.compiler.option.cc.t" + valueType="string"> + </option> + + <option + name="%Option.optimization.w" + category="xlc.c.compiler.category.cc" + command="-W" + id="xlc.c.compiler.option.cc.W" + valueType="string"> + </option> + <option + name="%Option.expfile" + category="xlc.c.compiler.category.cc" + command="-qexpfile=" + id="xlc.c.compiler.option.cc.expfile" + valueType="string"> + </option> + <option + name="%Option.maxmem" + category="xlc.c.compiler.category.cc" + command="-qmaxmem=" + id="xlc.c.compiler.option.cc.maxmem" + valueType="string"> + </option> + <option + name="%Option.path" + category="xlc.c.compiler.category.cc" + command="-qpath=" + id="xlc.c.compiler.option.cc.path" + valueType="string"> + </option> + <option + name="%Option.tls" + category="xlc.c.compiler.category.cc" + command="-qtls=" + id="xlc.c.compiler.option.cc.tls" + valueType="string"> + </option> + <optionCategory + name="%OptionCategory.lm" + id="xlc.c.compiler.category.lm"> + </optionCategory> + + <option + + name="%Option.V" + category="xlc.c.compiler.category.lm" + command="-V" + id="xlc.c.compiler.option.lm.V" + valueType="boolean"> + </option> + <option + defaultValue="false" + name="%Option.Warn.nowarn" + category="xlc.c.compiler.category.lm" + command="-w" + id="xlc.c.compiler.option.lm.w" + valueType="boolean"> + </option> + <option + name="%Option.attr" + category="xlc.c.compiler.category.lm" + id="xlc.c.compiler.option.lm.attr" + valueType="enumerated"> + <enumeratedOptionValue + name="%Option.none" + isDefault="false" + id="xlc.c.lm.attr.none"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.attr.noattr" + isDefault="false" + command="-qnoattr" + id="xlc.c.lm.attr.noattr"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.attr.fullattr" + isDefault="false" + command="-qattr=full" + id="xlc.c.lm.attr.fullattr"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.attr.attr" + isDefault="false" + command="-qattr" + id="xlc.c.lm.attr.attr"> + </enumeratedOptionValue> + </option> + <option + name="%Option.flag" + category="xlc.c.compiler.category.lm" + command="-qflag=" + id="xlc.c.compiler.option.lm.flag" + valueType="string"> + </option> + <option + name="%Option.format" + category="xlc.c.compiler.category.lm" + command="-qformat=" + id="xlc.c.compiler.option.lm.format" + valueType="string"> + </option> + <option + name="%Option.halt" + category="xlc.c.compiler.category.lm" + command="-qhalt=" + id="xlc.c.compiler.option.lm.halt" + valueType="string"> + </option> + + <option + name="%Option.info" + category="xlc.c.compiler.category.lm" + command="-qinfo=" + id="xlc.c.compiler.option.lm.info" + valueType="string"> + </option> + <option + name="%Option.langlvl" + category="xlc.c.compiler.category.lm" + id="xlc.c.compiler.option.lm.langlvl" + valueType="enumerated"> + <enumeratedOptionValue + name="%Option.none" + isDefault="false" + id="xlc.c.input.langlvl.none"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.langlvl.77std" + isDefault="false" + command="-qlanglvl=77std" + id="xlc.c.input.langlvl.77std"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.langlvl.90std" + isDefault="false" + command="-qlanglvl=90std" + id="xlc.c.input.langlvl.90std"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.langlvl.90pure" + isDefault="false" + command="-qlanglvl=90pure" + id="xlc.c.input.langlvl.90pure"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.langlvl.95std" + isDefault="false" + command="-qlanglvl=95std" + id="xlc.c.input.langlvl.95std"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.langlvl.95pure" + isDefault="false" + command="-qlanglvl=95pure" + id="xlc.c.input.langlvl.95pure"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.langlvl.extended" + isDefault="false" + command="-qlanglvl=extended" + id="xlc.c.input.langlvl.extended"> + </enumeratedOptionValue> + </option> + <option + + name="%Option.list" + category="xlc.c.compiler.category.lm" + command="-qlist" + id="xlc.c.compiler.option.lm.list" + valueType="boolean"> + </option> + <option + + name="%Option.listopt" + category="xlc.c.compiler.category.lm" + command="-qlistopt" + id="xlc.c.compiler.option.lm.listopt" + valueType="boolean"> + </option> + <option + + name="%Option.phsinfo" + category="xlc.c.compiler.category.lm" + command="-qphsinfo" + id="xlc.c.compiler.option.lm.phsinfo" + valueType="boolean"> + </option> + + <option + + name="%Option.noprint" + category="xlc.c.compiler.category.lm" + command="-qnoprint" + id="xlc.c.compiler.option.lm.noprint" + valueType="boolean"> + </option> + <option + + name="%Option.report" + category="xlc.c.compiler.category.lm" + command="-qreport" + id="xlc.c.compiler.option.lm.report" + valueType="boolean"> + </option> + <option + + name="%Option.showinc" + category="xlc.c.compiler.category.lm" + command="-qshowinc" + id="xlc.c.compiler.option.lm.showinc" + valueType="boolean"> + </option> + <option + + name="%Option.source" + category="xlc.c.compiler.category.lm" + command="-qsource" + id="xlc.c.compiler.option.lm.source" + valueType="boolean"> + </option> + <option + + name="%Option.srcmsg" + category="xlc.c.compiler.category.lm" + command="-qsrcmsg" + id="xlc.c.compiler.option.lm.srcmsg" + valueType="boolean"> + </option> + <option + name="%Option.suppress" + category="xlc.c.compiler.category.lm" + command="-qsuppress=" + id="xlc.c.compiler.option.lm.suppress" + valueType="string"> + </option> + <option + name="%Option.tabsize" + category="xlc.c.compiler.category.lm" + command="-qtabsize=" + id="xlc.c.compiler.option.lm.tabsize" + valueType="string"> + </option> + <option + + name="%Option.warnfourcharconsts" + category="xlc.c.compiler.category.lm" + command="-qwarnfourcharconsts" + id="xlc.c.compiler.option.lm.warnfourcharconsts" + valueType="boolean"> + </option> + <option + name="%Option.xref" + category="xlc.c.compiler.category.lm" + id="xlc.c.compiler.option.lm.xref" + valueType="enumerated"> + <enumeratedOptionValue + name="%Option.none" + isDefault="false" + id="xlc.c.lm.xref.none"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.xref.noxref" + isDefault="false" + command="-qnoxref" + id="xlc.c.lm.attr.noattr"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.xref.fullxref" + isDefault="false" + command="-qxref=full" + id="xlc.c.lm.xref.fullxref"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.xref.xref" + isDefault="false" + command="-qxref" + id="xlc.c.lm.xref.xref"> + </enumeratedOptionValue> + </option> + + <optionCategory + name="%OptionCategory.ecd" + id="xlc.c.compiler.category.ecd"> + </optionCategory> + + <option + + name="%Option.g" + category="xlc.c.compiler.category.ecd" + command="-g" + id="xlc.c.compiler.option.ecd.g" + valueType="boolean"> + </option> + <option + + name="%Option.p" + category="xlc.c.compiler.category.ecd" + command="-p" + id="xlc.c.compiler.option.ecd.p" + valueType="boolean"> + </option> + <option + + name="%Option.pg" + category="xlc.c.compiler.category.ecd" + command="-pg" + id="xlc.c.compiler.option.ecd.pg" + valueType="boolean"> + </option> + <option + + name="%Option.check" + category="xlc.c.compiler.category.ecd" + command="-qcheck" + id="xlc.c.compiler.option.ecd.check" + valueType="boolean"> + </option> + <option + + name="%Option.dbxextra" + category="xlc.c.compiler.category.ecd" + command="-qdbxextra" + id="xlc.c.compiler.option.ecd.dbxextra" + valueType="boolean"> + </option> + <option + + name="%Option.extchk" + category="xlc.c.compiler.category.ecd" + command="-qextchk" + id="xlc.c.compiler.option.ecd.extchk" + valueType="boolean"> + </option> + + <option + + name="%Option.fullpath" + category="xlc.c.compiler.category.ecd" + command="-qfullpath" + id="xlc.c.compiler.option.ecd.fullpath" + valueType="boolean"> + </option> + + <option + name="%Option.genproto" + category="xlc.c.compiler.category.ecd" + id="xlc.c.compiler.option.ecd.genproto" + valueType="enumerated"> + <enumeratedOptionValue + name="%Option.none" + isDefault="false" + id="xlc.c.ecd.genproto.none"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.genproto" + isDefault="false" + command="-qgenproto" + id="xlc.c.ecd.genproto"> + </enumeratedOptionValue> + <enumeratedOptionValue + name="%Option.genproto.parmgenproto" + isDefault="false" + command="-qgenproto=parmnames" + id="xlc.c.ecd.genproto.parmnames"> + </enumeratedOptionValue> + </option> + <option + + name="%Option.heapdebug" + category="xlc.c.compiler.category.ecd" + command="-qheapdebug" + id="xlc.c.compiler.option.ecd.heapdebug" + valueType="boolean"> + </option> + <option + name="%Option.initauto" + category="xlc.c.compiler.category.ecd" + command="-qinitauto=" + id="xlc.c.compiler.option.ecd.initauto" + valueType="string"> + </option> + <option + + name="%Option.linedebug" + category="xlc.c.compiler.category.ecd" + command="-qlinedebug" + id="xlc.c.compiler.option.ecd.linedebug" + valueType="boolean"> + </option> + <option + name="%Option.maxerr" + category="xlc.c.compiler.category.ecd" + command="-qmaxerr=" + id="xlc.c.compiler.option.ecd.maxerr" + valueType="string"> + </option> + <option + + name="%Option.proto" + category="xlc.c.compiler.category.ecd" + command="-qproto" + id="xlc.c.compiler.option.ecd.proto" + valueType="boolean"> + </option> + <optionCategory + name="%OptionCategory.Misc" + id="xlc.c.compiler.category.other"> + </optionCategory> + <option + name="%Option.compiler.other" + category="xlc.c.compiler.category.other" + id="xlc.c.compiler.option.misc.other" + valueType="string"> + </option> + + <inputType + sourceContentType="org.eclipse.cdt.core.cSource" + sources="c" + dependencyContentType="org.eclipse.cdt.core.cHeader" + dependencyExtensions="h" + id="cdt.managedbuild.tool.xlc.c.compiler.input"> + </inputType> + <outputType + outputs="o" + buildVariable="OBJS" + id="cdt.managedbuild.tool.xlc.c.compiler.output"> + </outputType> + </tool> + <tool + id="org.eclipse.cdt.managedbuilder.xlc.ui.tool.abstractLinker" + isAbstract="true" + name="Abstract XL Linker" + outputFlag="-o"> + <envVarBuildPath + pathType="buildpathLibrary" + variableList="LIBRARY_PATH"> + </envVarBuildPath> + + <optionCategory + name="%OptionCategory.Libs" + id="xlc.c.link.category.libs"> + </optionCategory> + <option + name="%Option.Libs" + category="xlc.c.link.category.libs" + command="-l" + id="xlc.c.link.option.libs" + browseType="none" + valueType="libs"> + </option> + <option + name="%Option.Libsearch" + category="xlc.c.link.category.libs" + command="-L" + id="xlc.c.link.option.paths" + browseType="directory" + valueType="stringList"> + </option> + <option + name="%Option.UserObjs" + category="xlc.c.link.category.libs" + browseType="file" + valueType="userObjs" + id="xlc.c.link.option.userobjs"> + </option> + <optionCategory + name="%OptionCategory.Linking" + id="xlc.c.compiler.category.linking"> + </optionCategory> + + <option + name="%Option.Linking.b" + category="xlc.c.compiler.category.linking" + command="-b" + id="xlc.c.compiler.option.linking.b" + valueType="string"> + </option> + + <option + defaultValue="false" + name="%Option.linking.brtl" + category="xlc.c.compiler.category.linking" + command="-brtl" + id="xlc.c.compiler.option.linking.brtl" + valueType="boolean"> + </option> + + <option + defaultValue="false" + name="%Option.linking.bundle" + category="xlc.c.compiler.category.linking" + command="-bundle" + id="xlc.c.compiler.option.linking.bundle" + valueType="boolean"> + </option> + + <option + name="%Option.linking.bundle_loader" + category="xlc.c.compiler.category.linking" + command="-bundle_loader=" + id="xlc.c.compiler.option.linking.bundle_loader" + valueType="string"> + </option> + + + <option + browseType="file" + category="xlc.c.compiler.category.linking" + command="-f=" + id="xlc.c.compiler.option.linking.f" + name="%Option.linking.f" + valueType="string"> + </option> + + <option + name="%Option.Linking.L" + category="xlc.c.compiler.category.linking" + command="-L" + id="xlc.c.compiler.option.linking.L" + valueType="string"> + </option> + + <option + name="%Option.Linking.l" + category="xlc.c.compiler.category.linking" + command="-l" + id="xlc.c.compiler.option.linking.l" + valueType="string"> + </option> + + <option + defaultValue="false" + name="%Option.linking.r" + category="xlc.c.compiler.category.linking" + command="-r" + id="xlc.c.compiler.option.linking.r" + valueType="boolean"> + </option> + + <option + name="%Option.Linking.Z" + category="xlc.c.compiler.category.linking" + command="-Z" + id="xlc.c.compiler.option.linking.Z" + valueType="string"> + </option> + + + <option + defaultValue="false" + name="%Option.linking.inlglue" + category="xlc.c.compiler.category.linking" + command="-qinlglue" + id="xlc.c.compiler.option.linking.qinlglue" + valueType="boolean"> + </option> + + <option + defaultValue="false" + name="%Option.linking.lib" + category="xlc.c.compiler.category.linking" + command="-qlib" + id="xlc.c.compiler.option.linking.qlib" + valueType="boolean"> + </option> + + <option + name="%Option.Linking.priority" + category="xlc.c.compiler.category.linking" + command="-qpriority=" + id="xlc.c.compiler.option.linking.priority" + valueType="string"> + </option> + <option + defaultValue="false" + name="%Option.Linker.Shared" + category="xlc.c.compiler.category.linking" + command="-qmkshrobj" + id="xlc.c.link.option.mkshrobj" + applicabilityCalculator="org.eclipse.cdt.managedbuilder.xlc.ui.HiddenOptionApplicabilityCalculator" + valueType="boolean"> + </option> + <option + defaultValue="false" + name="%Option.Linker.Strip" + category="xlc.c.compiler.category.linking" + command="-s" + id="xlc.c.link.option.strip" + valueType="boolean"> + </option> + <optionCategory + name="%OptionCategory.Misc" + id="xlc.c.link.category.other"> + </optionCategory> + <option + name="%Option.Linker.Flags" + category="xlc.c.link.category.other" + valueType="string" + id="xlc.c.link.option.ldflags"> + </option> + <inputType + sourceContentType="org.eclipse.cdt.managedbuilder.core.compiledObjectFile" + sources="o" + multipleOfType="true" + dependencyCalculator="org.eclipse.cdt.managedbuilder.makegen.internal.DefaultNoDependencyCalculator" + buildVariable="OBJS" + id="cdt.managedbuild.tool.xlc.c.linker.input"> + <additionalInput + paths="$(USER_OBJS)" + kind="additionalinputdependency"> + </additionalInput> + <additionalInput + paths="$(LIBS)" + kind="additionalinput"> + </additionalInput> + </inputType> + <outputType + outputs="" + buildVariable="EXECUTABLES" + nameProvider="org.eclipse.cdt.managedbuilder.makegen.gnu.GnuLinkOutputNameProvider" + id="cdt.managedbuild.tool.xlc.c.linker.output"> + </outputType> + </tool> + <tool + id="org.eclipse.cdt.managedbuilder.xlc.ui.tool.linker.abstractSOLinker" + isAbstract="true" + name="Abstract XL Shared Object Linker" + superClass="org.eclipse.cdt.managedbuilder.xlc.ui.tool.abstractLinker"> + <option + name="%Option.Linking.mkshrobj" + id="xlc.c.link.so.option.shared" + defaultValue="true" + superClass="xlc.c.link.option.mkshrobj"> + </option> + <option + name="%Option.Linking.e" + category="xlc.c.compiler.category.linking" + command="-e " + id="xlc.c.compiler.option.linking.e" + valueType="string"> + </option> + <option + defaultValue="false" + name="%Option.linking.G" + category="xlc.c.compiler.category.linking" + command="-G" + id="xlc.c.compiler.option.linking.G" + valueType="boolean"> + </option> + <outputType + outputs="so" + outputPrefix="lib" + buildVariable="LIBRARIES" + superClass="cdt.managedbuild.tool.xlc.c.linker.output" + id="cdt.managedbuild.tool.xlc.c.linker.so.debug.output"> + </outputType> + </tool> + </extension> +</plugin> + + + diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/aix/AixConfigurationEnvironmentSupplier.java b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/aix/AixConfigurationEnvironmentSupplier.java new file mode 100644 index 00000000000..6e327c70981 --- /dev/null +++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/aix/AixConfigurationEnvironmentSupplier.java @@ -0,0 +1,51 @@ +/******************************************************************************* + * Copyright (c) 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ + +package org.eclipse.cdt.managedbuilder.xlc.aix; + +import org.eclipse.cdt.managedbuilder.core.IConfiguration; +import org.eclipse.cdt.managedbuilder.envvar.IBuildEnvironmentVariable; +import org.eclipse.cdt.managedbuilder.envvar.IConfigurationEnvironmentVariableSupplier; +import org.eclipse.cdt.managedbuilder.envvar.IEnvironmentVariableProvider; +import org.eclipse.cdt.managedbuilder.internal.envvar.BuildEnvVar; + +public class AixConfigurationEnvironmentSupplier implements + IConfigurationEnvironmentVariableSupplier { + static final String VARNAME = "PATH"; + static final String BINPATH = "/usr/vac/bin"; + static final String DELIMITER_AIX = ":"; + static final String PROPERTY_DELIMITER = "path.separator"; + static final String PROPERTY_OSNAME = "os.name"; + /* (non-Javadoc) + * @see org.eclipse.cdt.managedbuilder.envvar.IConfigurationEnvironmentVariableSupplier#getVariable(java.lang.String, org.eclipse.cdt.managedbuilder.core.IConfiguration, org.eclipse.cdt.managedbuilder.envvar.IEnvironmentVariableProvider) + */ + public IBuildEnvironmentVariable getVariable(String variableName, + IConfiguration configuration, IEnvironmentVariableProvider provider) { + + if (variableName == null) return null; + if (!VARNAME.equalsIgnoreCase(variableName)) return null; + return new BuildEnvVar(VARNAME, BINPATH, + IBuildEnvironmentVariable.ENVVAR_PREPEND, + System.getProperty(PROPERTY_DELIMITER, DELIMITER_AIX)); + } + + /* (non-Javadoc) + * @see org.eclipse.cdt.managedbuilder.envvar.IConfigurationEnvironmentVariableSupplier#getVariables(org.eclipse.cdt.managedbuilder.core.IConfiguration, org.eclipse.cdt.managedbuilder.envvar.IEnvironmentVariableProvider) + */ + public IBuildEnvironmentVariable[] getVariables( + IConfiguration configuration, IEnvironmentVariableProvider provider) { + + IBuildEnvironmentVariable[] tmp = new IBuildEnvironmentVariable[1]; + tmp[0] = getVariable(VARNAME, configuration, provider); + if (tmp[0] != null) return tmp; + return null; + } +} diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/aix/AixPathResolver.java b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/aix/AixPathResolver.java new file mode 100644 index 00000000000..ffacfb94fd5 --- /dev/null +++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/aix/AixPathResolver.java @@ -0,0 +1,27 @@ +/******************************************************************************* + * Copyright (c) 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ + +package org.eclipse.cdt.managedbuilder.xlc.aix; + +import org.eclipse.cdt.managedbuilder.core.IBuildPathResolver; +import org.eclipse.cdt.managedbuilder.core.IConfiguration; + +public class AixPathResolver implements IBuildPathResolver { + static final String DELIMITER_AIX = ":"; + + /* (non-Javadoc) + * @see org.eclipse.cdt.managedbuilder.core.IBuildPathResolver#resolveBuildPaths(int, java.lang.String, java.lang.String, org.eclipse.cdt.managedbuilder.core.IConfiguration) + */ + public String[] resolveBuildPaths(int pathType, String variableName, + String variableValue, IConfiguration configuration) { + return variableValue.split(DELIMITER_AIX); + } +} diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/HiddenOptionApplicabilityCalculator.java b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/HiddenOptionApplicabilityCalculator.java new file mode 100644 index 00000000000..a0c159d6c48 --- /dev/null +++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/HiddenOptionApplicabilityCalculator.java @@ -0,0 +1,57 @@ +/******************************************************************************* + * Copyright (c) 2007 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ + +package org.eclipse.cdt.managedbuilder.xlc.ui; + +import org.eclipse.cdt.managedbuilder.core.IBuildObject; +import org.eclipse.cdt.managedbuilder.core.IHoldsOptions; +import org.eclipse.cdt.managedbuilder.core.IOption; +import org.eclipse.cdt.managedbuilder.core.IOptionApplicability; + +/** + This class decides whether the make shared object + option is visible,enabled or used in command line or not */ + +public class HiddenOptionApplicabilityCalculator implements + IOptionApplicability { + + /** + * This function decides if the option for which this class + * is option applicability calculator is enabled or not. + */ + public boolean isOptionEnabled(IBuildObject configuration, + IHoldsOptions holder, IOption option) { + return false; + } + + /** + * This function decides if the option for which this class + * is option applicability calculator is used in command line + * or not. + */ + + public boolean isOptionUsedInCommandLine(IBuildObject configuration, + IHoldsOptions holder, IOption option) { + return true; + } + + /** + * This function decides if the option for which this class + * is option applicability calculator is visible or not. + */ + + public boolean isOptionVisible(IBuildObject configuration, + IHoldsOptions holder, IOption option) { + + return false; + } + +} diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/XlcUIPlugin.java b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/XlcUIPlugin.java new file mode 100644 index 00000000000..40ae8e94834 --- /dev/null +++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/XlcUIPlugin.java @@ -0,0 +1,84 @@ +/******************************************************************************* + * Copyright (c) 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ + +package org.eclipse.cdt.managedbuilder.xlc.ui; + +import org.eclipse.core.runtime.Plugin; +import org.osgi.framework.BundleContext; +import java.util.*; + +/** + * The main plugin class to be used in the desktop. + */ +public class XlcUIPlugin extends Plugin { + //The shared instance. + private static XlcUIPlugin plugin; + //Resource bundle. + private ResourceBundle resourceBundle; + + /** + * The constructor. + */ + public XlcUIPlugin() { + super(); + plugin = this; + } + + /** + * This method is called upon plug-in activation + */ + public void start(BundleContext context) throws Exception { + super.start(context); + } + + /** + * This method is called when the plug-in is stopped + */ + public void stop(BundleContext context) throws Exception { + super.stop(context); + plugin = null; + resourceBundle = null; + } + + /** + * Returns the shared instance. + */ + public static XlcUIPlugin getDefault() { + return plugin; + } + + /** + * Returns the string from the plugin's resource bundle, + * or 'key' if not found. + */ + public static String getResourceString(String key) { + ResourceBundle bundle = XlcUIPlugin.getDefault().getResourceBundle(); + try { + return (bundle != null) ? bundle.getString(key) : key; + } catch (MissingResourceException e) { + return key; + } + } + + /** + * Returns the plugin's resource bundle, + */ + public ResourceBundle getResourceBundle() { + try { + if (resourceBundle == null) + resourceBundle = ResourceBundle.getBundle("org.eclipse.cdt.managedbuilder.gnu.ui.XlcUIPluginResources"); //$NON-NLS-1$ + } catch (MissingResourceException x) { + resourceBundle = null; + } + return resourceBundle; + } + +} |