aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/gcc.cxx
AgeCommit message (Collapse)AuthorFilesLines
2024-01-08Handle absent paths in cc::gcc_header_search_dirs() (e.g., due to -nostdinc)Boris Kolpackov1-8/+17
2023-09-08Manually extract library search paths from LIBRARY_PATH for ClangBoris Kolpackov1-60/+80
Unlike GCC, Clang does not incorporate the LIBRARY_PATH environment variable value into the -print-search-dirs output.
2022-12-08Normalize extracted header/library search directories (GH issue #235)Boris Kolpackov1-4/+8
2022-11-23Rework diag_buffer interface to facilitate correct destruction orderBoris Kolpackov1-3/+3
2022-11-08Make process exit diagnostics consistentBoris Kolpackov1-1/+1
In particular, we now always print error message on non-0 exit except in cases where such exit is ignored.
2022-11-08More work on child process diagnostics bufferingBoris Kolpackov1-85/+69
2022-06-23Handle empty entries in GCC -print-search-dirsBoris Kolpackov1-7/+12
2022-03-17Handle absolute POSIX paths in MinGW GCC search pathsBoris Kolpackov1-2/+34
2022-03-17Diagnose invalid paths in -print-search-dirs outputBoris Kolpackov1-8/+28
For example, some mis-configured MinGW GCC builds include /mingw/lib.
2020-07-13Fold translated *.std options into compiler mode optionsBoris Kolpackov1-2/+0
This way they are accessible in ad hoc recipes.
2020-04-07Pass LC_ALL=C when extracting locale-dependent information on POSIXBoris Kolpackov1-6/+35
2020-02-12Add convenience run_start() overloadBoris Kolpackov1-1/+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-14/+64
2020-01-27Improve process run_*() APIBoris Kolpackov1-4/+7
2019-11-29Reorder {cc,c/cxx}.{poptions,loptions}Boris Kolpackov1-1/+1
Now it is c/cxx first followed by cc which is the reverse order of coptions since the header/library search paths are examined in the order specified (in contrast to the "last value wins" semantics that we assume for coptions).
2019-10-18Add ability to specify "compiler mode" options as part of config.{c,cxx}Boris Kolpackov1-8/+4
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-07Make -print-search-dirs output handling deal better with translationsBoris Kolpackov1-8/+16
2019-10-05Implement more accurate MSVC information extraction from Clang on WindowsBoris Kolpackov1-1/+4
2019-08-28Move cc build system module to separate libraryKaren Arutyunov1-0/+263