This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: h8300-rtems configure problem in libstdc++-v3


On Tue, Feb 13, 2001 at 11:05:08AM -0600, Joel Sherrill wrote:
> if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
>   egrep "ok" >/dev/null 2>&1; then

In a case like this you can best edit `configure' directly
and add a few lines to know exactly what is going on.

A few suggestions, add just prior to the lines above:

echo "$ac_cpp conftest.$ac_ext" > /tmp/junk
eval echo "$ac_cpp conftest.$ac_ext" >> /tmp/junk
(eval "$ac_cpp conftest.$ac_ext" >> /tmp/junk 2>&1)
(eval "$ac_cpp conftest.$ac_ext") 2>&5 | echo "we get here" >> /tmp/junk

etc.

Then examine /tmp/junk (after rerunning configure).
Add new echo's and rerun configure until you know *exactly* what is happening.

-- 
Carlo Wood <carlo@alinoe.com>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]