libstdc++ testsuite fixes, 1

Mark Mitchell mark@codesourcery.com
Tue May 15 13:51:00 GMT 2001


>>>>> "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



More information about the Gcc-patches mailing list