| |||||||||||||
Technical Support On-Line Manuals RealView Libraries and Floating Point Support Guide | Building an application with microlib
This section covers creating an application that links with microlib. Functions in microlib are responsible for:
To build a program using microlib, you must use the command-line option Example 3.1 shows this option being used by the compiler. microlib is selected for the Example 3.1. Compiler option armcc ‑‑library_type=microlib ‑c main.c armcc ‑c extra.c armlink ‑o image.axf main.o extra.o Example 3.2 shows this option being used by the assembler. microlib is selected for the Example 3.2. Assembler option armcc ‑c main.c armcc ‑c extra.c armasm ‑‑library_type=microlib more.s armlink ‑o image.axf main.o extra.o more.o Example 3.3 shows this option being used by the linker. microlib is selected for both the Example 3.3. Linker option armcc ‑c main.c armcc ‑c extra.c armlink ‑‑library_type=microlib ‑o image.axf main.o extra.o For more information see:
| ||||||||||||
| |||||||||||||