File: link

package info (click to toggle)
mocka 9905-2
  • links: PTS
  • area: non-free
  • in suites: potato, sarge, woody
  • size: 5,436 kB
  • ctags: 160
  • sloc: asm: 23,203; makefile: 124; sh: 102; ansic: 23
file content (9 lines) | stat: -rw-r--r-- 215 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#!/bin/sh

if [ "$1" = "-elf" ]; then shift; fi
if [ "$1" = "-static" ]; then shift; fi
if [ "$1" = "-g" ]; then shift; fi

program=$1 ; shift ; modules="$*"

gcc -o $program /usr/lib/mocka/M2RTS-elf.o $modules -lc