Overview
| Artifact ID: | c5e0068f451ffbd054f786fd62d3fe8a46d43756 |
|---|---|
| Ticket: | 3097212fffffffffffffffffffffffffffffffff
Linking extension with stubs |
| User & Date: | dkf on 2010-10-28 20:32:37 |
Changes
- icomment:
Solution part #1: You need to link with the tclstub library. Solution part #2: The Add_Init function needs to have 'extern "C"' linkage or [load] will never be able to do anything with the lib. Solution part #3: Tcl_PkgProvide's second argument needs to be the package name (e.g., "add" in this case).
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"