You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
264 B

#!/bin/csh -f
# $1 is the file containing the function ordering
# $2 is the output file
echo ' .SPACE $TEXT$' > /tmp/$$.s
foreach func (`cat $1`)
echo " .NSUBSPA $func,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY" >> /tmp/$$.s
end
gcc -c /tmp/$$.s -o $2
rm -f /tmp/$$.s