home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BUG 1
/
BUGCD1996_0708.ISO
/
pc
/
util
/
minilin
/
minilin.exe
/
USR
/
BIN
/
LNSIZE
< prev
next >
Wrap
Text File
|
1994-05-19
|
300b
|
21 lines
#!/bin/sh
declare -i TheSize=0
ReturnSize () {
TheSize="$1";
}
DoLink () {
OutFile=`basename $1 .a`
gcc -s -N -jump -o $OutFile $1 -lm -ltermcap
ReturnSize `ls -s $1`
if [ $TheSize -gt 30 ] ; then
gcc -s -jump -o $OutFile $1 -lm -ltermcap
fi
}
for i in ../bin.a/*.a; do
DoLink $i;
done;