Skip to content

mcpp run 不显示程序运行结果 - 2.39/lib64/libc.so.6: version `GLIBC_2.42' not found (required by /lib64/libtinfo.so.6) #127

Description

@jinglei-cpc

版本:mcpp 0.0.52

代码:
import std;

int main() {
std::println("Hello from hello!");
std::println("Built with import std + std::println on modular C++23.");
}

mcpp run 执行结果:
Resolving toolchain
Resolved gcc@16.1.0 → @mcpp/registry/data/xpkgs/xim-x-gcc/16.1.0/bin/g++
Inferred sources [src/**/*.{cppm,cpp,cc,c}]
Inferred target my_project (bin from src/main.cpp)
Compiling my_project v0.1.0 (.)
Finished release [optimized] in 0.00s
Running target/x86_64-linux-gnu/08848711309abfc2/bin/my_project

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions