This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Enable POSIX threads for IRIX 6 (take 2)
On Wed, Aug 15, 2001 at 02:32:22AM -0300, Alexandre Oliva wrote:
> On Aug 13, 2001, "H . J . Lu" <hjl@lucon.org> wrote:
>
> > + if test -f ../../../gcc/${glibcpp_thread_h}; then \
> > + thread_h=../../../gcc/${glibcpp_thread_h}; \
>
> I don't see how this would work in a multilib scenario. The relative
> pathname depth between
> ${target_alias}/[multilibdirs/]libstdc++-v3/include and gcc varies
> across multilibs. Consider using
> $(top_builddir)/$(MULTIBUILDTOP)../gcc, and adding a command to
> libstdc++-v3/configure.in that appends the definition of MULTIBUILDTOP
> in the top-level Makefile to include/Makefile, just like we do with
> MULTISUBDIR for other sub-directory Makefiles, right after running
> config-ml.in.
>
Unfortunately, I cannot test multilib since my Irix 6.5 is 32bit.
Someone else has to modify my patch and test it.
H.J.