flexdacc --link
Function
Executes firmware linking. The process is as follows:
- Passes the compilation command to the linker (aarch64-none-elf-gcc), that is, executes aarch64-none-elf-gcc [options];.
- Packages the generated products into firmware.
Syntax
flexdacc --link [options]
Parameter Description
Parameter |
Description |
|---|---|
options |
Compilation parameter, which is directly passed to the linker. |
If you want to modify the CMake configuration, refer to CMake Script Configuration Description. This command depends on the CMake configuration. Before running this command, complete the CMake configuration and execute CMake.
Example
Link the compilation products as a symbol table (sim.elf) and package them into firmware.
flexdacc --link test1.a test2.a -o sim.elf
Parent topic: flexdacc Commands