MULTI2000环境生成库

yjshm 2007-06-01 11:51:08
在Green Hills MULTI2000环境下如何把多个.a文件合到一个库里面.
如在sub.dld中有:
Lib\a.a
library
Lib\b.a
library
Lib\c.a
library
Lib\d.a
library

main.dld内容有:
sub\sub.bld
subproject

我希望生成一个main.a库包括a.a,b.a,c.a,d.a所有内容,各位有什么办法?
...全文
287 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
dai_weitao 2007-06-05
  • 打赏
  • 举报
回复
没听说过, 帮你顶了
spofmy 2007-06-04
  • 打赏
  • 举报
回复
顶一下..
yjshm 2007-06-04
  • 打赏
  • 举报
回复
手册看了,,但那手册写得太简单了,只说可以,具体实现,没有说明。我现在正在寻求,供应商的技术支持。
jixingzhong 2007-06-02
  • 打赏
  • 举报
回复
不曾接触 .......

没有对应的帮助手册么?
一般都会有的吧,查查看 ····
yjshm 2007-06-02
  • 打赏
  • 举报
回复
唉..再顶..
yjshm 2007-06-01
  • 打赏
  • 举报
回复
星羽 2007-06-01
  • 打赏
  • 举报
回复
实在不懂,帮顶了
yjshm 2007-06-01
  • 打赏
  • 举报
回复
改成如下也不行。。
如在sub.dld中有:
#!build
default:
library

:outputname=..\lib\sub.a

Lib\a.a
library
Lib\b.a
library
Lib\c.a
library
Lib\d.a
library

main.dld内容有:
#!build
default:
program

//....

sub\sub.bld
library

//....

错误信息如下:
Building E:\work\main_rx
Updating library ..\lib\Middleware.a
ax: error: r requires at least one file argument
Usage:
ax -help print this message
ax [-]d[eSv] archive files delete files
ax [-]r[cCeSnmMv] archive files add or replace files
ax [-]t[esv] archive [files] list files in archive
ax [-]x[eov] archive [files] extract files
ax [-]p[ev] archive [files] print files to stdout
These letters may be used with primary option letters as shown above:
c: suppress warning for creation of archive if it doesn't exist
C: ignore existing archive
e: prefix messages with ERROR or WARNING
s used with t to regenerate table of contents
S: suppress generation of table of contents
o: keep original timestamps when extracting
n: nest input archives
m: merge input archives
M: merge input archives and mangle names
v: verbose mode
-stderr=errfile may be placed at beginning of command
to redirect stderr to the named file
//完成

yjshm 2007-06-01
  • 打赏
  • 举报
回复
没有同行吗?

24,854

社区成员

发帖
与我相关
我的任务
社区描述
C/C++ 工具平台和程序库
社区管理员
  • 工具平台和程序库社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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