1 diff -r -N -C2 gas-980103.orig/libiberty/config/mt-mingw32 gas-980103/libiberty/config/mt-mingw32
2 *** gas-980103.orig/libiberty/config/mt-mingw32 Thu Jan 1 00:00:00 1970
3 --- gas-980103/libiberty/config/mt-mingw32 Sat Jan 3 15:27:05 1998
7 + # Mingw32 target Makefile fragment.
8 + # The autoconfiguration fails for a Mingw32 target, because of an
9 + # incompatible definition of sys_errlist, which is imported from a DLL.
10 + # Therefore, we compute the dependencies by hand.
12 + HDEFINES = -DNO_SYS_PARAM_H -DNO_SYS_FILE_H
13 + CONFIG_H = mgconfig.h
14 + NEEDED_LIST = mgneeded-list
16 + mgconfig.h: Makefile
17 + if [ -f ../newlib/Makefile ]; then \
18 + $(MAKE) $(FLAGS_TO_PASS) xconfig.h; \
19 + cp xconfig.h mgconfig.h; \
21 + echo "#define NEED_basename 1" > mgconfig.h; \
22 + echo "#define NEED_sys_siglist 1" >> mgconfig.h; \
23 + echo "#define NEED_strsignal 1" >> mgconfig.h; \
24 + echo "#define NEED_psignal 1" >> mgconfig.h; \
27 + mgneeded-list: Makefile
28 + if [ -f ../newlib/Makefile ]; then \
29 + $(MAKE) $(FLAGS_TO_PASS) xneeded-list; \
30 + cp xneeded-list mgneeded-list; \
32 + echo getopt.o vasprintf.o > mgneeded-list; \
34 diff -r -N -C2 gcc-2.95.2/libiberty/config.table~ gcc-2.95/libiberty/config.table
35 *** gcc-2.95.2/libiberty/config.table~ Wed Apr 7 05:31:23 1999
36 --- gcc-2.95.2/libiberty/config.table Mon Jul 31 21:01:49 2000
40 arm*-*-*) frags="${frags} ../../config/mh-armpic" ;;
41 hppa*-*-*) frags="${frags} ../../config/mh-papic" ;;
42 + i[3456]86-*-mingw32*) frags="${frags} ../../config/mt-mingw32" ;;
43 + # Mingw32 does not require strerror.o from REQUIRED_OFILES.
44 + # Worse: it will not compile it because of an incompatible sys_errlist
46 i[3456]86-*-*) frags="${frags} ../../config/mh-x86pic" ;;
48 diff -r -N -C2 gas-980103.orig/libiberty/pexecute.c gas-980103/libiberty/pexecute.c
49 *** gas-980103.orig/libiberty/pexecute.c Sat Jan 3 09:12:16 1998
50 --- gas-980103/libiberty/pexecute.c Sat Jan 3 15:44:23 1998
60 extern int _spawnv ();
61 extern int _spawnvp ();
64 to remove the outermost set of double quotes from all arguments. */
66 ! const char * const *
70 to remove the outermost set of double quotes from all arguments. */
79 ! newtemp = xmalloc (len + 2);
80 strncpy (newtemp, temp, j);
85 ! newtemp = (char *) xmalloc (len + 2);
86 strncpy (newtemp, temp, j);
92 ! return (const char * const *) argvec;
98 ! return (char * const *) argvec;