Can I do 64-bit gcc compilation on 64-bit RedHat platform ?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Can I do 64-bit gcc compilation on 64-bit RedHat platform ?

From: Shaun Deacon <sdeacon@fma.fujitsu.com>
Date: Thu Jul 28 2005 - 22:52:02 CEST

Hi,

This may seem like a daft question...but can
I actually do 64-bit compilation of Tcl/Tk
with gcc (tcl/tk 8.3.5) ?

The reason I ask is that the configure script
returns the following warning :

"64bit support being disabled -- don't know magic
for this platform"

Looking inside the config script, I don't see
where "-m64" is ever enabled for gcc ?

My system details are:

%> uname -a
Linux
dl145-02
2.4.21-23.ELsmp
x86_64
x86_64
GNU/Linux

RedHat Linux RHEL3 is installed.
The version of gcc is 3.4.3

My tcl source for 8.3.5 is placed
in /usr/sdeacon/tcl

%> cd /usr/sdeacon/tcl/tcl8.3.5/unix
%> ./configure --prefix=/usr/sdeacon/tcl --enable-gcc --enable-shared
--enable-64bit

Thanks in advance for any advice,
Shaun
Received on Thu Sep 29 14:27:47 2005