Skip to content

Bundled GCC on windows doesn't pick up system link paths #17442

@alexcrichton

Description

@alexcrichton

A system mingw-w64 gcc installation has many many libs in /mingw64/$triple/lib which gcc will make available for linking by default. The bundled GCC that rust provides, however, does not link against these libraries by default (they are not in any -L flag). This means that gcc invocations which would otherwise work on the system begin to fail because the bundled GCC is preferred.

For a concrete example, see rust-lang/cargo#620.

cc @vadimcn

Metadata

Metadata

Assignees

No one assigned

    Labels

    O-windowsOperating system: Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions