<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">Hello Bob,</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"> </DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">  I saw the line.  It looked wierd to me as well, but I had no clue why the sanity check refered to /lib/cpp.  You gave a possible answer - there are some configurations where there should be a /lib/cpp, and probably what we see is a configuration file bug, that mis-interprets my configuration.  The question is - where, and how do I locate the bug?</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"> </DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">  As for your suggestion, I tried it (I tried linking it to the target flavor, though).  It didn't work.  Even if it did, it would be a hack, and a correction was still needed. <BR></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">Avy<BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: Robert S. Grimes <rsg@alum.mit.edu><BR>To: avy st <astrominger@yahoo.com><BR>Cc: RTEMS mailing list <rtems-users@rtems.org><BR>Sent: Thursday, December 28, 2006 5:18:39 PM<BR>Subject: Re: Fw: problems building RTEMS 4.6.99.3<BR><BR>
<DIV>Hi Avy,<BR><BR>Not sure, but don't these lines look funny to you?<BR><BR>    checking how to run the C++ preprocessor... /lib/cpp<BR>    configure: error: C++ preprocessor "/lib/cpp" fails sanity check<BR><BR>I'm not sure which cpp it is looking at (host or target), but I would<BR>expect something like /usr/bin/cpp (host) or<BR>/opt/rtems-tools-4.7/bin/powerpc-rtems-cpp (target).  I know _my_ cygwin<BR>has no /lib/cpp.  I did check, and my Gentoo Linux box _does_ have a<BR>/lib/cpp.  Again, I don't know what the configure script is looking for,<BR>but in case it is looking for the host flavor, I would try (naively,<BR>perhaps) creating a symbolic link (e.g. ln -s /usr/bin/cpp /lib/cpp) and<BR>see if that works.<BR><BR>Funny, I didn't have that problem...<BR><BR>-Bob<BR><BR><BR>avy st wrote:<BR>> Hello all,<BR>>  <BR>> I'm trying to build the RTEMS toolset and RTEMS 4.6.99.3 for
 powerpc,<BR>> hosted on cygwin, and supporting Ada.  I followed pretty much the<BR>> instructions givn on<BR>> <A href="http://www.rtems.com/wiki/index.php/BuildingUnderCygwin" target=_blank>http://www.rtems.com/wiki/index.php/BuildingUnderCygwin</A> (with the<BR>> required modifications needed for Ada building), and got a problem<BR>> when building RTEMS itself which blows with the following message:<BR>>  <BR>><BR>>     checking for RTEMS_NETWORKING... no<BR>>     checking how to run the C++ preprocessor... /lib/cpp<BR>>     configure: error: C++ preprocessor "/lib/cpp" fails sanity check<BR>>     See `config.log' for more details.<BR>>     configure: error:<BR>>     ../../../../../../../source/rtems-4.6.99.3/c/src/../../testsuites/samples/configure<BR>>     failed for
 samples<BR>>     configure: error: /bin/sh<BR>>     '../../../../../../source/rtems-4.6.99.3/c/src/../../testsuites/configure'<BR>>     failed for ../../testsuites<BR>>     make[2]: *** [psim] Error 1<BR>>     make[2]: Leaving directory<BR>>     `/cygdrive/d/BuildGccCygwin/powerpc-rtems-4.7-tools/rtems-4.6.99.3/powerpc-rtems/c'<BR>>     make[1]: *** [all-recursive] Error 1<BR>>     make[1]: Leaving directory<BR>>     `/cygdrive/d/BuildGccCygwin/powerpc-rtems-4.7-tools/rtems-4.6.99.3/powerpc-rtems/c'<BR>>     make: *** [all-recursive] Error 1<BR>>      <BR>><BR>> The config.log and the end of the make log of the make output are<BR>> enclosed.<BR>> Any Ideas?<BR>> Thanks<BR>> Avy Strominger<BR>>
 astrominger@yahoo.com <mailto:astrominger@yahoo.com><BR>><BR>> ------------------------------------------------------------------------<BR>><BR>> _______________________________________________<BR>> rtems-users mailing list<BR>> rtems-users@rtems.com<BR>> <A href="http://rtems.rtems.org/mailman/listinfo/rtems-users" target=_blank>http://rtems.rtems.org/mailman/listinfo/rtems-users</A><BR>></DIV></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"><BR></DIV></div></body></html>