This is the readme file for the complete product package. Here you will find links to individual readme files for each component. It is highly recommended that you read these files, as they contain information about new features, program corrections, known problems, and various information issued after the release of the user guides.
To build the C run-time libraries for 8051, you need
the IAR Embedded Workbench for 8051, in particular the
ICC8051, A8051, and the XLIB executable. Follow these
steps to build new run-time libraries. Run the CL8051.BAT
from the src\lib
directory. See this file
about some environment variables that must be set before
you run it.
You can configure CL8051.BAT
by using
command line options, or by rewriting it to fit your
particular needs.
Usage:
CL8051.BAT <tiny> <mem model> <reent 1> <reent 2> <reent 3>
OPTION CHOICES DESCRIPTION
<tiny> tiny,no_tiny Use no_tiny to build full library
<mem model> t,s,c,m,l,b Memory model (tiny,small,compact,large,banked)
<reent 1> reentrant To build reentrant library (if not exclude this)
<reent 2> r When building reentrant library (if not exclude this)
<reent 3> -E When building reentrant library (if not exclude this)
Examle:
The command:
<$TOOLKIT_DIR$>\src\lib\CL8051 no_tiny t
will build the libraries for the tiny memory model.
The command:
<$TOOLKIT_DIR$>\src\lib\CL8051 no_tiny l reentrant r -E
will build the libraries for the large memory model using the reentrant stack.
CLIB V3.34K IAR C Run-Time Library Source 8051 Intrinsic Library V5.52A IAR Intrinsic Library Source
IAR C Library IARCLIB-1 September 2000 IAR C Library Functions, Reference GuideCopyright 2001 IAR Systems. All rights reserved.