没有合适的资源?快使用搜索试试~ 我知道了~
CodeWarrier中制作lib文件
需积分: 12 95 浏览量
2018-02-24
14:21:50
上传
评论
收藏 881KB PDF 举报
温馨提示
单片机开发中往往希望不公开代码,只提供使用方法,可以制作lib文件来解决这个问题,Codewarrier中自带的工具可以方便生成lib文件,供使用者调用。
资源推荐
资源详情
资源评论














Libmaker User Guide
Revised 04/28/2003

Metrowerks, the Metrowerks logo, and CodeWarrior are registered trademarks of Metrowerks Corp. in the US and/or
other countries. All other tradenames and trademarks are the property of their respective owners.
Copyright © Metrowerks Corporation. 2003. ALL RIGHTS RESERVED.
The reproduction and use of this document and related materials are governed by a license agreement media,
it may be printed for non-commercial personal use only, in accordance with the license agreement related to the
product associated with the documentation. Consult that license agreement before use or reproduction of any
portion of this document. If you do not have a copy of the license agreement, contact your Metrowerks repre-
sentative or call 800-377-5416 (if outside the US call +1 512-997-4700). Subject to the foregoing non-commercial
personal use, no portion of this documentation may be reproduced or transmitted in any form or by any means,
electronic or mechanical, without prior written permission from Metrowerks.
Metrowerks reserves the right to make changes to any product described or referred to in this document without further
notice. Metrowerks makes no warranty, representation or guarantee regarding the merchantability or fitness of its prod-
ucts for any particular purpose, nor does Metrowerks assume any liability arising out of the application or use of any
product described herein and specifically disclaims any and all liability. Metrowerks software is not authorized for
and has not been designed, tested, manufactured, or intended for use in developing applications where the fail-
ure, malfunction, or any inaccuracy of the application carries a risk of death, serious bodily injury, or damage
to tangible property, including, but not limited to, use in factory control systems, medical devices or facilities,
nuclear facilities, aircraft or automobile navigation or communication, emergency systems, or other applica-
tions with a similar degree of potential hazard.
USE OF ALL SOFTWARE, DOCUMENTATION AND RELATED MATERIALS ARE SUBJECT TO THE
METROWERKS END USER LICENSE AGREEMENT FOR SUCH PRODUCT.
How to Contact Metrowerks
Corporate Headquarters Metrowerks Corporation
7700 West Parmer Lane
Austin, TX 78729
U.S.A.
World Wide Web
http://www.metrowerks.com
Sales Voice: 800-377-5416
Fax: 512-996-4910
Email: sales@metrowerks.com
Technical Support Voice: 800-377-5416
Email: support@metrowerks.com

3Libmaker User Guide
Table of Contents
1 Libmaker 7
About This Document . . . . . . . . . . . . . . . . . . . . . . . . . 7
Highlights . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Structure of this Document . . . . . . . . . . . . . . . . . . . . . . 7
Startup Command Line Options . . . . . . . . . . . . . . . . . . . . 7
User Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Libmaker Commands . . . . . . . . . . . . . . . . . . . . . . . . 8
Managing Libraries . . . . . . . . . . . . . . . . . . . . . . . . . 9
Graphical User Interface . . . . . . . . . . . . . . . . . . . . . . . 10
Launching a Tool . . . . . . . . . . . . . . . . . . . . . . . . . 11
Tip of the Day . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Main Window . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Window Title . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Content Area . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Tool Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Status Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Menu Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Options Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . 28
Message Settings Dialog Box . . . . . . . . . . . . . . . . . . . . 29
About Box . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Local Configuration File (usually project.ini) . . . . . . . . . . . . . . 34
The Current Directory . . . . . . . . . . . . . . . . . . . . . . . 34
Paths . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Line Continuation . . . . . . . . . . . . . . . . . . . . . . . . 36
Environment Variable Details . . . . . . . . . . . . . . . . . . . . 36
DEFAULTDIR . . . . . . . . . . . . . . . . . . . . . . . . . . 38
ENVIRONMENT . . . . . . . . . . . . . . . . . . . . . . . . 39
ERRORFILE . . . . . . . . . . . . . . . . . . . . . . . . . . 40
GENPATH . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
TEXTPATH . . . . . . . . . . . . . . . . . . . . . . . . . . . 43

Table of Contents
4
Libmaker User Guide
TMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
2 Options 45
Libmaker Options . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Option Details . . . . . . . . . . . . . . . . . . . . . . . . . . 45
-Cmd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
-Env . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
-H . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
-Lic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
-LicA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
-N . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
-NoBeep . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
-NoPath . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
-Prod . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
-V . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
-View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
-W1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
-W2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
-Wmsg8x3 . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
-WErrFile . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
-WmsgCE . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
-WmsgCF . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
-WmsgCI . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
-WmsgCU . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
-WmsgCW . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
-WmsgFb (-WmsgFbi, -WmsgFbm) . . . . . . . . . . . . . . . . . 73
-WmsgFi (-WmsgFiv, -WmsgFim) . . . . . . . . . . . . . . . . . . 75
-WmsgFob . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
-WmsgFoi . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
-WmsgFonf . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
-WmsgFonp . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
-WmsgNe . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
-WmsgNi . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86

Table of Contents
5Libmaker User Guide
-WmsgNu . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
-WmsgNw . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
-WmsgSd . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
-WmsgSe . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
-WmsgSi . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
-WmsgSw . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
-WOutFile . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
-WStdout . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
3 Messages 97
Message Types . . . . . . . . . . . . . . . . . . . . . . . . . 97
Message Details . . . . . . . . . . . . . . . . . . . . . . . . . 98
Message List . . . . . . . . . . . . . . . . . . . . . . . . . . 98
4 Environment 103
Directories. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Source Files, Linker Parameter File . . . . . . . . . . . . . . . . . 103
Header Files . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Symbol Files . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Object Files . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
Absolute Files . . . . . . . . . . . . . . . . . . . . . . . . . . 104
Map Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
Other Environment Variables . . . . . . . . . . . . . . . . . . . . . 104
Compiler . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
The Make Utility . . . . . . . . . . . . . . . . . . . . . . . . . 105
Text Display . . . . . . . . . . . . . . . . . . . . . . . . . . 105
Environment Variable ERRORFILE . . . . . . . . . . . . . . . . . 105
5 EBNF Notation 107
Introduction to EBNF . . . . . . . . . . . . . . . . . . . . . . . 107
Index 111
剩余113页未读,继续阅读
资源评论


jsh115052
- 粉丝: 2
- 资源: 2
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


安全验证
文档复制为VIP权益,开通VIP直接复制
