Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2005-01-29
02:23 • Closed ticket [1021871fff]: Support for build with --enable-64-bit on Solaris wi... artifact: 3989067f06 user: hobbs
02:23 • Add attachment sol64gcc.patch to ticket [1021871fff] artifact: 41f6c5c874 user: hobbs
2004-09-03
21:56 • Add attachment sparc64_gcc.patch to ticket [1021871fffffffff|1021871fff... artifact: 9402f56bf9 user: vbwagner
21:56 • Ticket [1021871fff] Support for build with --enable-64-bit on Solaris with gcc</... artifact: 39907fc879 user: vbwagner
14:56 • New ticket [1021871fff]. artifact: c69846e65f user: vbwagner

Support for build with --enable-64-bit on Solaris with gcc

Closed / Fixed1021871fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-09-03 14:56:25
Attempt to configure current Tcl with --enable-64bit on
Solaris sparc when using GCC as compiler results in
warning:

"64bit mode not supported with GCC on $system"

but GCC support building of 64-bit apps on Solaris
since release 3.3 - for more than two years now. 

It seems that it is time to add support for building
64-bit tcl with GCC. 

Following patch to tcl.m4 adds support for building 64
bit tcl with GCC.  It is made against 8.4.7 release
sources, but applies cleanly to the current CVS version
as well.

Resulting 8.4.7 executable passes all tests.

Suspicious place in this patch is unconditional adding
-R /usr/local/lib/sparcv9 option to linker. It is
required because GCC-compiled executables typically
need shared libgcc library.
vbwagnerplain2004-09-03 21:56:25
File Added - 100246: sparc64_gcc.patch
hobbsplain2005-01-29 02:23:43
File Added - 117566: sol64gcc.patch

Logged In: YES 
user_id=72656

Attached is an improved patch that uses -static-libgcc and a
few other bits to make it cleaner (more portable across
installs).  I will commit this for 8.4 branch and 8.5.
Log in (anonymous is fine) to add a comment.

Attachments: