![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
服务器
被逼疯的小肖
这个作者很懒,什么都没留下…
展开
-
Linux学习记录----makefile②
Linux学习记录----makefile②多文件简易makefile学习记录:主要测试下makefile是否写对了,一共以下几个文件://main.c#include <stdio.h>#include "test.h"#include "cube.h"int main(void){ cube(); circle(); return 0;}//cube.c#include <stdio.h>#include "cube.h"void c原创 2020-12-01 11:20:24 · 108 阅读 · 0 评论 -
Linux学习记录----makefile①
Linux学习记录----makefile①#知识点1. #是注释符号# 知识点2. 显示规则,格式如下#目标文件:依赖文件#(TAB)命令#test.i:test.c# gcc -E test.c -o test.i# #test.S:test.i# gcc -S test.i -o test.S##test.o:test.S# gcc -c test.S -o test.o# #test:test.o# gcc test.o -o test## 以上示例为linux原创 2020-11-30 23:07:58 · 99 阅读 · 0 评论 -
Linux学习记录----编译过程
Linux学习记录----编译过程从c源码程序到可执行文件,实际上需要经历几个步骤:1. 预处理第一个预处理步骤,会引入头文件,展开宏以及一些指令的处理使用以下命令可生成预处理后的文件```javascriptgcc -E test.c > a.txt //-E是预处理指令,>a.txt是将生成的结果打印到a.txt中```示例,以下为test.c源文件:#include <stdio.h>#define msg "helloworld!"#defin原创 2020-11-30 22:10:05 · 184 阅读 · 0 评论 -
阿里云服务器ubuntu18-04下使用wordpress搭建网站/ 编辑
**阿里云服务器ubuntu18-04下使用wordpress搭建网站/ 编辑**一. 服务器领取高校学生可以免费领取,此处不做详述:二. 配置wordpress首先进入控制台:然后远程登陆服务器(xshell、putty等)。输入以下两条命令:(1)apt-get update(2)apt-get install lamp-server^ //注意后面是符号不是手抖,执行过程中需要按提示输入yes添加80端口(http)和3306端口(mysql)原创 2020-11-27 17:32:40 · 196 阅读 · 0 评论