public class GccProcessor
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
static void |
convertCygwinFilenames(java.lang.String[] names) |
Converts absolute Cygwin file or directory names to the corresponding
Win32 name.
|
static java.lang.String[] |
getLibraryPatterns(java.lang.String[] libnames) |
|
static java.lang.String |
getMachine() |
|
static java.lang.String[] |
getOutputFileSwitch(java.lang.String letter,
java.lang.String outputFile) |
|
static java.lang.String[] |
getSpecs() |
Returns the contents of the gcc specs file.
|
static java.lang.String |
getVersion() |
|
static boolean |
isCaseSensitive() |
|
static boolean |
isCygwin() |
Determines if task is running with cygwin
|
static java.lang.String[][] |
parseSpecs(java.lang.String[] specsContent,
java.lang.String specSectionStart,
java.lang.String[] options) |
Parses the results of the specs file for a specific processor and
options
|
public static void convertCygwinFilenames(java.lang.String[] names)
names
- array of names, some elements may be null, will be changed in
place.public static java.lang.String[] getLibraryPatterns(java.lang.String[] libnames)
public static java.lang.String getMachine()
public static java.lang.String[] getOutputFileSwitch(java.lang.String letter, java.lang.String outputFile)
public static java.lang.String[] getSpecs()
public static java.lang.String getVersion()
public static boolean isCaseSensitive()
public static boolean isCygwin()
public static java.lang.String[][] parseSpecs(java.lang.String[] specsContent, java.lang.String specSectionStart, java.lang.String[] options)
specsContent
- Contents of specs file as returned from getSpecsspecSectionStart
- start of spec section, for example "*cpp:"options
- command line switches such as "-istart"Copyright ? 2001-2019 Ant-Contrib project. All Rights Reserved.