(971215) patch for i386-cygwin32

Jeffrey A Law law@cygnus.com
Sun Dec 21 21:05:00 GMT 1997


  In message < 9712210712.AA15238@modi.xraylith.wisc.edu >you write:
  > The following patch against egcs-971215 fixes the support for
  > i386-cygwin32. These changes are due to gcc-2.8.0 merge. These apply
  > to gcc-2.8.0 as well.
  > 
  > I personally don't like the changes to i386/xm-cygwin32, but I don't see 
  > any other way out right now.
  > 
  > I'll post all the changes to enable i386-mingw32 within the next few days
  > after I do the final testing (esp to make sure that other targets don't
  > feel the changes).
  > 
  > Thu Dec 18 18:40:17 1997  Mumit Khan <khan@xraylith.wisc.edu>
  > 	
  > 	Refine support for cygwin32 target.
  > 
  > 	* 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.
Thanks.  I've installed these changes.

Q -- are they appropriate for the rs6000 cygwin32 port too?


jeff



More information about the Gcc-bugs mailing list