We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

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 Created 04/30/2010
Last Updated 12/15/2012
Status Active
Type General Article
  • EDK - 12.1