[PATCH] D126291: [flang][Driver] Update link job on windows
Diana Picus via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 24 04:38:45 PDT 2022
rovka created this revision.
rovka added reviewers: awarzynski, kiranchandramohan.
rovka added a project: Flang.
Herald added a subscriber: jdoerfert.
Herald added a reviewer: sscalpone.
Herald added a project: All.
rovka requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay.
Herald added a project: clang.
When linking a Fortran program, we need to add the runtime libraries to
the command line. This is exactly what we do for Linux/Darwin, but the
interface is slightly different (e.g. -libpath instead of -L).
We also remove oldnames and libcmt, since they're not
needed at the moment and they bring in more dependencies.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D126291
Files:
clang/lib/Driver/ToolChains/CommonArgs.cpp
clang/lib/Driver/ToolChains/CommonArgs.h
clang/lib/Driver/ToolChains/Darwin.cpp
clang/lib/Driver/ToolChains/Gnu.cpp
clang/lib/Driver/ToolChains/MSVC.cpp
flang/test/Driver/flang-linker-flags-windows.f90
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126291.431623.patch
Type: text/x-patch
Size: 5300 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220524/0bed88c6/attachment.bin>
More information about the cfe-commits
mailing list