f



Build 32-bit Tcl 8.4 under Fedora 64-bit

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!).
0
skipaugur (7)
7/2/2010 11:31:25 PM
comp.lang.tcl 23428 articles. 2 followers. Post Follow

0 Replies
1568 Views

Similar Articles

[PageSpeed] 42

Reply: