Check-in [84c0812a1d]
Overview
Comment:Updated to search library_paths for libtcc1.a for ELF as is done for PE
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 84c0812a1deb22f6e57cd2c84bbdb3f65f30d0ae
User & Date: rkeene on 2014-05-04 04:27:14.578
Other Links: manifest | tags
Context
2014-05-04
07:02
Removed spurious information from patch check-in: b3f189ad77 user: rkeene tags: trunk
04:27
Updated to search library_paths for libtcc1.a for ELF as is done for PE check-in: 84c0812a1d user: rkeene tags: trunk
04:26
Updated to set tcc_lib_path sooner, needed for setting library_paths correctly check-in: 9e75cf906d user: rkeene tags: trunk
Changes
91
92
93
94
95
96
97
98

99
100
101
102
103
104
105
91
92
93
94
95
96
97

98
99
100
101
102
103
104
105







-
+







  Log "INJECTING CCODE"
  append tcc(code) $code \n
}
proc ::tcc4tcl::cc {code} {
  variable tcc
  if {![info exists tcc(cc)]} {
      set tcc(cc) tcc1
      tcc4tcl [file join $::tcc4tcl::dir lib] $tcc(cc)
      tcc4tcl $::tcc4tcl::dir $tcc(cc)
      $tcc(cc) add_library tcl8.5
      $tcc(cc) add_include_path [file join $::tcc4tcl::dir include]
  }
  Log code:$code
  $tcc(cc) compile $code
}
#----------------------------------------------------------- New DLL API