Re: 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

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

From: Bob Techentin <techentin.robert@mayo.edu>
Date: Fri Jul 29 2005 - 15:07:46 CEST

"Shaun Deacon" <sdeacon@fma.fujitsu.com> wrote
> ...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
>

The --enable-64bit support is checked in the macros in tcl.m4. I only see
64bit support checks for AIX, HPUX, IRIX, and SunOS-5. Linux on 64 bit AMD
or Intel processors is a relatively new thing, and it isn't supported in
Tcl, yet.

So the answer is "No, you can't compile 64 bit Tcl on Red Hat Enterprise
Linux." I seriously doubt that your commercial application was compiled on
Red Hat Linux with 64bit Tcl. You should be just fine with a regular, 32
bit build.

Bob

-- 
Bob Techentin                   techentin.robert@NOSPAMmayo.edu
Mayo Foundation                                 (507) 538-5495
200 First St. SW                            FAX (507) 284-9171
Rochester MN, 55901  USA            http://www.mayo.edu/sppdg/
Received on Thu Sep 29 14:27:55 2005