AR# 34431


12.1 EDK - cc1: error: unrecognized command line option "-T/cygdrive/i/proj/Test/src/Test.ld"


When running my custom make file, I get an error message similar to the following:

cc1: error: unrecognized command line option "-T/cygdrive/i/proj/Test/src/Test.ld"
make: *** [TestApp_Peripheral_microblaze_0/executable.elf] Error 1

What is causing this error message?


There has been a command line argument dependency found but the root cause of the dependency is unknown. If you reorder your GCC command arguments such that -Wl, -T -Wl, <script> <the rest of the command line>, GCC will complete.

Linked Answer Records

Master Answer Records

Answer Number Answer Title Version Found Version Resolved
34609 12.x EDK - Master Answer Record List N/A N/A
AR# 34431
Date 12/15/2012
Status Active
Type General Article
People Also Viewed