Overview
| Artifact ID: | 57e94d26c3b779b033d562b6c4523eb404e19d38 |
|---|---|
| Ticket: | 3010850fffffffffffffffffffffffffffffffff
unable to link tcl in gcc |
| User & Date: | dkf on 2010-06-03 17:23:19 |
Changes
- closedate changed to: "2010-06-03T10:23:19"
- closer changed to: "dkf"
- icomment:
allow_comments - 1 1) Your code should call Tcl_FindExecutable before Tcl_CreateInterp (so that the Tcl library can initialize itself); see the documentation for how to do that. 2) Your bug is that you should also link against the Tcl library; compilers aren't smart enough to work that out for themselves (should be? Maybe, but definitely aren't). This might be as simple as adding -ltcl to where you call the compiler, or might also require telling the compiler/linker where to look (with -L/path/to/libdir).
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- subsystem changed to: "69. Other"
- username: "dkf"