home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OpenStep 4.2J (Developer)
/
os42jdev.iso
/
NextDeveloper
/
Source
/
GNU
/
gcc
/
config
/
next
/
nextstep.config
< prev
next >
Wrap
Text File
|
1996-06-12
|
482b
|
22 lines
#!/bin/sh
cat libgcc?.c | awk '{print $1}' \
| egrep '^__(float|fix|gcc|[a-z_]+[0-9])' \
| sed 's,^_,,' \
| awk '{print "#define _" $1 " " $1}' \
> config/next/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