File: asm

package info (click to toggle)
mocka 9605-1
  • links: PTS
  • area: non-free
  • in suites: slink
  • size: 2,488 kB
  • ctags: 105
  • sloc: asm: 452; makefile: 198; sh: 124; ansic: 14
file content (14 lines) | stat: -rwxr-xr-x 230 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

case $1 in
'-elf' ) AS=/usr/bin/as ; shift ;;
*      ) AS=/usr/i486-linuxaout/bin/as ;;
esac;

case $1 in
'-g' ) OPTIONS=  ; shift ;;
*    ) OPTIONS= ;;
esac;

echo "$AS $OPTIONS -o $1.o $1.s"
$AS $OPTIONS -o $1.o $1.s