From b74a1e44cb4478356e4261ce0050de744e42d122 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 17 Jul 2020 14:16:40 +0200 Subject: Minor documentation updates --- NEWS | 9 +++++++-- doc/manual.cli | 15 +++++++++++++-- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index 3213bed..f5e2016 100644 --- a/NEWS +++ b/NEWS @@ -188,6 +188,7 @@ Version 0.13.0 See the "Install Module" chapter in the manual for details. * The $process.run*() functions now recognize a number of portable builtins. + Refer to the Testscript manual for the list and details. * New $defined() and $visibility() functions. @@ -203,6 +204,8 @@ Version 0.13.0 * New scripting builtins: date, env. + Refer to the Testscript manual for details. + * New variable block applicability semantics in dependency chains. Previously the block used to apply to the set of prerequisites before the @@ -232,8 +235,10 @@ Version 0.13.0 together. * The translated {c,cxx}.std options are now folded into the compiler mode - options ({c,cxx}.mode). This makes them accessible from ad hoc recipes. - The original mode/path are available in {c,cxx}.config.mode/path. + options ({c,cxx}.mode). + + This makes them accessible from ad hoc recipes. The original mode/path are + available in {c,cxx}.config.mode/path. * Generation of a common pkg-config .pc file in addition to static/shared- specific. diff --git a/doc/manual.cli b/doc/manual.cli index dd449ce..2d97327 100644 --- a/doc/manual.cli +++ b/doc/manual.cli @@ -2203,6 +2203,7 @@ $ tree /tmp/install/ │ └── version.hxx ├── lib/ │ ├── pkgconfig/ +│ │ ├── libhello.pc │ │ ├── libhello.shared.pc │ │ └── libhello.static.pc │ ├── libhello.a @@ -6282,10 +6283,20 @@ If you need to link with other projects that use \c{clang-cl}, then the recommended approach is to discover any additional \c{cc1} options passed by \c{clang-cl} by comparing the \c{-v} output of a test compilation with \c{clang-cl} and \c{clang}/\c{clang++} and then passing them explicitly -to \c{clang}/\c{clang++} prefixed with \c{-Xclang}. For example: +to \c{clang}/\c{clang++}, potentially prefixed with \c{-Xclang}. For example: \ -b \"config.cxx=clang++ -Xclang -fms-volatile ...\" +b \"config.cxx=clang++ -fms-volatile ...\" +\ + +Relevant additional options that are passed by \c{clang-cl} at the time of +this writing: + +\ +-fno-strict-aliasing +-fstack-protector-strong +-fms-volatile +-ffunction-sections \ | -- cgit v1.1