public class GccProcessor extends Object
Modifier and Type | Method and Description |
---|---|
static void |
convertCygwinFilenames(String[] names)
Converts absolute Cygwin file or directory names to the corresponding
Win32 name.
|
static String |
getMachine() |
static String[] |
getOutputFileSwitch(String letter,
String outputFile) |
static String[] |
getSpecs()
Returns the contents of the gcc specs file.
|
static String |
getVersion() |
static boolean |
isCaseSensitive() |
static boolean |
isCygwin()
Determines if task is running with cygwin
|
static String[][] |
parseSpecs(String[] specsContent,
String specSectionStart,
String[] options)
Parses the results of the specs file for a specific processor and
options
|
public static void convertCygwinFilenames(String[] names)
names
- array of names, some elements may be null, will be changed in
place.public static String getMachine()
public static String[] getSpecs()
public static String getVersion()
public static boolean isCaseSensitive()
public static boolean isCygwin()
public static String[][] parseSpecs(String[] specsContent, String specSectionStart, 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 © 2005-2016 NAR Maven Plugin developers. All Rights Reserved.