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 --- doc/manual.cli | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'doc') 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