![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
嵌入式Linux
嵌入式Linux
_Peko_
这个作者很懒,什么都没留下…
展开
-
用户态和内核态的理解和区别
1、linux进程有4GB地址空间,如图所示:3G-4G大部分是共享的,是内核态的地址空间。这里存放整个内核的代码和所有的内核模块以及内核所维护的数据。2、特权级的概念:对于任何操作系统来说,创建一个进程是核心功能。创建进程要做很多工作,会消耗很多物理资源。比如分配物理内存,父子进程拷贝信息,拷贝设置页目录页表等等,这些工作得由特定的进程去做,所以就有了特权级别的概念。最关键的工作...转载 2020-04-10 16:14:02 · 722 阅读 · 0 评论 -
【基于Socket 通信的小聊天程序】 C语言
运行环境:Linux Ubuntu 14.0客户端.c#include <sys/types.h>#include <sys/socket.h>#include <stdio.h>#include <netinet/in.h>#include <arpa/inet.h>#include <unistd....原创 2020-03-30 11:45:23 · 485 阅读 · 0 评论 -
【建立交叉编译开发环境】 常见错误
显示错误:No such file or directory①则要下载32的包(Ubuntu 12.0 及以下版本适用)sudo apt-get install ia32-libs(网上下载的很多arm-linux-gcc都是32位的,64位的ubuntu需要按此包)②从ubuntu 13.10以上版本已经废弃了ia32-libs如果不想安装所有的 ia32-libs,或者上...转载 2020-03-30 11:59:41 · 318 阅读 · 0 评论 -
【make menuconfig出错,ncurses安装失败】 内核配置
解决Ubuntu使用make menuconfig配置Linux 内核时,出现缺少’ncurses-devel’库支持。*** Unable to find the ncurses libraries or the*** required header files.*** 'make menuconfig' requires the ncurses libraries.****** ...转载 2020-03-30 11:59:06 · 974 阅读 · 0 评论 -
【arm-linux-gcc 编译问题】
/opt/EmbedSky/4.4.6/lib/gcc/arm-embedsky-linux-gnueabi/4.4.6/../../../../arm-embedsky-linux-gnueabi/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such fi...转载 2020-03-30 11:51:01 · 268 阅读 · 0 评论