如何生成这样的mod,在线等

awai827 2008-04-30 01:46:30
工程,有一个第三方提供的.lib库,也有对应的.a文件,用的是arm编译器,namke执行的编译,但是在生成.elf的时候出现error:未定义的函数(都是库里面的),如何在makefile里面连接库可以编译成功呢,急?
...全文
1032 4 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
zxzyzw 2008-07-21
  • 打赏
  • 举报
回复
/f "$(ProjectDir)$(TargetName)".mak all
大概就这样~~~
好像2.0的版本要不能用nmake,要用gcc-arm下的make
3.1.5的没问题~~

还有环境变量是否设置好~没设置好不会搜索到lib的~~
Path
加入C:\gnude;C:\gnude\bin
awai827 2008-04-30
  • 打赏
  • 举报
回复
不太明白啊,有例子吗,或者讲解一下啊
sharetop 2008-04-30
  • 打赏
  • 举报
回复
Usage: armlink option-list input-file-list

where

option-list is a list of case-insensitive options.
input-file-list is a list of input object and library files.
sharetop 2008-04-30
  • 打赏
  • 举报
回复
ARM Linker, ADS1.2 [Build 848]

Usage: armlink option-list input-file-list

where

option-list is a list of case-insensitive options.
input-file-list is a list of input object and library files.

Main options (abbreviations shown capitalised):

General options:

-Help Print this summary.
-Output file Specify the name of the output file.

Options for specifying memory map information:

-partial Generate a partially linked object.
-scatter file Create the memory map as described in file.
-ro-base n Set exec addr of region containing RO sections.
-rw-base n Set exec addr of region containing RW/ZI sections.

Software supplied by: Team-EFA

2,851

社区成员

发帖
与我相关
我的任务
社区描述
本论坛以AI、WoS 、XR、IoT、Auto、生成式AI等核心板块组成,为开发者提供便捷及高效的学习和交流平台。 高通开发者专区主页:https://qualcomm.csdn.net/
人工智能物联网机器学习 技术论坛(原bbs) 北京·东城区
社区管理员
  • csdnsqst0050
  • chipseeker
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧