Skip to content

clang-cl: tries to use link.exe on Linux #65899

Open
@darealshinji

Description

@darealshinji

When I use clang-cl it tries to link the exe with link.exe by default, which fails.
Instead I need to tell it to use lld with -fuse-ld=lld. Shouldn't it use lld by default when cross-compiling on Linux or similar systems?

Metadata

Metadata

Assignees

No one assigned

    Labels

    clang-cl`clang-cl` driver. Don't use for other compiler parts

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions