This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]