Hi All,<br>Thanks for all your suggestions. The problem was, library cache was not updated. Now I have successfully built my tool chains for rtems-4.11. <br>But now I am facing problem in building the RTEMS itself.  <br>I have built my tool set for rtems-4.11 but I am not able to find RTEMS-4.11 source code in git repository and CVS. All I see is that most current version is rtems.4.10.2. So I downloaded the code for rtems-4.10.2 and tried to build it.<br>
<br> I am configuring the rtems with following command:<br><br><b> ../rtems-4.10.2/configure --target=sparc-rtems4.11 --enable-rtemsbsp=sis --disable-posix --disable-networking --disable-cxx --prefix=/opt/rtems-4.11<br></b><br>
And the error I got when I do make all is following:<br><br><b>configure: error: no acceptable cc found in $PATH<br>make[2]: *** [sis] Error 1<br></b><br>Actually after getting the error I saw  "<b>{build-dir/sparc-rtems4.11/c/sis/config.log}</b>" and problem was that in PATH: it is not including "/opt/rtems-4.11/bin"  but in <b>"{build-dir/sparc-rtems4.11/c/config.log}</b>" the PATH variable is proper. <br>
<br>And my PATH variable is set to : <b>/opt/rtems-4.11/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games</b><br><br>I have looked the previous mails regarding this problem and most common cause of this error was PATH variable but I think my PATH variable is proper. I am not able to figure out why it is happening?<br>
<br>Thanks<br>Manish<br><br><br><br><br><div class="gmail_quote">On Thu, Feb 7, 2013 at 10:19 AM, Steven Grunza <span dir="ltr"><<a href="mailto:sgrunza@ctdi.com" target="_blank">sgrunza@ctdi.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
> -----Original Message-----<br>
> From: <a href="mailto:rtems-users-bounces@rtems.org">rtems-users-bounces@rtems.org</a> [mailto:<a href="mailto:rtems-users-">rtems-users-</a><br>
> <a href="mailto:bounces@rtems.org">bounces@rtems.org</a>] On Behalf Of Gedare Bloom<br>
> Sent: Thursday, February 07, 2013 9:52 AM<br>
> To: manish jain<br>
> Cc: RTEMS<br>
> Subject: Re: Error while building gcc for toolset for RTEMS<br>
><br>
> Aside from the (relatively useful) advice that you may want to try<br>
> the prepackaged solutions, if you continue with building your own<br>
> tools you may want to check that mpc/gmp/mpfr are being found. If<br>
> you built/installed them separately from GCC then you need to add<br>
> the install point to your library path, e.g. export<br>
> LD_LIBRARY_PATH=${PREFIX}/lib:${LD_LIBRARY_PATH} for PREFIX equal<br>
> to where you installed those libraries. If you are using a single-<br>
</div>> tree build where you link the source for those libraries, then gcc<br>
<div class="im">> should find them itself. The error you sent is indicative of a<br>
> missing library.<br>
><br>
<br>
</div>If you continue on the path of building your own tools, the command<br>
"ldconfig -p" is your friend.  This command will show you all the<br>
libraries known and cached.  If you installed a library from source and<br>
don't see it listed, you may need to run "ldconfig" as root to update<br>
the cache.  I've mostly seen this out-of-date ld.so cache problem on<br>
Fedora/CentOS systems but it can't hurt to check.<br>
</blockquote></div><br>