This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: libstdc++ testsuite fixes, 1
- To: Gabriel dot Dos-Reis at cmla dot ens-cachan dot fr
- Subject: Re: libstdc++ testsuite fixes, 1
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Tue, 15 May 2001 13:50:51 -0700
- Cc: zackw at stanford dot edu, gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <flzoceqv9a.fsf@sel.cmla.ens-cachan.fr>
>>>>> "Gabriel" == Gabriel Dos Reis <Gabriel.Dos-Reis@cmla.ens-cachan.fr> writes:
Gabriel> The just-removed libstdc++.exp used to do the follwoing
Gabriel> # Get the source and the build directories. set
Gabriel> src-dir [lookfor_file $srcdir libstdc++-v3] set build-dir
Gabriel> [lookfor_file $outdir libstdc++-v3]
Gabriel> I'll prefer we get that functionality back.
nfortunately, I have some scripts that work with relative objdirs (I
know, I know), and this breaks, the scripts will break, and that will
be a pain.
It should be easy to canonicalize the SRC directory to an absolute
path in whatever is outputting the paths:
(cd ${SRC}; pwd)
and that will avoid the problem without having to resort to the
contortions Zack was going through. As Benjamin says, nothing should
be unhappy with absolute paths.
Any such patch is pre-approved.
Thanks,
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com