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?
已解决! 转到解答。
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.
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.
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.