diff --git a/flake.nix b/flake.nix index d70d271..6a78552 100644 --- a/flake.nix +++ b/flake.nix @@ -16,7 +16,6 @@ { default = pkgs.mkShell { buildInputs = [ - pkgs.qbe harec hare ]; diff --git a/pkgs/hare-as b/pkgs/hare-as deleted file mode 100755 index 594e13e..0000000 --- a/pkgs/hare-as +++ /dev/null @@ -1,37 +0,0 @@ -set -o pipefail - -function header() { - echo - echo - echo "# ----------------------------------------------------------------" - echo ".file \"$1\"" - echo "# ----------------------------------------------------------------" - echo -} - -args= -code= -until [ $# -eq 0 ]; do - case $1 in - --) - ;; - -o|-I|-arch) - args="$args $1 $2" - shift - ;; - -*) - args="$args $1" - ;; - *) - # file="$(fix_asm $1)" - - # # IFS=$'\n' - file=$(cat "$1") - - code="$code$(header $1)"$'\n'"$file" - ;; - esac - shift -done -echo "jer" -echo "$code" | fix_asm | as $args -