Libraries and Floating Point Support GuidePreface The ARM C and C++ Libraries The ARM C Micro-library About microlib Differences between microlib and the default C lib Library heap usage requirements of microlib ISO C features missing from microlib Building an application with microlib Configuring the stack and heap for use with microl Entering and exiting programs linked with microlib Tailoring the microlib input/output functions Floating-point Support The C and C++ Library Functions reference Floating-point Support Functions Reference
Building an application with microlib
2.5 Building an application with microlib
To build a program using microlib, you must use the command-line option
armcc --library_type=microlib -c main.c armcc -c extra.c armlink -o image.axf main.o extra.o
armcc -c main.c armcc -c extra.c armasm --library_type=microlib more.s armlink -o image.axf main.o extra.o more.o
The request to the linker to use microlib is made as a result of assembling more.s with
armcc -c main.c armcc -c extra.c armlink --library_type=microlib -o image.axf main.o extra.o
Neither object file contains the attribute requesting that the linker link against microlib, so the linker selects microlib as a result of being explicitly asked to do so on the command line.
Related Knowledgebase Articles
of your data.