Why does clang still need libgcc.a to compile my code?

前端 未结 3 1984
情书的邮戳
情书的邮戳 2021-02-07 12:21
int main(int argc, char **argv)
{
    return 0;
}

I cross compile (host= linux x86_64, target= linux aarch64)

/path/to/clang --target=aar

3条回答
  •  渐次进展
    2021-02-07 12:43

    Just in case I use Qt and for running apps on Android with Qt versions greater than 5.11, had this problem with the latest Android Sdk and NDK-r20c. and after some struggles, finally it worked with NDK-r19c.

提交回复
热议问题