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.

链接问答记录

主要问答记录

Answer Number 问答标题 问题版本 已解决问题的版本
34609 12.x EDK - 主要问答记录列表 N/A N/A
AR# 34431
日期 12/15/2012
状态 Active
Type 综合文章
Tools
People Also Viewed