- To: gcc-help@xxxxxxxxxxx
- Subject: Cross-Compilation to C64x+ Architecture
- From: David Akodes <d.akodes@xxxxxxxxx>
- Date: Sun, 3 Jun 2012 20:56:20 -0400
- Comment: DKIM? See http://www.dkim.org
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
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.
[Linux C Programming]
[Linux Kernel]
[eCos]
[Fedora Development]
[Fedora Announce]
[Autoconf]
[The DWARVES Debugging Tools]
[Yosemite Campsites]
[Yosemite News]
[Linux GCC]