[Starkit] 32 bit starkit on 64 bit Linux
Uwe Koloska
koloska at voiceinterconnect.de
Thu Jun 22 14:11:19 CEST 2006
Hello,
since a x86_64 Linux is able to run both i[3456]86 and x86_64 binaries, there
arise a problem with the tcl_platform(machine) variable. Since it always
reports the underlying machine (what maybe is the right thing to do) the
right libraries cannot be loaded when running in 32 bit mode (if the name and
thus type is decided algorithmically inside the pkgIndex.tcl) ...
(I think this maybe is a problem of all tcl distributions, not only tclkit)
The possible solutions I see:
- let tcl_platform(machine) return the current type. This can be decided at
compile time.
- introduce a new member of tcl_platform that gives the right machine for
loading libraries.
BTW: how is this problem solved on Intel-Macs running a tclkit inside rosetta?
For now my workaround is to explicitly set tcl_platform(machine) in
starkit/main.tcl -- but this is ugly :-(
Uwe
More information about the Starkit
mailing list