AnsweredAssumed Answered

build error: unrecognized option '-T'

Question asked by m. m. on Jun 13, 2018
Latest reply on Aug 23, 2019 by Tibor Bekesi


I have put my S32K project under git. Each time I switch branches in GIT, I get this build error:

/../arm-none-eabi/bin/ld.exe: unrecognized option '-T'

In order to fix it, I have to a combination of these steps. After 10-20 trials of repeating the below steps in random order, the build error is gone. And I can build my branch again.


- clean up untracked files in git

- refresh project in eclipse

- build again and again

- clean project in eclipse


What is going on here? What would be the correct order?