home *** CD-ROM | disk | FTP | other *** search
- echo "# !Automatically generated from ./functions.def" "- DO NOT EDIT!" >needed2.awk
- grep '^DEFVAR(' < ./functions.def | sed -e '/DEFVAR/s|DEFVAR.\([^,]*\).*|/\1/ { printf "#ifndef NEED_\1\\n#define NEED_\1\\n#endif\\n" }|' >>needed2.awk
- grep '^DEFFUNC(' < ./functions.def | sed -e '/DEFFUNC/s|DEFFUNC.\([^,]*\).*|/\1/ { printf "#ifndef NEED_\1\\n#define NEED_\1\\n#endif\\n" }|' >>needed2.awk
- gcc -c -O3 -fno-builtin -I. -I./../include ./dummy.c 2>/dev/null
- (gcc -o dummy -O3 -fno-builtin dummy.o ) >errors 2>&1 || true
- echo "/* !Automatically generated from ./functions.def" "- DO NOT EDIT! */" >lconfig.h
- awk -f needed2.awk <errors >>lconfig.h
- cp lconfig.h config.h
- gcc -c -O3 -fno-builtin -I. -I./../include argv.c
- gcc -c -O3 -fno-builtin -I. -I./../include basename.c
- gcc -c -O3 -fno-builtin -I. -I./../include concat.c
- gcc -c -O3 -fno-builtin -I. -I./../include cplus-dem.c
- gcc -c -O3 -fno-builtin -I. -I./../include fdmatch.c
- gcc -c -O3 -fno-builtin -I. -I./../include getopt.c
- gcc -c -O3 -fno-builtin -I. -I./../include getopt1.c
- gcc -c -O3 -fno-builtin -I. -I./../include getruntime.c
- gcc -c -O3 -fno-builtin -I. -I./../include floatformat.c
- gcc -c -O3 -fno-builtin -I. -I./../include obstack.c
- gcc -c -O3 -fno-builtin -I. -I./../include spaces.c
- gcc -c -O3 -fno-builtin -I. -I./../include strerror.c
- gcc -c -O3 -fno-builtin -I. -I./../include strsignal.c
- gcc -c -O3 -fno-builtin -I. -I./../include xatexit.c
- gcc -c -O3 -fno-builtin -I. -I./../include xexit.c
- xexit.c: In function `xexit':
- xexit.c:36: warning: `noreturn' function does return
- gcc -c -O3 -fno-builtin -I. -I./../include xmalloc.c
- echo "# !Automatically generated from ./functions.def" "- DO NOT EDIT!" >needed.awk
- grep '^DEF(' < ./functions.def | sed -e '/DEF/s|DEF.\([^,]*\).*|/\1/ { printf "\1.o " }|' >>needed.awk
- rm -f lneeded-list
- f=""; for i in `awk -f needed.awk <errors` ; do case " $f " in *" $i "*) ;; *) f="$f $i" ;; esac ; done ; echo $f >>lneeded-list
- cp lneeded-list needed-list
- rm -rf libiberty.a
- ar rc libiberty.a argv.o basename.o concat.o cplus-dem.o fdmatch.o getopt.o getopt1.o getruntime.o floatformat.o obstack.o spaces.o strerror.o strsignal.o xatexit.o xexit.o xmalloc.o
- ranlib libiberty.a
- rm -f bfd.h-new 64 ../include/bfd.h
- if grep BFD_HOST_64_BIT sysdep.h > 64 2>/dev/null; then true; else true; fi
- sed -e 's/@WORDSIZE@/32/' -e "s/@VERSION@/`cat ./VERSION`/" -e '/64-bit.*sysdep.h/ r 64' < ./bfd-in2.h > bfd.h-new
- ./../move-if-change bfd.h-new bfd.h
- rm -f 64
- touch stmp-bfd.h
- gcc -c -O3 -fno-builtin -I. -I. -I./../include archive.c
- gcc -c -O3 -fno-builtin -I. -I. -I./../include -DDEFAULT_VECTOR=armnetbsd_vec -DSELECT_VECS='&armnetbsd_vec' -DSELECT_ARCHITECTURES='bfd_arm_arch' archures.c
- gcc -c -O3 -fno-builtin -I. -I. -I./../include bfd.c
- gcc -c -O3 -fno-builtin -I. -I. -I./../include cache.c
- gcc -c -O3 -fno-builtin -I. -I. -I./../include coffgen.c
- gcc -c -O3 -fno-builtin -I. -I. -I./../include core.c
- gcc -c -O3 -fno-builtin -I. -I. -I./../include format.c
- gcc -c -O3 -fno-builtin -I. -I. -I./../include init.c
- gcc -c -O3 -fno-builtin -I. -I. -I./../include libbfd.c
- gcc -c -O3 -fno-builtin -I. -I. -I./../include opncls.c
- gcc -c -O3 -fno-builtin -I. -I. -I./../include reloc.c
- gcc -c -O3 -fno-builtin -I. -I. -I./../include section.c
- gcc -c -O3 -fno-builtin -I. -I. -I./../include syms.c
- gcc -c -O3 -fno-builtin -I. -I. -I./../include -DDEFAULT_VECTOR=armnetbsd_vec -DSELECT_VECS='&armnetbsd_vec' -DSELECT_ARCHITECTURES='bfd_arm_arch' targets.c
- gcc -c -O3 -fno-builtin -I. -I. -I./../include hash.c
- gcc -c -O3 -fno-builtin -I. -I. -I./../include linker.c
- gcc -c -O3 -fno-builtin -I. -I. -I./../include elf.c
- gcc -c -O3 -fno-builtin -I. -I. -I./../include srec.c
- gcc -c -O3 -fno-builtin -I. -I. -I./../include armnetbsd.c
- gcc -c -O3 -fno-builtin -I. -I. -I./../include aout32.c
- gcc -c -O3 -fno-builtin -I. -I. -I./../include stab-syms.c
- gcc -c -O3 -fno-builtin -I. -I. -I./../include cpu-arm.c
- rm -f ofiles
- f=""; for i in archive.o archures.o bfd.o cache.o coffgen.o core.o format.o init.o libbfd.o opncls.o reloc.o section.o syms.o targets.o hash.o linker.o elf.o srec.o armnetbsd.o aout32.o stab-syms.o cpu-arm.o ; do case " $f " in *" $i "*) ;; *) f="$f $i" ;; esac ; done ; echo $f > ofiles
- rm -f libbfd.a
- ofiles = archive.o archures.o bfd.o cache.o coffgen.o core.o format.o init.o libbfd.o opncls.o reloc.o section.o syms.o targets.o hash.o linker.o elf.o srec.o armnetbsd.o aout32.o stab-syms.o cpu-arm.o
- ar rc libbfd.a `cat ofiles`
- ranlib libbfd.a
- gcc -c -O3 -fno-builtin -I. -I. -I../bfd -I./../include -I./../bfd arm-dis.c
- gcc -c -O3 -fno-builtin -I. -I. -I../bfd -I./../include -I./../bfd dis-buf.c
- gcc -c -O3 -fno-builtin -DARCH_arm -I. -I. -I../bfd -I./../include -I./../bfd disassemble.c
- rm -f libopcodes.a
- ar rc libopcodes.a arm-dis.o dis-buf.o disassemble.o
- ranlib libopcodes.a
- gcc -c -I. -I. -I../bfd -I./../bfd -I./../include -O3 -fno-builtin bucomm.c
- gcc -I. -I. -I../bfd -I./../bfd -I./../include -DVERSION='"940921"' -O3 -fno-builtin -c ./version.c
- gcc -c -I. -I. -I../bfd -I./../bfd -I./../include -O3 -fno-builtin filemode.c
- gcc -c -I. -I. -I../bfd -I./../bfd -I./../include -O3 -fno-builtin size.c
- gcc -O3 -fno-builtin -o size size.o bucomm.o version.o filemode.o ../bfd/libbfd.a ../libiberty/libiberty.a
- gcc -c -I. -I. -I../bfd -I./../bfd -I./../include -O3 -fno-builtin objdump.c
-