Lines Matching refs:ld
6 # FindGnuLd module for locating GNU ld (linker from binutils).
11 # Path to GNU ld linker
12 # Set to 'GNULD_LINKER-NOTFOUND' if ld was not found.
15 # True if GNU ld was found.
18 # The version of GNU ld.
21 # True if linker is ld.bfd (or compatible)
46 execute_process(COMMAND ${CMAKE_C_COMPILER} --print-prog-name=ld.bfd
64 find_program(GNULD_LINKER ${CROSS_COMPILE}ld.bfd ${LD_SEARCH_PATH})
68 find_program(GNULD_LINKER ${CROSS_COMPILE}ld ${LD_SEARCH_PATH})
74 # Parse the 'ld.bfd --version' output to find the installed version.
84 # Extract GNU ld version. Different distros have their
87 # - "GNU ld (GNU Binutils for Ubuntu) 2.34"
88 # - "GNU ld (Zephyr SDK 0.15.2) 2.38"
89 # - "GNU ld (Gentoo 2.39 p5) 2.39.0"
91 "GNU ld \\(.+\\) ([0-9]+[.][0-9]+[.]?[0-9]*).*"
93 set(GNULD_VERSION_STRING ${CMAKE_MATCH_1} CACHE STRING "GNU ld version" FORCE)