Fw: problems building RTEMS

avy st astrominger at yahoo.com
Thu Dec 28 16:27:00 UTC 2006

Hello Bob,

  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?

  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. 


----- Original Message ----
From: Robert S. Grimes <rsg at alum.mit.edu>
To: avy st <astrominger at yahoo.com>
Cc: RTEMS mailing list <rtems-users at rtems.org>
Sent: Thursday, December 28, 2006 5:18:39 PM
Subject: Re: Fw: problems building RTEMS

Hi Avy,

Not sure, but don't these lines look funny to you?

    checking how to run the C++ preprocessor... /lib/cpp
    configure: error: C++ preprocessor "/lib/cpp" fails sanity check

I'm not sure which cpp it is looking at (host or target), but I would
expect something like /usr/bin/cpp (host) or
/opt/rtems-tools-4.7/bin/powerpc-rtems-cpp (target).  I know _my_ cygwin
has no /lib/cpp.  I did check, and my Gentoo Linux box _does_ have a
/lib/cpp.  Again, I don't know what the configure script is looking for,
but in case it is looking for the host flavor, I would try (naively,
perhaps) creating a symbolic link (e.g. ln -s /usr/bin/cpp /lib/cpp) and
see if that works.

Funny, I didn't have that problem...


avy st wrote:
> Hello all,
> I'm trying to build the RTEMS toolset and RTEMS for powerpc,
> hosted on cygwin, and supporting Ada.  I followed pretty much the
> instructions givn on
> http://www.rtems.com/wiki/index.php/BuildingUnderCygwin (with the
> required modifications needed for Ada building), and got a problem
> when building RTEMS itself which blows with the following message:
>     checking for RTEMS_NETWORKING... no
>     checking how to run the C++ preprocessor... /lib/cpp
>     configure: error: C++ preprocessor "/lib/cpp" fails sanity check
>     See `config.log' for more details.
>     configure: error:
>     ../../../../../../../source/rtems-
>     failed for samples
>     configure: error: /bin/sh
>     '../../../../../../source/rtems-'
>     failed for ../../testsuites
>     make[2]: *** [psim] Error 1
>     make[2]: Leaving directory
>     `/cygdrive/d/BuildGccCygwin/powerpc-rtems-4.7-tools/rtems-'
>     make[1]: *** [all-recursive] Error 1
>     make[1]: Leaving directory
>     `/cygdrive/d/BuildGccCygwin/powerpc-rtems-4.7-tools/rtems-'
>     make: *** [all-recursive] Error 1
> The config.log and the end of the make log of the make output are
> enclosed.
> Any Ideas?
> Thanks
> Avy Strominger
> astrominger at yahoo.com <mailto:astrominger at yahoo.com>
> ------------------------------------------------------------------------
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20061228/22015f6c/attachment-0001.html>

More information about the users mailing list