This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]