logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

【Linux】【Debug】GCC 优化级别

GCC 优化级别 - 云+社区 - 腾讯云1. gcc中指定优化级别的参数有:-O0、-O1、-O2、-O3、-Og、-Os、-Ofast。2. 在编译时,如果没有指定上面的任何优化参数,则默认为 -O0,即没有优化。3. 参数 -O1、-O2、-O3 中,随着数字变大,代码的优化程度也越高,不过这在某种意义上来说,也是以牺牲程序的可调试性为代价的。4. 参数 -Og 是在 -O1 的基础上,去掉

#linux
【Linux】【Error】git error:error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull

这是由于git默认缓存大小不足导致的,使用下面的命令增加缓存大小$ git config --global http.postBuffer 10000000000//10000000000bit/1024/1024/8=1192Mbyte通过以下命令可查看缓存。book@100ask:~/WDS/Source$ git config --listuser.email=user@100ask.com

#linux#git
【Linux】error while loading shared libraries: libQt5Widgets.so.5: cannot open shared object file:

error while loading shared libraries: libQt5Widgets.so.5: cannot open shared object file: No such file or directory在使用韦东山imx6ull pro开发板遇到的如如上问题。首先在Ubuntu中使用qt编写了最简单的helloworld程序,下载到开发板上运行,报如上错误。大概意思就是

#linux#qt
【Linux】【Vscode】安装和使用

Running Visual Studio Code on LinuxGet Visual Studio Code up and running on Linux.https://code.visualstudio.com/docs/setup/linux

#vscode#visual studio
【网络编程】linux常用查看进程号、端口号命令

netstat -tunlp|grep 端口号。cmdline就是程序运行时输入的命令行命令。netstat -nap|grep 进程号。fd目录下是进程打开或使用的文件的符号连接。environ记录了进程运行时的环境变量。exe符号连接就是执行程序的绝对路径。ps -ef|grep 关键字。ps aux|grep 关键字。cwd符号链接的是进程运行目录。ll /proc/进程号。lsof -i

#linux
解决Ubuntu报错 E: Unable to locate package yum

开门见山,Ubuntu的包管理工具是apt-get,所以不必再安装yum。如果要安装其他包需要使用apt-get命令。# 这里以locate命令为例sudo apt-get install mlocate12下文就是问题解决的全过程了。1. 报错 E: Unable to locate package yum​ 我在学习 Linux 命令的时候需要使用 locate 命令,但是 Ubuntu 的系

#linux
【LINUX】Linux配置文件路径大全

Linux配置文件路径大全 - 云+社区 - 腾讯云3:bootgrubgrub.conf(grup配置文件) 或bootgrubmenu.list.4:etcpasswd:系统用户数据库文件.14HOMEXclients(控制启动x客户端).20:etcat.allow( 允许时间任务,针对用户).27:varlibdhcpdhcpd.leases(查看哪个用户,使用你的dhcp服务器).43:

#linux
VScode+Makefile调试实现

主要参考文章:linux+vsCode+makefile -- 调试C_不一样的清流的博客-CSDN博客_vscode调试makefilelinux+vsCode+makefile – 调试Chttps://blog.csdn.net/z896435317/article/details/77948086配置说明:1.因为使用了make命令,因此tasks.json文件不必修改。2.launch.

#vscode#ubuntu#linux
【Linux 】各目录及每个目录的详细介绍

例如/usr/man/man1中包含联机手册第一节的源码(没有格式化的原始文件),/usr/man/cat1包含第一节已格式化的内容。/mnt下面可以分为许多子目录,例如/mnt/dosa可能是使用msdos文件系统的软驱,而/mnt/exta可能是使用ext2文件系统的软驱,/mnt/cdrom光驱等等。每个不同的spool在/var/spool下有自己的子目录,例如,用户的邮箱就存放在/var

#linux
【Linux】error while loading shared libraries: libQt5Widgets.so.5: cannot open shared object file:

error while loading shared libraries: libQt5Widgets.so.5: cannot open shared object file: No such file or directory在使用韦东山imx6ull pro开发板遇到的如如上问题。首先在Ubuntu中使用qt编写了最简单的helloworld程序,下载到开发板上运行,报如上错误。大概意思就是

#linux#qt
暂无文章信息