[TOC] 01 概述 1. gcc是GNU Compiler Collection(就是GNU编译器套件),也可以简单认为是编译器,它可以编译很多种编程语言(括C、C++、Objective C、Fortran、Java等等)。 2. 当你的程序只有一个源文件时,直接就可以用gcc命令编译它。 3 ...
分类:
其他好文 时间:
2020-02-22 21:36:35
阅读次数:
72
之前看错资料踩了不少坑,先将可行经验总结如下: 1. 下载 Visual Studio Code 并安装。地址:https://code.visualstudio.com 2. 安装 C/C++插件与 Code Runner 插件。 3. 下载 GCC 编译器,地址:https://sourcefo ...
分类:
编程语言 时间:
2020-02-22 15:53:23
阅读次数:
83
1 yum update kernel -y yum install kernel-headers kernel-devel gcc make -y init 6 2 菜单栏--设备--安装增强工具--桌面显示光驱-- 桌面新建 文件夹1--双击光驱 --将光驱内容复制到 1 -- 切换 1 -- ...
分类:
其他好文 时间:
2020-02-22 14:14:07
阅读次数:
116
1、下载交叉编译工具链 GNU官方下载地址:https://launchpad.net/gcc-arm-embedded/+download 命名规则: 交叉编译工具链的命名规则为:arch [-vendor] [-os] [-(gnu)eabi] arch - 体系架构,如ARM,MIPS ver ...
分类:
其他好文 时间:
2020-02-22 00:28:26
阅读次数:
81
nginx-1.16.1 自动化安装及Prometheus监控配置 环境介绍 操作系统: CentOS7.6Nginx-1.16.1 软件准备: # Nginx下载: wget http://nginx.org/download/nginx-1.16.1.tar.gz # pcre 下载: http ...
分类:
其他好文 时间:
2020-02-21 22:06:28
阅读次数:
92
系统是:Ubuntu 14.04 LTS 64位 安装的是:bochs 2.6.8 Bochs 需要在 X11 环境下运行,因此你的 Linux 系统必须已经安装了X Window 系统才能使用Bochs。 因为 Bochs 是用C++写的,所以这里要安装GNU gcc/g++编译器。 安装命令如下 ...
分类:
系统相关 时间:
2020-02-21 14:46:56
阅读次数:
82
/* * linux/arch/arm/lib/lib1funcs.S: Optimized ARM division routines * * Author: Nicolas Pitre <nico@cam.org> * - contributed to gcc-3.4 on Sep 30, 20 ...
分类:
其他好文 时间:
2020-02-21 12:45:59
阅读次数:
297
objdump objdump命令是用查看目标文件或者可执行的目标文件的构成的gcc工具。 ```shell $ objdump help 显示目标文件信息 a, archive headers Display archive header information 显示档案头 f, file hea ...
分类:
其他好文 时间:
2020-02-21 12:42:24
阅读次数:
51
$sudo apt-get install python3-matplotlib gyf@gyf-VirtualBox:~$ python3Python 3.6.9 (default, Nov 7 2019, 10:44:02) [GCC 8.3.0] on linuxType "help", "c ...
分类:
其他好文 时间:
2020-02-20 20:29:31
阅读次数:
66
```cpp #pragma GCC optimize(2) #pragma GCC optimize(3) #include using namespace std; const int N = 30000; const double INF = 1e8; int n , l , a[N + 5]... ...
分类:
其他好文 时间:
2020-02-20 20:03:46
阅读次数:
61