I configure the development system as follow:<div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">../rtems-4.8.1/configure </span><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">--target=sparc-rtems </span><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">--disable-posix </span><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">--disable-networking </span><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">--disable-cxx </span><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">--enable-rtemsbsp=leon3</span><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "> </span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">--prefix=/opt/rtems/rtems-4.8</span></div><div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><br>
</span></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">while the output of 'make' is the following one:</span></font></div><div>
<font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">===</span></font></div><div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; ">Making all in make</span></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><div>make[1]: Entering directory `/opt/rtems-build/make'</div><div>make[1]: Nothing to be done for `all'.</div>
<div>make[1]: Leaving directory `/opt/rtems-build/make'</div><div>Making all in tools/build</div><div>make[1]: Entering directory `/opt/rtems-build/tools/build'</div><div>make  all-am</div><div>make[2]: Entering directory `/opt/rtems-build/tools/build'</div>
<div>gcc -DHAVE_CONFIG_H -I. -I/opt/rtems-4.8/tools/build     -g -O2 -MT cklength.o -MD -MP -MF .deps/cklength.Tpo -c -o cklength.o /opt/rtems-4.8/tools/build/cklength.c</div><div>mv -f .deps/cklength.Tpo .deps/cklength.Po</div>
<div>gcc  -g -O2   -o cklength cklength.o  </div><div>gcc -DHAVE_CONFIG_H -I. -I/opt/rtems-4.8/tools/build     -g -O2 -MT eolstrip.o -MD -MP -MF .deps/eolstrip.Tpo -c -o eolstrip.o /opt/rtems-4.8/tools/build/eolstrip.c</div>
<div>mv -f .deps/eolstrip.Tpo .deps/eolstrip.Po</div><div>gcc  -g -O2   -o eolstrip eolstrip.o  </div><div>gcc -DHAVE_CONFIG_H -I. -I/opt/rtems-4.8/tools/build     -g -O2 -MT packhex.o -MD -MP -MF .deps/packhex.Tpo -c -o packhex.o /opt/rtems-4.8/tools/build/packhex.c</div>
<div>mv -f .deps/packhex.Tpo .deps/packhex.Po</div><div>gcc  -g -O2   -o packhex packhex.o  </div><div>gcc -DHAVE_CONFIG_H -I. -I/opt/rtems-4.8/tools/build     -g -O2 -MT unhex.o -MD -MP -MF .deps/unhex.Tpo -c -o unhex.o /opt/rtems-4.8/tools/build/unhex.c</div>
<div>mv -f .deps/unhex.Tpo .deps/unhex.Po</div><div>gcc  -g -O2   -o unhex unhex.o  </div><div>gcc -DHAVE_CONFIG_H -I. -I/opt/rtems-4.8/tools/build     -g -O2 -MT rtems-bin2c.o -MD -MP -MF .deps/rtems-bin2c.Tpo -c -o rtems-bin2c.o /opt/rtems-4.8/tools/build/rtems-bin2c.c</div>
<div>mv -f .deps/rtems-bin2c.Tpo .deps/rtems-bin2c.Po</div><div>gcc  -g -O2   -o rtems-bin2c rtems-bin2c.o  </div><div>gcc -DHAVE_CONFIG_H -I. -I/opt/rtems-4.8/tools/build     -g -O2 -MT binpatch.o -MD -MP -MF .deps/binpatch.Tpo -c -o binpatch.o /opt/rtems-4.8/tools/build/binpatch.c</div>
<div>mv -f .deps/binpatch.Tpo .deps/binpatch.Po</div><div>gcc  -g -O2   -o binpatch binpatch.o  </div><div>make[2]: Leaving directory `/opt/rtems-build/tools/build'</div><div>make[1]: Leaving directory `/opt/rtems-build/tools/build'</div>
<div>Making all in tools/cpu</div><div>make[1]: Entering directory `/opt/rtems-build/tools/cpu'</div><div>Making all in generic</div><div>make[2]: Entering directory `/opt/rtems-build/tools/cpu/generic'</div><div>
make[2]: Nothing to be done for `all'.</div><div>make[2]: Leaving directory `/opt/rtems-build/tools/cpu/generic'</div><div>make[2]: Entering directory `/opt/rtems-build/tools/cpu'</div><div>make[2]: Nothing to be done for `all-am'.</div>
<div>make[2]: Leaving directory `/opt/rtems-build/tools/cpu'</div><div>make[1]: Leaving directory `/opt/rtems-build/tools/cpu'</div><div>Making all in testsuites/tools</div><div>make[1]: Entering directory `/opt/rtems-build/testsuites/tools'</div>
<div>Making all in generic</div><div>make[2]: Entering directory `/opt/rtems-build/testsuites/tools/generic'</div><div>make[2]: Nothing to be done for `all'.</div><div>make[2]: Leaving directory `/opt/rtems-build/testsuites/tools/generic'</div>
<div>make[2]: Entering directory `/opt/rtems-build/testsuites/tools'</div><div>make[2]: Nothing to be done for `all-am'.</div><div>make[2]: Leaving directory `/opt/rtems-build/testsuites/tools'</div><div>make[1]: Leaving directory `/opt/rtems-build/testsuites/tools'</div>
<div>Making all in sparc-rtems/c</div><div>make[1]: Entering directory `/opt/rtems-build/sparc-rtems/c'</div><div>Making all in .</div><div>make[2]: Entering directory `/opt/rtems-build/sparc-rtems/c'</div><div>Configuring RTEMS_BSP=leon3</div>
<div>checking for gmake... no</div><div>checking for make... make</div><div>checking build system type... i686-pc-linux-gnu</div><div>checking host system type... sparc-unknown-rtems</div><div>checking rtems target cpu... sparc</div>
<div>checking for a BSD-compatible install... /usr/bin/install -c</div><div>checking whether build environment is sane... yes</div><div>checking for sparc-rtems-strip... no</div><div>checking for strip... strip</div><div>
checking for a thread-safe mkdir -p... /bin/mkdir -p</div><div>checking for gawk... gawk</div><div>checking whether make sets $(MAKE)... yes</div><div>checking whether to enable maintainer-specific portions of Makefiles... no</div>
<div>checking for RTEMS_BSP... leon3</div><div>checking for /opt/rtems-4.8/c/src/../../bspkit/sparc/*/cfg/leon3.cfg... no</div><div>checking for /opt/rtems-4.8/c/src/../../make/custom/leon3.cfg... yes</div><div>checking whether BSP supports networking... disabled</div>
<div>checking whether CPU supports libposix... disabled</div><div>checking for rpcgen... rpcgen</div><div>configure: setting up make/custom</div><div>checking for /opt/rtems-4.8/c/src/../../bspkit/sparc/*/cfg/leon3.cfg... no</div>
<div>checking for /opt/rtems-4.8/c/src/../../make/custom/leon3.cfg... yes</div><div>configure: creating make/leon3.cache</div><div>make[3]: Entering directory `/opt/rtems-build/sparc-rtems/c/leon3'</div><div>make[3]: Leaving directory `/opt/rtems-build/sparc-rtems/c/leon3'</div>
<div>checking for RTEMS_CPU_MODEL... leon3</div><div>checking for RTEMS_BSP_FAMILY... (cached) leon3</div><div>checking for CPU_CFLAGS... (cached) -mcpu=cypress -msoft-float</div><div>checking for CFLAGS_OPTIMIZE_V... (cached) -O2 -g</div>
<div>checking for style of include used by make... GNU</div><div>checking for sparc-rtems-gcc... no</div><div>make[2]: Leaving directory `/opt/rtems-build/sparc-rtems/c'</div><div>make[1]: Leaving directory `/opt/rtems-build/sparc-rtems/c'</div>
<div>===</div></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; "><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font></div><div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">  <br><br></span></div><div><br><br><div class="gmail_quote">On Mon, May 23, 2011 at 1:09 PM, Cláudio Silva <span dir="ltr"><<a href="mailto:claudiodcsilva@gmail.com" target="_blank">claudiodcsilva@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
It seems that you have a wrong target in rtems configure.<br>
If your gcc is named sparc-rtems4.8-gcc then the target on your rtems<br>
configuration should be "--target=sparc-rtems4.8"<br>
Example:<br>
../rtems-4.8/configure --disable-tests --disable-posix --disable-itron<br>
--disable-networking --disable-cxx --enable-rtemsbsp=leon3<br>
--target=sparc-rtems4.8 --prefix=/opt/rtems/rtems-4.8<br>
<font color="#888888"><br>
Cláudio<br>
</font><div><div></div><div><br>
On Mon, May 23, 2011 at 10:43 AM, Konstantinos Papadopoulos<br>
<<a href="mailto:kpapadopoulos1984@gmail.com" target="_blank">kpapadopoulos1984@gmail.com</a>> wrote:<br>
> I am currently involved in some projects related to testing of Real-Time<br>
> Operating Systems including RTEMS for LEON3.<br>
><br>
> I tried to build and install RTEMS toolchain based on the specific “Getting<br>
> Started” Guide for performing some measurements, but I experienced some<br>
> problems. It must be pointed out that the version of RTEMS used is 4.8.1<br>
> while the PC is running Ubuntu 11.04.<br>
><br>
> During ‘make’, an error with the message “No acceptance cc found in $PATH”<br>
> that causes the unsuccessful termination of this procedure occurs. This<br>
> seems to happen because the cross compilation toolset may be ignored, since<br>
> a message “checking for sparc-rtems-gcc… no” is performed before the<br>
> aforementioned error (the same also happens with other components of cross<br>
> compilation such as ‘sparc-rtems-strip’). Moreover, it must be pointed out<br>
> that I do have the cross compilation toolset in our search path as the guide<br>
> mentioned above advices us to do, while it is first in it to ensure that I<br>
> am using the intended version of all tools. Finally, when I try to access<br>
> these tools from an independent bash shell, they are recognized and run<br>
> regularly. To summarize, I would like to ask you whether this problem has<br>
> been previously referred and if there is any solution to overpass it.<br>
><br>
><br>
><br>
> Thank you in advance,<br>
><br>
> Konstantinos<br>
><br>
><br>
</div></div><div><div></div><div>> _______________________________________________<br>
> rtems-users mailing list<br>
> <a href="mailto:rtems-users@rtems.org" target="_blank">rtems-users@rtems.org</a><br>
> <a href="http://www.rtems.org/mailman/listinfo/rtems-users" target="_blank">http://www.rtems.org/mailman/listinfo/rtems-users</a><br>
><br>
></div></div></blockquote></div>
</div>