Changes between Version 15 and Version 16 of Projects/GCCGoRTEMS


Ignore:
Timestamp:
Jul 17, 2010, 9:43:35 PM (9 years ago)
Author:
Vinutheraj
Comment:

/* Download and setup newlib */

Legend:

Unmodified
Added
Removed
Modified
  • Projects/GCCGoRTEMS

    v15 v16  
    109109= Download and setup newlib =
    110110
     111The C library used with RTEMS is [http://sourceware.org/newlib/ newlib]. It is built alongwith gcc.
     112Download newlib-1.18.0.tar.gz from ftp://sources.redhat.com/pub/newlib/index.html.
    111113
    112 Now, after patching, we are ready to build gccgo for RTEMS. We can choose to build multilib or not. The commands shown here are to build non-multilib. You can choose to build go with c++ too.
     114After this, we have to apply the RTEMS patch to newlib. The patch can be taken from the RTEMS source code at ''rtems/contrib/crossrpms/patches'' or from http://www.rtems.org/ftp/pub/rtems/SOURCES/.
     115
     116Now put a link to the patched newlib inside the gccgo source directory.
     117{{{
     118tar xzf newlib-1.18.0.tar.gz
     119patch -p0 < newlib-1.18.0-rtems4.11-20100617.diff
     120cd gccgo
     121ln -s ../newlib-1.18.0/newlib ./newlib
     122cd ..
     123}}}
     124= Build gccgo =
     125
     126Now, after all this, we are ready to build gccgo for RTEMS. We can choose to build multilib or not. The commands shown here are to build non-multilib. You can choose to build go with c++ too.
    113127
    114128{{{