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
- 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(java.util.Vector args,
boolean debug,
boolean multithreaded,
boolean exceptions,
LinkType linkType)
|
protected void |
addWarningSwitch(java.util.Vector args,
int level)
|
protected void |
buildDefineArguments(CompilerDef[] defs,
java.util.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(). |
protected void |
getDefineSwitch(java.lang.StringBuffer buffer,
java.lang.String define,
java.lang.String value)
|
protected java.io.File[] |
getEnvironmentIncludePath()
|
protected java.lang.String |
getIncludeDirSwitch(java.lang.String includeDir)
|
static AbstractCompiler |
getInstance()
|
Linker |
getLinker(LinkType type)
Gets the linker that is associated with this processors |
protected int |
getMaximumInputFilesPerCommand()
|
protected void |
getUndefineSwitch(java.lang.StringBuffer buffer,
java.lang.String define)
|
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.CommandLineCompiler |
addIncludes,
compile,
createConfiguration,
getArgumentCountPerInputFile,
getCommand,
getIdentifier,
getInputFileArgument,
getLibtool,
getLibtoolCompiler,
getTotalArgumentLengthForInputFile,
runCommand |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
getInstance
public static AbstractCompiler getInstance()
getEnvironmentIncludePath
protected java.io.File[] getEnvironmentIncludePath()
- Overrides:
- getEnvironmentIncludePath in class CommandLineCompiler
getIncludeDirSwitch
protected java.lang.String getIncludeDirSwitch(java.lang.String includeDir)
- Overrides:
- getIncludeDirSwitch in class CommandLineCompiler
addWarningSwitch
protected void addWarningSwitch(java.util.Vector args,
int level)
- Overrides:
- addWarningSwitch in class CommandLineCompiler
addImpliedArgs
protected void addImpliedArgs(java.util.Vector args,
boolean debug,
boolean multithreaded,
boolean exceptions,
LinkType linkType)
- Overrides:
- addImpliedArgs in class CommandLineCompiler
getLinker
public Linker getLinker(LinkType type)
- Description copied from interface: Processor
- Gets the linker that is associated with this processors
getMaximumInputFilesPerCommand
protected int getMaximumInputFilesPerCommand()
- Overrides:
- getMaximumInputFilesPerCommand in class CommandLineCompiler
buildDefineArguments
protected void buildDefineArguments(CompilerDef[] defs,
java.util.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
getDefineSwitch
protected void getDefineSwitch(java.lang.StringBuffer buffer,
java.lang.String define,
java.lang.String value)
- Overrides:
- getDefineSwitch in class CommandLineCompiler
getUndefineSwitch
protected void getUndefineSwitch(java.lang.StringBuffer buffer,
java.lang.String define)
- Overrides:
- getUndefineSwitch in class CommandLineCompiler
Copyright © 2001-2002 Ant-Contrib project. All Rights Reserved.