Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Enable dynamic lib on Mac OS X

Closed / Fixed435258ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2001-06-21 22:33:50
Patches unix/configure.in, unix/tcl.m4, and unix/
tclLoadDyld.c to enable building tcl with dynamic 
shared libraries on Mac OS X (Darwin).
nobodyplain2001-06-22 05:33:51
File Added - 7631: darwinpatches.tcl833
dasplain2001-07-05 12:05:56
File Added - 8079: tcl-darwin-8-3-1-branch.patch

Logged In: YES 
user_id=90580

attached a more complete patch that includes some changes to 
the buildsystem from Apple's Darwin cvs that were missing 
from the old patch (note: autoconf needs to be rerun after 
applying this patch)

Added prebinding for libraries and removed man page links 
that failed on HFS+ due to case insensitivity. (e.g. ln 
http.n Http.n ), these should rather be surrounded by a 
($tcl_platform(os) != "Darwin") test in a patch to the 
HEAD...

Changed tclLoadDyld.c patch to improve error handling and use 
DStrings and Tcl_UtfToExternalDString instead of sprintf to 
build up symbol and library names.

The effects of these makefile and configure changes on other 
unix builds will need to be evaluated when upporting the 
patch to the HEAD.
hobbsplain2001-07-17 01:52:45
Logged In: YES 
user_id=72656

These look good and applicable to me.
dasplain2001-10-16 11:12:00
Logged In: YES 
user_id=90580

* updated the patch to apply cleanly to the tip of 8-3-1-
branch
* conditionalized mkLinks for case-insensitive filesystems 
instead of commenting out the problematic cases
* 8.3.4 with this patch builds cleanly on x86 linux, solaris 
and darwin/macosx.

I'd be great if this could still make it into 8.3.4
dasplain2001-10-16 11:12:02
File Added - 12024: tcl-darwin-8-3-4.patch
dasplain2001-10-16 14:24:00
Logged In: YES 
user_id=90580

checked into core-8-3-1-branch.
Needs to go into the trunk as well, so leaving @ status 
'open'.
dasplain2001-11-23 08:38:27
Logged In: YES 
user_id=90580

updated patch for 8.4a4 attached and checked in to cvs HEAD
dasplain2001-11-23 08:38:28
File Added - 13696: tcl8.4a4-darwin.patch
Log in (anonymous is fine) to add a comment.

Attachments: