android系统查看 gcc glibc和交叉编译版本信息

方法二

Just execute:

ldd --version

which comes with glibc package.

root@ubuntu:/# ldd --version

ldd (Ubuntu GLIBC 2.23-0ubuntu7) 2.23

Copyright © 2016 Free Software Foundation, Inc.

This is free software; see the source for copying conditions. There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Written by Roland McGrath and Ulrich Drepper.

root@ubuntu:/#

方法三

写一个小程序,直接打印出glibc的版本号:

#include

#include

int main (void)

{

puts (gnu_get_libc_version ());

return 0;

}

android目录下
shell命令查看
cat /proc/version
Linux version 4.4.126 (jawest2@jwast-rd3) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05) ) #27 SMP PREEMPT Tu

如何查看交叉编译信息
在ubuntu服务器上用命令
export 查看交叉编译信息

猜你喜欢

转载自blog.csdn.net/baiyifei2016/article/details/129838829