File:  [Apple XNU] / GNUtools / cc / config / nextstep.config
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:45:41 2018 UTC (8 years, 2 months ago) by root
Branches: MAIN, Apple
CVS tags: HEAD, GNUtools33
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


unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.