net.sf.antcontrib.cpptasks.os390
Class OS390CCompiler
java.lang.Object
net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
net.sf.antcontrib.cpptasks.compiler.AbstractCompiler
net.sf.antcontrib.cpptasks.compiler.CommandLineCompiler
net.sf.antcontrib.cpptasks.compiler.CommandLineCCompiler
net.sf.antcontrib.cpptasks.os390.OS390CCompiler
- All Implemented Interfaces:
- Cloneable, Compiler, Processor
public class OS390CCompiler
- extends CommandLineCCompiler
Adapter for the IBM (R) OS/390 (tm) C++ Compiler
- Author:
- Hiram Chirino (cojonudo14@hotmail.com)
Method Summary |
protected void |
addImpliedArgs(Vector args,
boolean debug,
boolean multithreaded,
boolean exceptions,
LinkType linkType,
Boolean rtti,
OptimizationEnum optimization)
|
protected void |
addWarningSwitch(Vector args,
int level)
|
protected void |
buildDefineArguments(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(). |
Processor |
changeEnvironment(boolean newEnvironment,
org.apache.tools.ant.types.Environment env)
|
protected void |
getDefineSwitch(StringBuffer buffer,
String define,
String value)
|
protected File[] |
getEnvironmentIncludePath()
|
protected String |
getIncludeDirSwitch(String includeDir)
|
static AbstractCompiler |
getInstance()
|
Linker |
getLinker(LinkType type)
Gets the linker that is associated with this processors |
int |
getMaximumCommandLength()
|
protected int |
getMaximumInputFilesPerCommand()
|
protected void |
getUndefineSwitch(StringBuffer buffer,
String define)
|
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.CommandLineCompiler |
addIncludes, compile, createConfiguration, getArgumentCountPerInputFile, getCommand, getIdentifier, getIncludeDirSwitch, getInputFileArgument, getLibtool, getLibtoolCompiler, getTotalArgumentLengthForInputFile, runCommand, setCommand |
Methods inherited from interface net.sf.antcontrib.cpptasks.compiler.Processor |
bid |
getInstance
public static AbstractCompiler getInstance()
addImpliedArgs
protected void addImpliedArgs(Vector args,
boolean debug,
boolean multithreaded,
boolean exceptions,
LinkType linkType,
Boolean rtti,
OptimizationEnum optimization)
- Specified by:
addImpliedArgs
in class CommandLineCompiler
addWarningSwitch
protected void addWarningSwitch(Vector args,
int level)
- Specified by:
addWarningSwitch
in class CommandLineCompiler
buildDefineArguments
protected void buildDefineArguments(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().
- Overrides:
buildDefineArguments
in class CommandLineCompiler
changeEnvironment
public Processor changeEnvironment(boolean newEnvironment,
org.apache.tools.ant.types.Environment env)
- Specified by:
changeEnvironment
in interface Processor
- Overrides:
changeEnvironment
in class AbstractProcessor
getDefineSwitch
protected void getDefineSwitch(StringBuffer buffer,
String define,
String value)
- Specified by:
getDefineSwitch
in class CommandLineCompiler
getEnvironmentIncludePath
protected File[] getEnvironmentIncludePath()
- Specified by:
getEnvironmentIncludePath
in class CommandLineCompiler
getIncludeDirSwitch
protected String getIncludeDirSwitch(String includeDir)
- Specified by:
getIncludeDirSwitch
in class CommandLineCompiler
getLinker
public Linker getLinker(LinkType type)
- Description copied from interface:
Processor
- Gets the linker that is associated with this processors
getMaximumCommandLength
public int getMaximumCommandLength()
- Specified by:
getMaximumCommandLength
in class CommandLineCompiler
getMaximumInputFilesPerCommand
protected int getMaximumInputFilesPerCommand()
- Overrides:
getMaximumInputFilesPerCommand
in class CommandLineCompiler
getUndefineSwitch
protected void getUndefineSwitch(StringBuffer buffer,
String define)
- Specified by:
getUndefineSwitch
in class CommandLineCompiler
Copyright © 2001-2011. All Rights Reserved.