Package net.sf.antcontrib.cpptasks.sun
Class ForteCCCompiler
- java.lang.Object
-
public final class ForteCCCompiler extends GccCompatibleCCompiler
Adapter for the Sun (r) Forte (tm) C++ compiler
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String[]headerExtensionsprivate java.lang.Stringidentifierprivate java.io.File[]includePathprivate static ForteCCCompilerinstanceprivate 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 privateForteCCCompiler(java.lang.String command, java.lang.String[] sourceExtensions, java.lang.String[] headerExtensions)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.io.File[]getEnvironmentIncludePath()static ForteCCCompilergetInstance()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, 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, getIdentifier, 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 ForteCCCompiler instance
-
identifier
private java.lang.String identifier
-
includePath
private java.io.File[] includePath
-
-
Method Detail
-
getInstance
public static ForteCCCompiler 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
-
getEnvironmentIncludePath
public java.io.File[] getEnvironmentIncludePath()
- Overrides:
getEnvironmentIncludePathin 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
-
-