⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 diablibfind.tcl

📁 VXWORKS源代码
💻 TCL
字号:
# diabLibFind.tcl## modification history# --------------------# 01a,24oct01,sn   wrote# # DESCRIPTION# # dplus -## dummy.o | wtxtcl diabLibFind.tcl <lib># Parse the output of dplus -## dummy.o to determine# the library search path. Then search for library# <lib> and output found library path to stdout.set libname [lindex $argv 0]gets stdin lineregexp {^.* P,([^ ]*) .*} $line dummy link_pathregsub -all ":" $link_path " " link_dirsset found 0puts stderr "Searching for $libname in"foreach dir $link_dirs {    set lib $dir/$libname    puts stderr "  $dir ..."    if [file exists $lib] {	puts stderr "-> Found $lib"	puts $lib	set found 1	break    }}if { ! $found } {    puts stderr "Could not find $lib"    exit 1}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -