This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: Update dejagnu/lib/libgloss.exp for libstdc++-v3
- From: Michael Elizabeth Chastain <mec at shout dot net>
- To: ac131313 at cygnus dot com
- Cc: gdb-patches at sources dot redhat dot com, newlib at sources dot redhat dot com, nickc at cambridge dot redhat dot com
- Date: Sun, 20 Jan 2002 19:56:11 -0600
- Subject: Re: RFA: Update dejagnu/lib/libgloss.exp for libstdc++-v3
It was already committed on 2002-01-17, so I presume someone approved it.
It looks okay to me, except for one thing:
> +
> + set dir [lookfor_file ${srcdir} libstdc++-v3]
> + if { ${dir} != "" } {
> + append flags " -I${dir}/include -I${dir}/include/std -I${dir}/include/c_std -I${dir}/libsupc++"
> + }
> +
> + set dir [lookfor_file ${gccpath} libstdc++-v3]
> + if { ${dir} != "" } {
> + append flags " -I${dir}/include/${target_alias}"
> + }
> +
> + set dir [lookfor_file ${srcdir} libstdc++-v3]
> + if { ${dir} != "" } {
> + append flags " -I${dir}/include -I${dir}/include/std"
> + }
> +
Why search for ${srcdir}/libstc++-v3 twice? That part looks like a
section of code got doubled somewhere.
(I don't this code myself because I install gcc before I test it).
Michael C