Skip to content

[BUG] error: cannot find -lc++ #951

@ericLemanissier

Description

@ericLemanissier

Description

When trying to link a program using toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang++, it fails with error ...toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lc++
I think it should be solved by removing the -stdlib=libc++ argument in all the files *-clang++ in folder toolchains\llvm\prebuilt\linux-x86_64\bin\

Environment Details

  • NDK Version: 19.2.5345600
  • Build system: Standalone toolchain
  • Host OS: Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions