From def9844e1be2c256e198761634c15e2c84a9d484 Mon Sep 17 00:00:00 2001 From: andreas_kupries Date: Fri, 7 May 2010 20:16:23 +0000 Subject: * library/platform/platform.tcl: Fix cpu name for Solaris/Intel 64bit. * library/platform/pkgIndex.tcl: Package updated to version 1.0.8. --- ChangeLog | 5 +++++ library/platform/pkgIndex.tcl | 2 +- library/platform/platform.tcl | 9 +++++++-- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3da0d7f..5d4f7f4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-05-07 Andreas Kupries + + * library/platform/platform.tcl: Fix cpu name for Solaris/Intel 64bit. + * library/platform/pkgIndex.tcl: Package updated to version 1.0.8. + 2010-04-29 Andreas Kupries * library/platform/platform.tcl: Another stab at getting the /lib, diff --git a/library/platform/pkgIndex.tcl b/library/platform/pkgIndex.tcl index 69ca721..808f995 100644 --- a/library/platform/pkgIndex.tcl +++ b/library/platform/pkgIndex.tcl @@ -1,3 +1,3 @@ -package ifneeded platform 1.0.7 [list source [file join $dir platform.tcl]] +package ifneeded platform 1.0.8 [list source [file join $dir platform.tcl]] package ifneeded platform::shell 1.1.4 [list source [file join $dir shell.tcl]] diff --git a/library/platform/platform.tcl b/library/platform/platform.tcl index 838ceec..370c48a 100644 --- a/library/platform/platform.tcl +++ b/library/platform/platform.tcl @@ -103,7 +103,12 @@ proc ::platform::generic {} { } sunos { set plat solaris - if {![string match "ia64*" $cpu]} { + if {[string match "ix86" $cpu]} { + if {$tcl_platform(wordSize) == 8} { + set cpu x86_64 + } + } elseif {![string match "ia64*" $cpu]} { + # sparc if {$tcl_platform(wordSize) == 8} { append cpu 64 } @@ -309,7 +314,7 @@ proc ::platform::patterns {id} { # ### ### ### ######### ######### ######### ## Ready -package provide platform 1.0.7 +package provide platform 1.0.8 # ### ### ### ######### ######### ######### ## Demo application -- cgit v0.12