/[dejagnu]/dejagnu/lib/libgloss.exp
ViewVC logotype

Diff of /dejagnu/lib/libgloss.exp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by rsavoye, Sat Aug 31 05:46:16 2002 UTC revision 1.6 by rsavoye, Thu Nov 14 17:00:47 2002 UTC
# Line 159  proc newlib_include_flags { args } { Line 159  proc newlib_include_flags { args } {
159          if { ${newlib_dir} != "" } {          if { ${newlib_dir} != "" } {
160              set newlib_dir [file dirname ${newlib_dir}]              set newlib_dir [file dirname ${newlib_dir}]
161          }          }
162          return " -I$gccpath/newlib/targ-include -I${newlib_dir}"          return " -isystem $gccpath/newlib/targ-include -isystem ${newlib_dir}"
163      } else {      } else {
164          verbose "No newlib support for this target"          verbose "No newlib support for this target"
165      }      }
# Line 191  proc libio_include_flags { args } { Line 191  proc libio_include_flags { args } {
191      if { $libio_bin_dir != "" && $libio_src_dir != "" } {      if { $libio_bin_dir != "" && $libio_src_dir != "" } {
192          set libio_src_dir [file dirname ${libio_src_dir}]          set libio_src_dir [file dirname ${libio_src_dir}]
193          set libio_bin_dir [file dirname ${libio_bin_dir}];          set libio_bin_dir [file dirname ${libio_bin_dir}];
194          return " -I${libio_src_dir} -I${libio_bin_dir}"          return " -isystem ${libio_src_dir} -isystem ${libio_bin_dir}"
195      } else {      } else {
196          return ""          return ""
197      }      }
# Line 226  proc g++_include_flags { args } { Line 226  proc g++_include_flags { args } {
226    
227      set dir [lookfor_file ${srcdir} libg++]      set dir [lookfor_file ${srcdir} libg++]
228      if { ${dir} != "" } {      if { ${dir} != "" } {
229          append flags " -I${dir} -I${dir}/src"          append flags " -isystem ${dir} -isystem ${dir}/src"
230      }      }
231    
232      set dir [lookfor_file ${srcdir} libstdc++-v3]      set dir [lookfor_file ${srcdir} libstdc++-v3]
233      if { ${dir} != "" } {      if { ${dir} != "" } {
234          append flags " -I${dir}/include -I${dir}/include/std -I${dir}/include/c_std -I${dir}/libsupc++"          append flags " -isystem ${dir}/include -isystem ${dir}/include/std"
235            append flags " -isystem ${dir}/include/c_std -isystem ${dir}/libsupc++"
236      }      }
237    
238      set dir [lookfor_file ${gccpath} libstdc++-v3]      set dir [lookfor_file ${gccpath} libstdc++-v3]
239      if { ${dir} != "" } {      if { ${dir} != "" } {
240          append flags " -I${dir}/include -I${dir}/include/${target_alias}"          append flags " -isystem ${dir}/include -isystem ${dir}/include/${target_alias}"
241      }      }
242    
243      set dir [lookfor_file ${srcdir} libstdc++]      set dir [lookfor_file ${srcdir} libstdc++]
244      if { ${dir} != "" } {      if { ${dir} != "" } {
245          append flags " -I${dir} -I${dir}/stl"          append flags " -isystem ${dir} -isystem ${dir}/stl"
246      }      }
247    
248      return "$flags"      return "$flags"
# Line 317  proc libstdc++_include_flags { args } { Line 318  proc libstdc++_include_flags { args } {
318    
319      set dir [lookfor_file ${srcdir} libstdc++-v3]      set dir [lookfor_file ${srcdir} libstdc++-v3]
320      if { ${dir} != "" } {      if { ${dir} != "" } {
321          append flags " -I${dir}/include -I${dir}/include/std -I${dir}/include/c_std -I${dir}/libsupc++"          append flags " -isystem ${dir}/include -isystem ${dir}/include/std"
322            append flags " -isystem ${dir}/include/c_std -isystem ${dir}/libsupc++"
323      }      }
324    
325      set gccpath [get_multilibs]      set gccpath [get_multilibs]
326    
327      set dir [lookfor_file ${gccpath} libstdc++-v3]      set dir [lookfor_file ${gccpath} libstdc++-v3]
328      if { ${dir} != "" } {      if { ${dir} != "" } {
329          append flags " -I${dir}/include -I${dir}/include/${target_alias}"          append flags " -isystem ${dir}/include -isystem ${dir}/include/${target_alias}"
330      }      }
331    
332      set dir [lookfor_file ${srcdir} libstdc++]      set dir [lookfor_file ${srcdir} libstdc++]
333      if { ${dir} != "" } {      if { ${dir} != "" } {
334          append flags " -I${dir} -I${dir}/stl"          append flags " -isystem ${dir} -isystem ${dir}/stl"
335      }      }
336    
337      return "$flags"      return "$flags"
# Line 422  proc get_multilibs { args } { Line 424  proc get_multilibs { args } {
424              break;              break;
425          }          }
426      }      }
427        set mopts ""
428      if { [llength $args] > 0 } {      if { [llength $args] > 0 } {
429          set mopts [lindex $args 0];          set mopts [lindex $args 0];
430      } else {      } else {
# Line 857  proc winsup_include_flags { args } { Line 860  proc winsup_include_flags { args } {
860          set winsup_dir [lookfor_file ${srcdir} winsup/include/windows.h]          set winsup_dir [lookfor_file ${srcdir} winsup/include/windows.h]
861          if { ${winsup_dir} != "" } {          if { ${winsup_dir} != "" } {
862              set winsup_dir [file dirname ${winsup_dir}]              set winsup_dir [file dirname ${winsup_dir}]
863              return " -I${winsup_dir}"              return " -isystem ${winsup_dir}"
864          }          }
865      }      }
866      verbose "No winsup support for this target"      verbose "No winsup support for this target"

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26