This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Ping ... Re: [Patch, test-suite, plugins] include build_dir/intl to enable finding libintl.h on systems that build it.


Hi,

This has been hanging around my local tree for a couple of months..
.. and Jack and I realized that it hadn't been approved when we were considering making the (approved) back-port of the plug-in enabler to 4.5.


In Janis' absence would one of the global reviewers please take a look?
thanks
Iain

On 12 May 2010, at 17:26, IainS wrote:

Hi,

On *-apple-darwin9 most of the plugin tests fail with errors like:
" /GCC/gcc-live-trunk/gcc/testsuite/../../gcc/intl.h:31:21: fatal error: libintl.h: No such file or directory"


libintl.h is built and present in ${gcc_objdir}/intl.

the patch below adds that directory to the plugins testsuite includes,
OK for trunk?

Iain

gcc/testsuite/Changelog:

* lib/plugin-support.exp (plugin-test-execute): Add ${gcc_objdir}/ intl to includes.


refreshed diff:


Index: gcc/testsuite/lib/plugin-support.exp
===================================================================
--- gcc/testsuite/lib/plugin-support.exp (revision 162059)
+++ gcc/testsuite/lib/plugin-support.exp (working copy)
@@ -84,7 +84,7 @@ proc plugin-test-execute { plugin_src plugin_tests
set gcc_objdir "$objdir/../../.."
set includes "-I. -I${srcdir} -I${gcc_srcdir}/gcc -I$ {gcc_objdir}/gcc \
-I${gcc_srcdir}/include -I${gcc_srcdir}/libcpp/ include \
- $GMPINC"
+ $GMPINC -I${gcc_objdir}/intl "


set optstr "$includes $extra_flags -DIN_GCC -fPIC -shared"



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