Ticket UUID: | 1021871 | |||
Title: | Support for build with --enable-64-bit on Solaris with gcc | |||
Type: | Patch | Version: | None | |
Submitter: | vbwagner | Created on: | 2004-09-03 14:56:25 | |
Subsystem: | 52. Portability Support | Assigned To: | mdejong | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2005-01-29 02:23:43 | |
Resolution: | Fixed | Closed By: | hobbs | |
Closed on: | 2005-01-28 19:23:43 | |||
Description: |
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. | |||
User Comments: |
hobbs added on 2005-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. vbwagner added on 2004-09-03 21:56:25: File Added - 100246: sparc64_gcc.patch |