My cross compiler isn't able to compile testglue.c when running libstdc++ regression test.

Ian Lance Taylor iant@google.com
Sun Aug 7 17:37:00 GMT 2011


Terry Guo <terguo01@gmail.com> writes:

> I also noticed that gcc/testsuite/gcc/site.exp has a line "set
> TEST_GCC_EXEC_PREFIX
> "/home/build/work/jenkins-daily-build/install-linux/lib/gcc/". If I
> put this line into libstdc++-v3/testsuite/site.exp, the testglue.c can
> be compiled and the libstdc++ regression test works fine. I know the
> "GCC_EXEC_PREFIX" is used in an unusual way in finding the directories
> to search for header files. So what's the reason we don't define it in
> libstdc++-v3/testsuite/site.exp just like what GCC does?

It is probably just a bug.  I expect that few people do cross-testing of
libstdc++.

Ian



More information about the Gcc-help mailing list