博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
make&&gcc/g++ 生成 map file
阅读量:6934 次
发布时间:2019-06-27

本文共 444 字,大约阅读时间需要 1 分钟。

map file 对于嵌入式开发是非常有用的,尤其是当你开发的module引起了 kernel panic 的时候。

仅写作Mark用

make:

$vim makefile

(add  "LDFLAGS=-Map=your_file.map" to your *makefile* or just add it to your make command every time, it ups to you.)

$find / -name "your_file.map"

(Usually, It's in your current directory, but if you use a "make -C " in your makefile, it will be there.)

gcc/g++

$gcc -o your_file.c -Wl,-Map=your_file.map

(It definitely should be in your current dirctory).

转载地址:http://qkwnl.baihongyu.com/

你可能感兴趣的文章
一步一步学习SignalR进行实时通信_6_案例
查看>>
JAVA基础学习day21--IO流三-File、Properties、PrintWriter与合并、分割流
查看>>
OAF中下载附件之后页面失效,报过时的数据异常,浏览器后退异常
查看>>
解决 Error:No suitable device found: no device found for connection "System eth0"
查看>>
HttpClient(联网)
查看>>
js url参数的获取和设置以及删除
查看>>
struts2 标签问题----escape="false" 这个属性
查看>>
android79 Fragment生命周期
查看>>
【转】JDBC为什么要使用PreparedStatement而不是Statement
查看>>
设置TextView下划线并响应点击事件(SpannableString)
查看>>
查看ADOP会话
查看>>
IIS 之 添加绑定域名 或 设置输入IP直接访问网站
查看>>
机器学习常见的几个误区--逻辑回归的变量之间如果线性相关
查看>>
批处理文件的@echo off是什么意思?
查看>>
Git 分布式版本管理
查看>>
[转]Display PDF within web browser using MVC3
查看>>
Angular - - ngHref、ngSrc、ngCopy/ngCut/ngPaste
查看>>
内存对齐的规则以及作用
查看>>
【c语言】模拟库函数strstr
查看>>
iOS开发-观察者模式
查看>>