Package net.sf.antcontrib.cpptasks.os390
Class OS390CCompiler
Adapter for the IBM (R) OS/390 (tm) C++ Compiler
- Author:
- Hiram Chirino (cojonudo14@hotmail.com)
-
Field Summary
Fields inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddImpliedArgs(Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, Boolean rtti, OptimizationEnum optimization) protected voidaddWarningSwitch(Vector args, int level) protected voidbuildDefineArguments(CompilerDef[] defs, Vector args) The buildDefineArguments implementation CommandLineCCompiler is not good for us because os390 defines are give by -D definex instead of /Ddefinex, 2 args not 1! since we implement this ourslefs, we do not have to implement the getDefineSwitch() and the getUndefineSwitch().changeEnvironment(boolean newEnvironment, org.apache.tools.ant.types.Environment env) protected voidgetDefineSwitch(StringBuffer buffer, String define, String value) protected File[]protected StringgetIncludeDirSwitch(String includeDir) static AbstractCompilerGets the linker that is associated with this processorsintprotected intprotected voidgetUndefineSwitch(StringBuffer buffer, String define) Methods inherited from class net.sf.antcontrib.cpptasks.compiler.CommandLineCCompiler
createParserMethods inherited from class net.sf.antcontrib.cpptasks.compiler.CommandLineCompiler
addIncludes, compile, createConfiguration, getArgumentCountPerInputFile, getCommand, getIdentifier, getInputFileArgument, getLibtool, getLibtoolCompiler, getTotalArgumentLengthForInputFile, runCommand, setCommandMethods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractCompiler
canParse, createConfiguration, getBaseOutputName, getOutputFileNames, parseIncludes, resolveIncludeMethods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
bid, clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toString
-
Method Details
-
getInstance
-
addImpliedArgs
protected void addImpliedArgs(Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, Boolean rtti, OptimizationEnum optimization) - Specified by:
addImpliedArgsin classCommandLineCompiler
-
addWarningSwitch
- Specified by:
addWarningSwitchin classCommandLineCompiler
-
buildDefineArguments
The buildDefineArguments implementation CommandLineCCompiler is not good for us because os390 defines are give by -D definex instead of /Ddefinex, 2 args not 1! since we implement this ourslefs, we do not have to implement the getDefineSwitch() and the getUndefineSwitch().- Overrides:
buildDefineArgumentsin classCommandLineCompiler
-
changeEnvironment
public Processor changeEnvironment(boolean newEnvironment, org.apache.tools.ant.types.Environment env) - Specified by:
changeEnvironmentin interfaceProcessor- Overrides:
changeEnvironmentin classAbstractProcessor
-
getDefineSwitch
- Specified by:
getDefineSwitchin classCommandLineCompiler
-
getEnvironmentIncludePath
- Specified by:
getEnvironmentIncludePathin classCommandLineCompiler
-
getIncludeDirSwitch
- Specified by:
getIncludeDirSwitchin classCommandLineCompiler
-
getLinker
Description copied from interface:ProcessorGets the linker that is associated with this processors -
getMaximumCommandLength
public int getMaximumCommandLength()- Specified by:
getMaximumCommandLengthin classCommandLineCompiler
-
getMaximumInputFilesPerCommand
protected int getMaximumInputFilesPerCommand()- Overrides:
getMaximumInputFilesPerCommandin classCommandLineCompiler
-
getUndefineSwitch
- Specified by:
getUndefineSwitchin classCommandLineCompiler
-