net.sf.antcontrib.cpptasks.os390

Class 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 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!
ProcessorchangeEnvironment(boolean newEnvironment, Environment env)
protected voidgetDefineSwitch(StringBuffer buffer, String define, String value)
protected File[]getEnvironmentIncludePath()
protected StringgetIncludeDirSwitch(String includeDir)
static AbstractCompilergetInstance()
LinkergetLinker(LinkType type)
intgetMaximumCommandLength()
protected intgetMaximumInputFilesPerCommand()
protected voidgetUndefineSwitch(StringBuffer buffer, String define)

Method Detail

addImpliedArgs

protected void addImpliedArgs(Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, Boolean rtti, OptimizationEnum optimization)

addWarningSwitch

protected void addWarningSwitch(Vector args, int level)

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().

changeEnvironment

public Processor changeEnvironment(boolean newEnvironment, Environment env)

getDefineSwitch

protected void getDefineSwitch(StringBuffer buffer, String define, String value)

getEnvironmentIncludePath

protected File[] getEnvironmentIncludePath()

getIncludeDirSwitch

protected String getIncludeDirSwitch(String includeDir)

getInstance

public static AbstractCompiler getInstance()

getLinker

public Linker getLinker(LinkType type)

getMaximumCommandLength

public int getMaximumCommandLength()

getMaximumInputFilesPerCommand

protected int getMaximumInputFilesPerCommand()

getUndefineSwitch

protected void getUndefineSwitch(StringBuffer buffer, String define)
Copyright ? 2001-2011 Ant-Contrib project. All Rights Reserved.