RFA: Update dejagnu/lib/libgloss.exp for libstdc++-v3
Michael Elizabeth Chastain
mec@shout.net
Sun Jan 20 18:01:00 GMT 2002
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
More information about the Newlib
mailing list