view bin/wercome @ 4433:39e6248bfb11

<kmc> echo \'as="$1"; shift; echo ".intel_syntax; $as" | gcc "$@" -c -x assembler /dev/stdin -o /tmp/as86.o && objcopy -O binary /tmp/as86.{o,bin} && xxd -p /tmp/as86.bin\' > bin/as86 && chmod +x bin/as86
author HackBot
date Mon, 10 Feb 2014 06:56:50 +0000
parents 6eb1b867a767
children d056743e5c13
line wrap: on
line source

#!/usr/bin/perl -w
if (defined($_=shift)) { s/ *$//;  s/ +/ @ /g; exec "bin/@", $_ . " ? wercome"; } else { exec "bin/?", "wercome"; }