aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/guess.hxx
AgeCommit message (Collapse)AuthorFilesLines
2024-08-30Add absolute compiler path to compiler checksumBoris Kolpackov1-0/+3
In particular, this will allow us to use depdb change tracking to also detect changes to compilation database entries.
2022-11-08More work on child process diagnostics bufferingBoris Kolpackov1-1/+2
2021-05-13Rename sys_inc_dirs to sys_hdr_dirs for consistencyBoris Kolpackov1-2/+2
2021-04-22Incorporate project environment checksum into cc::compiler_info cache keyBoris Kolpackov1-0/+4
2021-04-07Register environment variables for hermetic build configurationsBoris Kolpackov1-0/+6
2021-01-30Rework include translation supportBoris Kolpackov1-0/+10
See the config.cxx.translate_include variable documentation in cxx/init.cxx for details.
2020-11-05Initial Emscripten supportBoris Kolpackov1-9/+12
- Target: wasm32-emscripten (wasm32-unknown-emscripten). - Compiler id: clang-emscripten (type clang, variant emscripten, class gcc). - Ability to build executables (.js plus .wasm) and static libraries (.a). Set executable bit on the .js file (so it can be executed with a suitable binfmt interpreter). - Default config.bin.lib for wasm32-emscripten is static instead of both. - Full C++ exception support is enable unless disabled explicitly by the user with -s DISABLE_EXCEPTION_CATCHING=1|2. - The bin module registers the wasm{} target type for wasm32-emscripten.
2020-06-18Complete NetBSD compatibilityBoris Kolpackov1-0/+1
2020-02-07Drop copyright notice from source codeKaren Arutyunov1-1/+0
2020-02-03Add header/library search paths from compiler mode to sys_*_dirsBoris Kolpackov1-5/+5
2019-11-05Add support for supplying MSVC IFCPATH equivalentBoris Kolpackov1-1/+3
2019-10-18Add ability to specify "compiler mode" options as part of config.{c,cxx}Boris Kolpackov1-10/+14
Such options are (normally) not overridden by buildfiles and are passed last (after cc.coptions and {c,cxx}.coptions) in the resulting command lines. They are also cross-hinted between config.c and config.cxx. For example: $ b config.cxx="g++ -m64"
2019-10-11Add support for clang-clBoris Kolpackov1-3/+14
The compiler type is `msvc`, variant `clang`.
2019-10-08Redo bin pattern as PATH-like search paths rather than fallback directoryBoris Kolpackov1-3/+3
Also, unlike the fallback directory, the search paths are searched first rather than last.
2019-10-07Pass MSVC system library search paths to linker if LIB envvar is unsetBoris Kolpackov1-0/+5
2019-08-28Move cc build system module to separate libraryKaren Arutyunov1-0/+246