Ok, these are the steps I took   ( I had sudo access throughout) -:<br>1) Downloaded and extracted the tarballs for binutils, gcc-core, gcc-g++, gdb, newlib, mpc and mpfr.<br>2) Then for binutils created a seperate  folder and ran ../binutils-2.20/<b>configure --target=sparc-rtems4.10</b> <b>--prefix=/opt/rtems4.10</b>.<br>



    Then ran <b>make all </b>followed by make info and finally make install.<br>3) Then ran a similar configure script for gcc -:<br>     ->cd ../gcc-4.63/<br>     -> ln -s ../newlib-1.20.0/newlib<br>     -> cd ..; -> mkdir gcc-temp; <br>



     -> cd gcc-temp<br>     -> ../gcc-4.63/<b>configure 
--target=sparc-rtems4.10 --with-gnu-as --with-newlib --verbose 
--enable-threads --enable-languages="c,c++" --prefix=/opt/rtems4.10</b><br>     -> make all; -> make info; -> make install<br>

<br>4)  At this point I ran the bootstrap inside my rtems-4.10.2 folder. I also set my path with <b>export PATH=/opt/rtems4.10/bin:$PATH</b><br>5) Then I cd into a directory called b-rtems and ran the configure code in it with ../rtems-4.10.2/<b>configure
 --target=sparc-rtems4.10 --enable-rtemsbsp=sis --enable-        
tests=samples --disable-posix --disable-itran --prefix=/opt/rtems4.10</b><br>
I then ran make all and got the following as the last couple of lines of output -:<br>make[5]: *** [kern/libnetworking_a-uipc_<div id=":16k">socket.o] Error 1<br>make[5]: Leaving directory `/home/dhruva/RTEMS/Tools/b-rtems/sparc-rtems4.10/c/sis/cpukit/libnetworking'<br>


make[4]: *** [all-recursive] Error 1<br>make[4]: Leaving directory `/home/dhruva/RTEMS/Tools/b-rtems/sparc-rtems4.10/c/sis/cpukit'<br>make[3]: *** [all] Error 2<br>make[3]: Leaving directory `/home/dhruva/RTEMS/Tools/b-rtems/sparc-rtems4.10/c/sis/cpukit'<br>


make[2]: *** [all-recursive] Error 1<br>make[2]: Leaving directory `/home/dhruva/RTEMS/Tools/b-rtems/sparc-rtems4.10/c/sis'<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/home/dhruva/RTEMS/Tools/b-rtems/sparc-rtems4.10/c'<br>


make: *** [all-recursive] Error 1<br><br><br>6) Not sure what the error is here but I ran make install anyway.<br><br>I then checked the sparc-rtems4.10/c/sis/testsuites/samples/ticker directory and only found a Makefile there.<br>


Not sure where I am going wrong.<br><br>I then went back to the original
 rtems4.10 directory and found my way to the testsuites ticker folder. I
 tried sparc-rtems4.10-gcc init.c to see what would happen and got an 
error about missing header file 'rtems.h'. Not sure where its supposed 
to be but hoping that might help.<br>
<br>Hoping to find a fix that doesn't begin with -' Start over, except...'  :).<div class="yj6qo ajU"><div id=":17d" class="ajR" tabindex="0"><img class="ajT" src="images/cleardot.gif"></div></div></div><br clear="all">

<br>-- <br>Dhruva T.B.,<br>3rd Year Electronics And Instrumentation Engineer,<br>Birla Institute Of Technology And Science (BITS)-Pilani, Goa,<br>India<br><br>Contact : +91-9503817694<br><br>