view bin/as86 @ 6658:c1477023c681

<oerjan> mkx bin/echo-p//echo "$1"; [[ "$1" == */* ]] && mkdir -p "${1%/*}" 2>/dev/null
author HackBot
date Tue, 09 Feb 2016 01:12:38 +0000
parents 7f957c1f4661
children
line wrap: on
line source

as="$1"; shift; echo ".intel_syntax noprefix; $as" | gcc "$@" -c -x assembler /dev/stdin -o /tmp/as86.o && objcopy -O binary /tmp/as86.{o,bin} && xxd -p /tmp/as86.bin