sasagawa888 / eisl

ISLisp interpreter/compiler
Other
267 stars 22 forks source link

library/tcltk.lsp makes wrong assumptions about header and library names #290

Closed shawnw closed 1 week ago

shawnw commented 1 year ago

It assumes that on Linux, you need #include <tcl/tcl.h> instead of #include <tcl.h>, which isn't true on my OpenSUSE system at least. It also assumes the librarys to link against are -ltcl -ltk instead of (Again, on my computer; it varies depending on distribution and tcl/tk version) -ltcl8.6 -ltclstub8.6 -ltk8.6 -ltkstub8.6.

Normally you'd use pkg-config or the installation-specific tclConfig.sh and tkConfig.sh shell scripts to get compiler/linker path flags and libraries, but I don't know if your build system supports that since the current ones are hard-coded in the source file.

sasagawa888 commented 1 year ago

Thank you for information.