2 [ $# -lt 4 -o -z "$1" -o -z "$2" -o -z "$3" -o -z "$4" ] && {
3 echo "Usage: $0 <cross> <reference> <pic .a> <destination>"
12 SYMBOLS
="$(${cross}nm "$ref" | grep -E '........ [TW] ' | awk '$3 {printf "-u%s
", $3}')"
14 ${cross}gcc
-nostdlib -nostartfiles -shared -Wl,--gc-sections -o "$dest" $SYMBOLS "$pic" "$@"
This page took 0.044904 seconds and 5 git commands to generate.