Overview
| Artifact ID: | d68de76838ca540793f6220f32c4459109aee29e |
|---|---|
| Ticket: | 956908ffffffffffffffffffffffffffffffffff
--disable-shared still links dynamically on Mac OS X |
| User & Date: | tallniel on 2004-05-19 17:58:04 |
Changes
- assignee changed to: "mdejong"
- cmimetype changed to: "text/plain"
- comment changed to:
The Mac OS X makefile does not support building a statically linked tclsh (useful for testing patches), so you have to use the configure script in the unix/ dir. This works ok, but passing in --disable- shared causes a makefile which links against Tcl like: -L/Users/neilmadden/tcl/unix/ -ltcl8.5 (or something like that). However, the Mac OS X linker still prefers to link dynamically against a system lib, if it can find one, so the above is ignored. The way to get around it is to manually hack the Makefile to just have the libtcl8.5.a listed as an object file, rather than using the -L/-l combo, e.g.: /Users/neilmadden/tcl/unix/libtcl8.5.a It would be nice if the configure script could detect building on Mac OS X and do this automatically.
- foundin changed to: "obsolete: 8.5a2"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "tallniel"
- subsystem changed to: "53. Configuration and Build Tools"
- title changed to:
--disable-shared still links dynamically on Mac OS X
- type changed to: "Bug"