Skip to content

Error Encountered with x86_64-unknown-linux-gnu Cross Compile Tool: Cannot Find -lc++ #7

@0xtyls

Description

@0xtyls

Hello,

I am utilizing your x86_64-unknown-linux-gnu cross-compile tool for Rust projects, and I've encountered an error during the process. Here's the error message I received:

note: /opt/homebrew/Cellar/x86_64-unknown-linux-gnu/0.1.0/bin/../lib/gcc/x86_64-unknown-linux-gnu/11.2.0/../../../../x86_64-unknown-linux-gnu/bin/ld.bfd: cannot find -lc++
          collect2: error: ld returned 1 exit status

Upon further investigation, I searched the directory /opt/homebrew/Cellar/x86_64-unknown-linux-gnu, but could not find any files matching libc++*.

I am interested in understanding the creation process of these cross-compile tools, which might provide insight into solving the issue. Would you be able to share some details on how these tools are created? Additionally, any advice on resolving the aforementioned error would be highly appreciated.

Thank you for your time and assistance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions