<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">Ralf,</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"> </DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">after your comment, I have re-looked into the failing log again. To my surprise, it says:</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"> </DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"> <STRONG>checking how to run the C++ preprocessor... /lib/cpp<BR> configure: error: C++ preprocessor "/lib/cpp" fails sanity check<BR></STRONG></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">I do have CPP is properly installed under /opt/rtems-tools-4.7/bin/powerpc-rtems-cpp.exe, and /opt/rtems-tools-4.7/bin is first on the path. </DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">but, since I don't need c++, it is the C preprocessor, and it is properly found by the script several lines above. (line 62: <STRONG>checking how to run the C preprocessor... powerpc-rtems-gcc -E</STRONG>).</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">Now, I build RTEMS with --disable-cxx, so why should it check for the C++ pre-processor?</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">And, what is the difference between the C pre-processor and the C++ pre-processor?</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"> </DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">Please note that the problem is caused by the testsuites/samples directory. Removing the <STRONG>samples</STRONG> directory from <STRONG>testsuites</STRONG> enables the build to continue.</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"> </DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">Avy ideas?</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: Ralf Corsepius <ralf.corsepius@rtems.org><BR>To: avy st <astrominger@yahoo.com><BR>Cc: RTEMS mailing list <rtems-users@rtems.org><BR>Sent: Friday, December 29, 2006 9:37:31 AM<BR>Subject: Re: Fw: problems building RTEMS 4.6.99.3<BR><BR>
<DIV>On Thu, 2006-12-28 at 06:12 -0800, 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>> checking for RTEMS_NETWORKING... no<BR>> checking how to run the C++ preprocessor... /lib/cpp<BR>> configure: error: C++ preprocessor "/lib/cpp" fails sanity<BR>>
check<BR>> See `config.log' for more details.<BR>The configure script doesn't find your target toolchain.<BR><BR>Probably you either don't have it installed, or your $PATH is not setup<BR>correctly.<BR><BR>Ralf</DIV></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"><BR></DIV></div></body></html>