Skip to content

How to cross-compile libcxx and libgcc? #128415

@darealshinji

Description

@darealshinji

I was trying to create a cross-build environment for the target x86_64-w64-mingw32 that was independent from GCC. Replacements for libstdc++ and libgcc were only missing, but when I try to build them here from scratch, cmake is testing if an executable can be compiled and linked and therefor fails, since the libraries I'm trying to build are missing.
Is there no way to skip this test in cmake? -DBUILD_SHARED_LIBS=OFF doesn't help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    libc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions