Cross-Compilation to C64x+ Architecture
David Akodes
d.akodes@gmail.com
Mon Jun 4 00:57:00 GMT 2012
Hello,
My objective is to cross-compile on my own system a program for the
C64x+ architecture. As per the document
http://gcc.gnu.org/onlinedocs/gcc-4.7.0/gcc/C6X-Options.html#C6X-Options
I am using the command
gcc test.c -march=c64x+
However, this fails and I receive the error message:
gcc: error: unrecognized argument in option â-march=c64x+â
gcc: note: valid arguments to â-march=â are: armv2 armv2a armv3 armv3m
armv4 arm
v4t armv5 armv5e armv5t armv5te armv6
armv6-m armv6j armv6k armv6s-m armv6t2 arm
v6z armv6zk
armv7 armv7-a armv7-m armv7-r armv7e-m ep9312 iwmmxt iwmmxt2 native
My test.c file is simply
#include <stdio.h>
int main()
{
printf("Hello World\n");
}
Does anyone know why this may be happening and what I must do to
correct this issue? Any and all help is very much appreciated.
Thanks very much.
More information about the Gcc-help
mailing list