Package net.sf.antcontrib.cpptasks.ibm
Class VisualAgeCCompiler
- java.lang.Object
-
public final class VisualAgeCCompiler extends GccCompatibleCCompiler
Adapter for the IBM(r) Visual Age(tm) C++ compiler for AIX(tm)
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String[]headerExtensionsprivate java.lang.Stringidentifierprivate java.io.File[]includePathprivate static VisualAgeCCompilerinstanceprivate static java.lang.String[]sourceExtensions-
Fields inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
-
-
Constructor Summary
Constructors Modifier Constructor Description privateVisualAgeCCompiler(java.lang.String command, java.lang.String[] sourceExtensions, java.lang.String[] headerExtensions, boolean newEnvironment, org.apache.tools.ant.types.Environment env)Private constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddImpliedArgs(java.util.Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, java.lang.Boolean rtti, OptimizationEnum optimization)voidaddWarningSwitch(java.util.Vector args, int level)java.lang.StringgetIdentifier()Gets identifier for the compiler.static VisualAgeCCompilergetInstance()Gets singleton instance of this classLinkergetLinker(LinkType linkType)Gets the linker that is associated with this processorsintgetMaximumCommandLength()-
Methods inherited from class net.sf.antcontrib.cpptasks.gcc.GccCompatibleCCompiler
addIncludePath, getDefineSwitch, getEnvironmentIncludePath, getIncludeDirSwitch, getUndefineSwitch
-
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.CommandLineCCompiler
createParser
-
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.CommandLineCompiler
addIncludes, buildDefineArguments, compile, createConfiguration, getArgumentCountPerInputFile, getCommand, getInputFileArgument, getLibtool, getLibtoolCompiler, getMaximumInputFilesPerCommand, getTotalArgumentLengthForInputFile, runCommand, setCommand
-
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractCompiler
canParse, createConfiguration, getBaseOutputName, getOutputFileNames, parseIncludes, resolveInclude
-
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
bid, changeEnvironment, clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toString
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sf.antcontrib.cpptasks.compiler.Processor
bid, changeEnvironment
-
-
-
-
Field Detail
-
headerExtensions
private static final java.lang.String[] headerExtensions
-
sourceExtensions
private static final java.lang.String[] sourceExtensions
-
instance
private static final VisualAgeCCompiler instance
-
identifier
private java.lang.String identifier
-
includePath
private java.io.File[] includePath
-
-
Constructor Detail
-
VisualAgeCCompiler
private VisualAgeCCompiler(java.lang.String command, java.lang.String[] sourceExtensions, java.lang.String[] headerExtensions, boolean newEnvironment, org.apache.tools.ant.types.Environment env)Private constructor. Use getInstance() to get singleton instance of this class.
-
-
Method Detail
-
getInstance
public static VisualAgeCCompiler getInstance()
Gets singleton instance of this class
-
addImpliedArgs
public void addImpliedArgs(java.util.Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, java.lang.Boolean rtti, OptimizationEnum optimization)- Overrides:
addImpliedArgsin classGccCompatibleCCompiler
-
addWarningSwitch
public void addWarningSwitch(java.util.Vector args, int level)- Overrides:
addWarningSwitchin classGccCompatibleCCompiler
-
getLinker
public Linker getLinker(LinkType linkType)
Description copied from interface:ProcessorGets the linker that is associated with this processors
-
getMaximumCommandLength
public int getMaximumCommandLength()
- Specified by:
getMaximumCommandLengthin classCommandLineCompiler
-
getIdentifier
public java.lang.String getIdentifier()
Gets identifier for the compiler. Initial attempt at extracting version information would lock up. Using a stock response.- Specified by:
getIdentifierin interfaceProcessor- Overrides:
getIdentifierin classCommandLineCompiler
-
-