This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Help wanted on GCC port
- From: "Rupert Wood" <me at rupey dot net>
- To: <aabraham at icope dot com>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Mon, 7 Jan 2002 13:30:22 -0000
- Subject: RE: Help wanted on GCC port
Anoop wrote:
> Next I tried to set up GCC as a cross compiler for the arm-riscix
> target; however I got a number of compilation errors (while setting
> up cross compiler) like "no such 386 instruction".
It sounds like you're attempting to feed riscix instructions into the
i386 assembler.
To set up a compiler or cross-compiler you need:
1. cross-assembler and cross-linker (e.g. from GNU binutils)
2. compiled target C library and system include headers (e.g.
from existing target OS, or from glibc for Linux or from
newlib for a generic embedded target)
3. cross-targeted GCC
My take from the gcc-help mailing list archives:
http://gcc.gnu.org/ml/gcc-help/2001-11/msg00221.html
(and there's an alterate view in the parent message.) Plus there are
numerous 'CrossGCC' FAQs around, e.g.:
http://crossgcc.billgatliff.com/crossgccfaq/t1.html
http://www.objsw.com/CrossGCC
Good luck,
Rup.