From: Skip Augur on
Hi,

We have a product that we need to link with some 32-bit libraries on a
64-bit system; I've successfully done this on Ubuntu by adding some
configure flags "--disable-load --disable-shared --disable-64bit
CFLAGS="-m32"; after I do that then the make, the "files" command
shows:

tcl8.4/unix/tclsh: ELF 32-bit LSB executable, Intel 80386, version 1
(SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15,
not stripped

But when I try the same flags under Fedora (fc13) I still get a 64-bit
build:

tcl8.4/unix/tclsh: ELF 64-bit LSB executable, x86-64, version 1
(SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18,
not stripped

Has anyone else run into this, and possibly have a solution? I also
tried tcl8.5, which did give me a 32-bit tclsh, but ran into other
problems linking with our own product (conflicting types for 'exec'
and other functions from unistd.h) that I wasn't sure how to resolve.

Thanks in advance! (And for those here in the US, have a nice holiday
weekend!).
 | 
Pages: 1
Prev: arm linux tclkit sources
Next: snit question