File:  [Apple XNU] / GNUtools / c++filt / underscore_gen
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:45:55 2018 UTC (8 years, 2 months ago) by root
Branches: MAIN, Apple
CVS tags: HEAD, GNUtools33
GNU tools for NeXTSTEP 3.3

echo "int xxy_us_dummy;" >dummy.c
cc -c dummy.c
rm -f underscore.c
echo '/*WARNING: This file is automatically generated!*/' >underscore.c
if [ "`$(NM) dummy.o | grep _xxy_us_dummy ; true`" != "" ]; then \
echo "int prepends_underscore = 1;" >>underscore.c; \
else \
echo "int prepends_underscore = 0;" >>underscore.c; \
fi
rm -f dummy.c dummy.o

unix.superglobalmegacorp.com

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