For Programmers: Free Programming Magazines  


Home > Archive > Tcl > October 2005 > Re: Multi-platform starkit with binary extension (more info)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Multi-platform starkit with binary extension (more info)
Peter N. Schweitzer

2005-10-27, 7:02 pm

By experiment I see that tcl_platform exists and has the right values
when main.tcl is executed; I can modify main.tcl to read

puts "tcl_platform exists? [info exists tcl_platform]"
set platform [lindex $tcl_platform(os) 0]
puts "platform is $platform"
package require starkit
starkit::startup
package require app-tkme

and I get

tcl_platform exists? 1
platform is Linux

but again when lib/tkmeint/pkgIndex.tcl is run, tcl_platform does not
exist. Different interpreter?

Peter
--
Peter N. Schweitzer (MS 954, U.S. Geological Survey, Reston, VA 20192)
(703) 648-6533 FAX: (703) 648-6252 email: pschweitzer@usgs.gov
<http://geology.usgs.gov/peter/>
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com