Re: Re: Is there a 64-bit Linux tclkit 8.5.9?
Jeff Hobbs <[email protected]> Fri, 10 Jun 2011 07:35:06 -0700
| Newsgroups | gmane.comp.lang.tcl.starkit |
|---|---|
| Message-ID | <[email protected]> |
On 10/06/2011 1:59 AM, Zbigniew Diaczyszyn wrote: >> Mostly people use 32 bit versions as there is not that much to be >> gained by running a 64 bit tcl process and 64 bit operating systems >> are all quite happy to run 32 bit processes. FWIW, 64-bit exes on a 64-bit system are actually 5+% faster due to compiler opts for the newer arch. > True, that's the reason why I still work on a 32-bit Slackware Linux. > But the number of the 64-bit users is increasing and e.g. the Slackware > 64-bit version is a pure 64-bit implementation so a 32bit tclkit will > not even launch. Yes, we've seen the same, in that newer 64-bit Linux OSes default configs do not have the necessary support libs to run 32-bit exes. However ... > An user of my app remarked that old versions I compiled with tclkit > 8.5.7 are shared libraries (which had no problems to launch on 64bit > system): > >> $ ldd gorilla1533.bin >> linux-gate.so.1 => (0xb7822000) >> libdl.so.2 => /lib/libdl.so.2 (0xb7806000) >> libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7716000) >> libm.so.6 => /lib/libm.so.6 (0xb76f0000) >> libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb76d3000) >> libc.so.6 => /lib/libc.so.6 (0xb756f000) >> /lib/ld-linux.so.2 (0xb7823000) > > whereas the new versions compiled with tclkit 8.5.9: > >> tclkit sdx.kit wrap gorilla.bin -runtime tclkit-8.5.9-linux > > seem to be static: > >> $ ldd gorilla1535.bin >> not a dynamic executable > > Looking for information in gorilla1535.bin shows: > >> gorilla1534.bin: ELF 32-bit LSB executable, Intel 80386, version 1, >> statically linked, corrupted section header size > > Corrupted header size??? > > Is there a way to get a dynamic version? I'm suspicious that dynamic should work over static. The problem is that it is the dynamic 32-bit base library set that isn't installed by default. I would suspect that a truly static 32-bit exe should be fine, but it might have to be static right down to the libc. In general, each distro has its own (differently named of course) 32-bit compat libs that can be installed if you just want to make that a requirement. Jeff -- You received this message because you are subscribed to the "starkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/starkit?hl=en