|
|
GNU tools for NeXTSTEP 3.3
#!/bin/sh
cat libgcc?.c | awk '{print $1}' \
| egrep '^__(float|fix|gcc|[a-z_]+[0-9])' \
| sed 's,^_,,' \
| awk '{print "#define _" $1 " " $1}' \
> config/nextstep.def
if [ -f optabs.c ]; then true; else
mv optabs.c.save optabs.c
fi
if [ -f optabs.c.save ]; then true; else
mv optabs.c optabs.c.save
fi
rm -f optabs.c.nextstep
cat optabs.c.save | sed 's,"__,"_,g' > optabs.c.nextstep
diff -DNEXT_LIBGCC_NAMES optabs.c.save optabs.c.nextstep > optabs.c
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.