I have often problem with clean project execution throwing error "cannot find -lrt":
c:/freescale/cw mcu v10.6.4/cross_tools/arm-none-eabi-gcc-4_7_3/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/bin/ld.exe: cannot find -lrt
How to fix it?
I reinstalled to 10.7 version and linker error gone.