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 - 20:03:11 CEST

"Cameron Laird" <claird@lairds.us> wrote
> Who's likely to change this situation? Jeff? Kevin? Is it waiting
> on money/schedule/lunar phase/...?

Well, probably somebody with a 64 bit Pentium Linux box. Oh, that's me and
Shaun. :-)

Ok, so I tried copying the tcl.m4 code from SunOS-5 which checks for
GCC>3.2, and set -m64 on both CFLAGS and LDFLAGS. But autoconf on my Red
Hat Enterprise Linux and Fedora Core systems doesn't seem to work. Every
configure ends with the error
    ./configure: line 5583: syntax error near unexpected token `;;'
    ./configure: line 5583: ` ;;'

So since I can't reconfigure... I'm stuck testing the theory of adding -m64
into the generated makefile. Adding that flag to CFLAGS and LDFLAGS seems
to work. Lots and lots of size mismatch warnings. But the it passes the
tcl test suite, and it can allocate lots of memory.

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:59 2005