随笔分类 -  计算机系统基础

摘要:将c语言源程序编译成为可执行程序 一步到位linux指令: gcc -o hello hello.c 分步操作: 预处理:将hello.c预处理为hello.i gcc -E -o hello.i hello.c 编译:将hello.i编译为hello.s gcc -S -o hello.s hel 阅读全文
posted @ 2025-03-17 11:16 jxt0823 阅读(94) 评论(0) 推荐(0)
摘要:虚拟机使用的是VMware Workstation+Ubuntu 1.安装GCC 在桌面上右键打开终端 然后分别输入 sudo apt-get update sudo apt-get install build-essential 注意:输入后会让你输入password,此时输入任何字符屏幕上会什么 阅读全文
posted @ 2025-02-20 13:09 jxt0823 阅读(805) 评论(0) 推荐(0)