Created
March 20, 2024 03:21
-
-
Save ThePerfectComputer/0f5d5d5516cd523b69dc7a9c4fa06cb3 to your computer and use it in GitHub Desktop.
Bluespec Haskell Linking with Tcl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -ex | |
BLUESPECDIR=`echo 'puts $env(BLUESPECDIR)' | bluetcl` | |
INCLUDES=$(find $BLUESPECDIR/../../src/comp -type d -exec echo -n '-i{} ' \;) | |
ghci $INCLUDES \ | |
-ltcl -L$BLUESPECDIR/../../src/vendor/htcl -lhtcl \ | |
-i$BLUESPECDIR/../../src/vendor/htcl \ | |
-fobject-code \ | |
-package mtl \ | |
-package syb \ | |
-package split |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment