Re: [patch] Fix Solaris make gdb/data-directory/ compat. [Re: [rfa/rfc] Build libcommon.a for gdb and gdbserver]

Yao Qi
2011-03-07T02:20:12Z

On 03/07/2011 03:05 AM, Jan Kratochvil wrote:
> On Sun, 06 Mar 2011 18:23:00 +0100, Andreas Schwab wrote:
>> The problem here is that $(PYTHON_FILES) appears as prerequisite of the
>> rule and the files are found via VPATH, so Solaris make modified the
>> expansion of $(PYTHON_FILES) to prefix it with the VPATH, causing
>> PYTHON_SRCDIR to appear twice. (*Note (autoconf) Automatic Rule Rewriting::)
> * Automatic Rule Rewriting:: `VPATH' goes wild on Solaris
>
> Thanks for the explanatory documentation reference.
>
> Fixed it on OpenSolaris with /usr/bin/make and checked it is still compatible
> with GNU/Linux. Checked both the in-tree and out-of-tree compilation and
> installation. Checked out-of-tree build directory in a different number of
> subdirectories than the srcdir.
>
> I will even check it in with no comments in some time but a review would be
> better.

Jan,
I don't have some comments to this patch. Do you know which commit
breaks build on Solaris? If it is related to my recent libcommon.a
patches, I'd like to help on this problem.

--
Yao (é½å°§)