Lines Matching full:linker
7 if [ x$1 = x--make-linker-script ]
10 linker=./link-$program
16 echo "rm -f $program" > $linker
17 gmake -n $program >> $linker
18 chmod 755 $linker
19 echo "Linker script created in $linker; testing it out"
20 output=`./$linker 2>&1`
26 echo "Done; rebuilding $linker"
27 echo "rm -f $program" > $linker
28 gmake -n $program 2>&1 | sed '/gcc/s/$/__main.o/' >> $linker
29 ./$linker > /dev/null 2>&1
32 echo "WARNING: linker script didn't work"
38 echo "WARNING: linker script didn't work"
42 echo "Linker script created in $linker; please check it manually"
48 linker="$3"
53 echo "$myname --make-linker-script PROGRAM"
54 echo "$myname OBJECTS-FILE PROGRAM LINKER CHECKER"
60 echo "LINKER is the script that builds PROGRAM; try --make-linker-script"
63 echo "(LINKER and CHECKER must be in your PATH, or you should specify ./)"
90 if [ -z "$linker" ]
95 if [ ! -x "$linker" ]
97 echo "ERROR: $linker not found or not executable"
98 echo "You may wish to try: $0 --make-linker-script $program"
120 $linker
131 $linker