[flang-commits] [flang] [flang][runtime] Add ACCESS library procedure (PR #88517)

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Fri Apr 12 08:54:10 PDT 2024


================
@@ -32,4 +33,7 @@ add_flang_unittest(FlangRuntimeTests
 target_link_libraries(FlangRuntimeTests
   PRIVATE
   FortranRuntime
+  stdc++fs
----------------
kiranchandramohan wrote:

The name of this library might be different in old versions of libc++.
In https://en.cppreference.com/w/cpp/filesystem
```
Using this library may require additional compiler/linker options. GNU implementation prior to 9.1 requires linking with -lstdc++fs and LLVM implementation prior to LLVM 9.0 requires linking with -lc++fs.
```

https://github.com/llvm/llvm-project/pull/88517


More information about the flang-commits mailing list