Does freescales arm-none-linux-gnueabi-gcc supports the use of @FILE argument?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Does freescales arm-none-linux-gnueabi-gcc supports the use of @FILE argument?

跳至解决方案
2,154 次查看
Albi
Contributor I

gcc supports @ flag.

@FILE                       Read options from FILE

But with the freescales crosscompiler I get

arm-none-linux-gnueabi-gcc: @hello.o_command: No such file or directory

arm-none-linux-gnueabi-gcc: no input files

Does freescales arm-none-linux-gnueabi-gcc supports the use of @FILE argument?

标签 (2)
0 项奖励
回复
1 解答
1,581 次查看
KursadOney
NXP Employee
NXP Employee

If we look at the gcc 4.1.2 manual, you will see that there is no mention of @file: Option Summary - Using the GNU Compiler Collection (GCC)

You can use gcc 4.2.1 and beyond for @file support.

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,581 次查看
KursadOney
NXP Employee
NXP Employee

Which version of gcc are you using? I think @file was introduced around 4.2.

0 项奖励
回复
1,581 次查看
Albi
Contributor I

Sorry, Can not believe I forgot to write the version.

/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc --version

arm
-none-linux-gnueabi-gcc (GCC) 4.1.2
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty
; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

0 项奖励
回复
1,582 次查看
KursadOney
NXP Employee
NXP Employee

If we look at the gcc 4.1.2 manual, you will see that there is no mention of @file: Option Summary - Using the GNU Compiler Collection (GCC)

You can use gcc 4.2.1 and beyond for @file support.

0 项奖励
回复