/gothic

Tcl/Tk Go bindings

Primary LanguageGoMIT LicenseMIT

Forked from nsf/gothic.

See the nsf/gothic README for usage.

For 64-bit Windows

This is an attempt to document how I got gothic running on a Windows 64-bit machine:

  1. Install ActiveTCL Windows 64-bit. I assume ActiveTCL is installed in the default location, namely: C:\Tcl. If this is not the case, you will need to update the Tcl references in interpreter.go.

  2. Download the latest rubenvb MinGW-w64 gcc-release version. Install it wherever you like. Add the install directory to your path.

  3. Download the latest pexports. Install it wherever you like. Add the install directory to your path.

  4. Open a command prompt in C:\Tcl\bin.

  5. Type

    pexports tcl86.dll > tcl86.def
    
    dlltool -D tcl86.dll -d tcl86.def -l libtcl86.a
    
    pexports tk86.dll > tk86.def
    
    dlltool -D tk86.dll -d tk86.def -l libtk86.a
    
  6. Clone this repo.

  7. Cross your fingers! Everything should just work!

For 32-bit Windows

  1. Do everything like the 64-bit version, but use 32-bit tools. Not tested.