Specifications
CAVR-4
Part 1. Using the compiler
The DLIB runtime environment
57
● Small flash memory option (--64k_flash)
● 64-bit doubles option (--64bit_doubles)
● Library configuration—Normal or Full.
For the AVR IAR C/C++ Compiler and the Normal library configuration, there are
prebuilt runtime libraries for all combinations of these options. For the Full library
configuration there is one prebuilt runtime library delivered. The following table shows
the names of the libraries and how they reflect the used settings:
The names of the libraries are constructed in the following way:
<library><target>-<cpu><memory_model>-<enhanced_core>-<small_f
lash>-<64-bit_doubles>-<library_configuration>.r90
where
● <library> is dl for the IAR DLIB Library, or cl for the IAR CLIB Library,
respectively (for a list of CLIB library files, see Runtime environment, page 85)
● <target> is avr
● <cpu> is a value from 0 to 6, matching the -v option
● <memory_model> is either t, s, or l for Tiny, Small, or Large memory model,
respectively
● <enhanced_core> is ec when enhanced core is used. When the enhanced core is
not used, this value is not specified
● <small_flash> is sf when the small flash memory is available. When small flash
memory is not available, this value is not specified
● <64-bit_doubles> is 64 when 64-bit doubles are used. When 32-bit doubles are
used, this value is not specified
● <library_configuraton> is one of n or f for normal and full, respectively.
Note: The library configuration file has the same base name as the library.
IAR Embedded Workbench will include the correct library object file and library
configuration file based on the options you select. See the AVR® IAR Embedded
Workbench™ IDE User Guide for additional information.
Library file
Generic
processor
option
Generic
processor
option
Memory
model
Enhanced
core
Small flash
64-bit
doubles
Library
configuration
dlavr-3s-ec-
sf-n.r90
-v3 -v3 Small X X -- Normal
dlavr-3s-ec-
64-f.r90
-v3 -v3 Small X -- X Full
Table 15: Prebuilt libraries