Compiler.probePlatform

Compiles platform probe file with the specified compiler and parses its output.

interface Compiler
protected final
BuildPlatform
probePlatform
(,
string[] args
,,
string[] versionRes
)

Parameters

compiler_binary string

binary to invoke compiler with

args string[]

arguments for the probe compilation

arch_override string

special handler for x86_mscoff

versionRes string[]

array of regular expressions to scan the output and find the compiler version. For each, the version must be in capture index 1. The output is scanned in multi-line mode (i.e. ^ will match any line start)

Meta