Cross-Compilation to C64x+ Architecture

Georg-Johann Lay gjl@gcc.gnu.org
Mon Jun 4 04:19:00 GMT 2012


David Akodes schrieb:
> 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: [...]

The naming for a cross compiler to compile for that hardware would be

c6x-gcc

"gcc" is a native compiler.  In your case it appears you are working on
an ARM host, thus "gcc" will compile on ARM for ARM.



More information about the Gcc-help mailing list