Skip to content

IAR: decouple linker location from toolkit's bin dir

Felipe Torrezan requested to merge felipe-iar/cmake:iar-find-linker into master

The earlier implementation for issuing a missing product license error in CMake in !9723 (merged) failed for corner cases in which symlinks were used from a location different from the one in which the toolkit is shipped with (<target>/bin).

In this new implementation, the architecture is taken solely from the compiler NAME itself for all the supported languages and forwarded to its respective BinUtils executable names (e.g., icc<target>, iasm<target>, a<target>). This decouples the location from the subdirectory in which they should be found, while keeping the proposition in !9723 (merged) in place.

Fixes: #26610 (closed)
Backport: release

Edited by Felipe Torrezan

Merge request reports

Loading