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
This commit is contained in:
Mumit Khan 1997-12-21 21:07:08 +00:00 committed by Jeff Law
parent 06387d7cd8
commit 058536407a
3 changed files with 24 additions and 1 deletions

View file

@ -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

View file

@ -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

View file

@ -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 '\\'