aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/guess.cxx
AgeCommit message (Collapse)AuthorFilesLines
2019-07-01Split build system into library and driverBoris Kolpackov1-1/+1
2019-06-03Adapt to renaming traits alias to traits_type for basic_path, basic_url, and ↵Karen Arutyunov1-2/+2
string_table class templates
2019-05-25Update comment with VC version mappingBoris Kolpackov1-1/+4
2019-03-12Recognize MSVC 16 (19.20) runtime as 14.2Boris Kolpackov1-3/+11
2019-02-12Cosmetic changeBoris Kolpackov1-5/+8
2019-01-16Update copyright yearKaren Arutyunov1-1/+1
2018-11-05Only search for external tools (compilers, linkers, etc) in PATHBoris Kolpackov1-1/+7
Specifically, omit the current executable's directory on Windows since there is no reason for them to be found there automagically and this can lead to surprising behavior (for example, our MinGW GCC being used instead of the user's even though the user's is in PATH before ours).
2018-10-27Fallback to --version for GCC/Clang-like compilers if -v didn't workBoris Kolpackov1-15/+20
2018-10-26Add config.{c,cxx}.{id,version,target} configuration variablesBoris Kolpackov1-466/+654
These variables allow overriding guessed compiler id/version/target, for example, in case of mis-guesses or when working with compilers that don't report their base (e.g., GCC, Clang) with -v/--version (common in the embedded space).
2018-10-25Redesign cc::compiler_id to make variant customizableBoris Kolpackov1-59/+84
2018-10-19Suggest override variable (config.x) when tool is not foundBoris Kolpackov1-5/+16
2018-10-19Fix bug in binutils pattern derivation logicBoris Kolpackov1-7/+15
2018-08-31Add ability to print cc compiler_id valueBoris Kolpackov1-0/+13
2018-08-21Unset CL and _CL_ environment variables when detecting MSVCBoris Kolpackov1-1/+10
2018-05-24Add note on *-gcc-{ar,ranlib,etc} situationBoris Kolpackov1-1/+2
2018-05-19Update copyright yearKaren Arutyunov1-1/+1
2018-05-18Update VC version mapping table with 15.7Boris Kolpackov1-0/+1
2018-02-27Improve derivation of binutils pattern from compiler patternBoris Kolpackov1-43/+70
2018-02-15Improve VC compiler to runtime version mappingBoris Kolpackov1-4/+1
2018-02-15Add support for VC15u6Boris Kolpackov1-1/+3
2018-01-08Implement compiler_info cachingBoris Kolpackov1-7/+34
2018-01-08Complete runtime/stdlib detectionBoris Kolpackov1-52/+282
2018-01-05Initial support for c/cxx runtime/stdlib detectionBoris Kolpackov1-19/+122
2017-12-16Improve process execution diagnostics by reusing run_*() APIBoris Kolpackov1-9/+9
2017-12-12Add support for VC 15u5 (compiler version 19.12)Boris Kolpackov1-1/+3
2017-12-04Recognize empty cc.patternBoris Kolpackov1-2/+2
2017-11-27Add {c,cxx}.class variablesBoris Kolpackov1-1/+17
Compiler class describes a set of compilers that follow more or less the same command line interface. Compilers that don't belong to any of the existing classes are in classes of their own (say, Sun CC would be on its own if we were to support it). Currently defined compiler classes: gcc gcc, clang, clang-apple, icc (on non-Windows) msvc msvc, clang-cl, icc (Windows)
2017-10-03Adapt to modularization of libbutlKaren Arutyunov1-1/+1
2017-06-09Add support for VC15u3 which bumped the compiler version to 19.11Boris Kolpackov1-9/+11
2017-05-30Rework C/C++ standard translation in preparation for experimental/modulesBoris Kolpackov1-20/+25
Also fix bug in clang-apple versioning.
2017-05-25Add compiler_id enumBoris Kolpackov1-0/+12
2017-05-01Add hxx extension for headersKaren Arutyunov1-4/+5
2017-01-06Store platform targets as typed target_tripletBoris Kolpackov1-2/+2
2017-01-05Update copyright yearBoris Kolpackov1-1/+1
2016-11-29Cosmetic changeBoris Kolpackov1-8/+10
2016-11-26Add support for VC15Karen Arutyunov1-13/+19
2016-11-22Use diagnostics facility from libbutlBoris Kolpackov1-12/+8
2016-09-04Add digits to right pattern separator to handle clang++37 (FreeBSD).Boris Kolpackov1-1/+4
2016-09-02Don't warn if we pre-guessed gcc but it ended up being clang-appleBoris Kolpackov1-3/+15
This handles the gcc/g++ Mac OS "aliases".
2016-08-22Cache process_path, use fallback search directory for binutilsBoris Kolpackov1-11/+38
2016-08-12Implement c/cxx toolchain cross-hintingBoris Kolpackov1-24/+113
2016-08-12Implement support for C compilationBoris Kolpackov1-0/+1052
We now have two new modules: cc (c-common) and c.