File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ a code that has a Fortran program unit with a C/C++ code that also defines a
204
204
libraries at link time (e.g., via ` -lstdc++ ` for STL)
205
205
206
206
If the code is C/C++ based and invokes Fortran routines, one can either use Clang
207
- for Flang as the linker driver. If Clang is used, it will automatically all
207
+ or Flang as the linker driver. If Clang is used, it will automatically all
208
208
required runtime libraries needed by C++ (e.g., for STL) to the linker invocation.
209
209
In this case, one has to explicitly provide the Fortran runtime libraries
210
210
` FortranRuntime ` and/or ` FortranDecimal ` . An alternative is to use Flang to link
Original file line number Diff line number Diff line change 7
7
! RUN: --implicit-check-not=GNU-LINKER-OPTIONS-NOT %s
8
8
! RUN: %flang -### --target=x86_64-windows-msvc -rpath /path/to/dir -shared \
9
9
! RUN: -static %s 2>&1 | FileCheck \
10
- ! RUN: --check-prefixes=MSVC-LINKER-OPTIONS %s
10
+ ! RUN: --check-prefixes=MSVC-LINKER-OPTIONS \
11
11
! RUN: --implicit-check-not=MSVC-LINKER-OPTIONS-NOT %s
12
12
! RUN: %flang -### --target=aarch64-linux-none -rdynamic %s 2>&1 | FileCheck --check-prefixes=RDYNAMIC-LINKER-OPTION %s
13
13
You can’t perform that action at this time.
0 commit comments