Hi, Problem solved by using CMake's support for multiple command lines in the link invocation: SET (CMAKE_C_LINK_EXECUTABLE "\"${CMAKE_COMMAND}\" -E echo LINK <TARGET> NAMES <OBJECTS> <LINK_LIBRARIES> END > ${CMAKE_BINARY_DIR}/link.rsp" "${HC12_PIPER} <CMAKE_LINKER> <LINK_FLAGS> -B ${CMAKE_BINARY_DIR}/link.rsp" ) - TrevK