aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMumit Khan <khan@xraylith.wisc.edu>1997-12-21 21:07:08 +0000
committerJeff Law <law@gcc.gnu.org>1997-12-21 14:07:08 -0700
commit058536407a9745940be25c3ad21fe41a235de8bd (patch)
tree6eeff507b9739733c57dba49bb0f658ff151e9f9 /gcc
parent06387d7cd80386a9a359342aee2d5361d1732f4f (diff)
downloadgcc-058536407a9745940be25c3ad21fe41a235de8bd.zip
gcc-058536407a9745940be25c3ad21fe41a235de8bd.tar.gz
gcc-058536407a9745940be25c3ad21fe41a235de8bd.tar.bz2
cygwin32.h (NO_IMPLICIT_EXTERN_C): Don't assume anything about system headers.
* i386/cygwin32.h (NO_IMPLICIT_EXTERN_C): Don't assume anything about system headers. (LIB_SPEC): Add -ladvapi32 -lshell32 to be consistent with mingw32 and also to resolve symbols in prefix.c. * i386/xm-cygwin32.h (HAVE_BCOPY): Define. This avoids a conflict between gansidecl.h and newlib's _ansi.h when building libgcc2.a, when the definitions in auto-config.h is not visible. (HAVE_BZERO): Likewise. (HAVE_BCMP): Likewise. (HAVE_RINDEX): Likewise. (HAVE_INDEX): Likewise. From-SVN: r17177
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog15
-rw-r--r--gcc/config/i386/cygwin32.h5
-rw-r--r--gcc/config/i386/xm-cygwin32.h5
3 files changed, 24 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fb034b4..10ce1a8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,18 @@
+Sun Dec 21 22:10:59 1997 Mumit Khan <khan@xraylith.wisc.edu>
+
+ * i386/cygwin32.h (NO_IMPLICIT_EXTERN_C): Don't assume anything
+ about system headers.
+ (LIB_SPEC): Add -ladvapi32 -lshell32 to be consistent with mingw32
+ and also to resolve symbols in prefix.c.
+
+ * i386/xm-cygwin32.h (HAVE_BCOPY): Define. This avoids a conflict
+ between gansidecl.h and newlib's _ansi.h when building libgcc2.a,
+ when the definitions in auto-config.h is not visible.
+ (HAVE_BZERO): Likewise.
+ (HAVE_BCMP): Likewise.
+ (HAVE_RINDEX): Likewise.
+ (HAVE_INDEX): Likewise.
+
Sun Dec 21 21:54:22 1997 Jeffrey A Law (law@cygnus.com)
* pa.c (emit_move_sequence): Handle a function label source
diff --git a/gcc/config/i386/cygwin32.h b/gcc/config/i386/cygwin32.h
index 56064be..03e6dd9 100644
--- a/gcc/config/i386/cygwin32.h
+++ b/gcc/config/i386/cygwin32.h
@@ -51,7 +51,8 @@ Boston, MA 02111-1307, USA. */
ld, but that doesn't work just yet. */
#undef LIB_SPEC
-#define LIB_SPEC "-lcygwin %{mwindows:-luser32 -lgdi32 -lcomdlg32} -lkernel32"
+#define LIB_SPEC "-lcygwin %{mwindows:-luser32 -lgdi32 -lcomdlg32} -lkernel32 \
+ -ladvapi32 -lshell32"
#define LINK_SPEC "%{mwindows:--subsystem windows}"
@@ -209,3 +210,5 @@ do { \
/* DWARF2 Unwinding doesn't work with exception handling yet. */
#define DWARF2_UNWIND_INFO 0
+/* Don't assume anything about the header files. */
+#define NO_IMPLICIT_EXTERN_C
diff --git a/gcc/config/i386/xm-cygwin32.h b/gcc/config/i386/xm-cygwin32.h
index 745ab58..c8d2627 100644
--- a/gcc/config/i386/xm-cygwin32.h
+++ b/gcc/config/i386/xm-cygwin32.h
@@ -22,6 +22,11 @@ Boston, MA 02111-1307, USA. */
#define NO_STAB_H
#define EXECUTABLE_SUFFIX ".exe"
#define NO_SYS_SIGLIST 1
+#define HAVE_BCOPY 1
+#define HAVE_BZERO 1
+#define HAVE_BCMP 1
+#define HAVE_RINDEX 1
+#define HAVE_INDEX 1
/* Even though we support "/", allow "\" since everybody tests both. */
#define DIR_SEPARATOR '\\'