I am trying to cross-compile some code for an i.mx51 platform. I am using gcc provided by freescale for the platform, see below:
user@:/media/sf_repos/1109$ /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.
The makefile which I am using utilizes the @ flag which is available in GCC.
@FILE Read options from FILE
But using the provided gcc and using @FILE to point to my commands file, I get:
arm-none-linux-gnueabi-gcc: @hello.o_command: No such file or directory
arm-none-linux-gnueabi-gcc: no input files
(I know that this question may be too specific) Does anyone have any idea about this issue? In the -v --help I can see that @FILE is mentioned so it should be supported!