patch to support i[3456]86-pc-uwin

Mumit Khan khan@xraylith.wisc.edu
Sun Feb 21 15:44:00 GMT 1999


These are various small patches to support i[3456]x86-pc-uwin. For more 
information on UWIN, see http://www.research.att.com/sw/tools/uwin/ .
Patch against development snapshot 1999-02-14.

The patches are rather small, and dwarfed by changes to regenerated 
configure scripts. The patches are separated out in 3 files: 
toplevel.diff, libiberty.diff and gcc.diff.

few notes:
  - I've added a vfork runtime bug workaround when hosting on uwin. This
    can safely be removed when uwin's runtime is fixed. Currently it
    hangs configure.

  - the change to gcc/c-common.c is something I had submitted a long time
    ago, and then it disappeared after one of the gcc2 merges. This is
    applicable in general.

  - These patches have been in use since egcs-1.0.x days in my binary
    releases for uwin.
  
==== Toplevel ====
Sun Feb 21 14:50:28 1999  Mumit Khan  <khan@xraylith.wisc.edu>
	
	* config.sub: Add i386-uwin support.
	* config.guess: Likewise.


==== libiberty ====
Sun Feb 21 14:50:56 1999  Mumit Khan  <khan@xraylith.wisc.edu>
	
	* pexecute.c (__CYGWIN32__): Rename to
	(__CYGWIN__): this.
	* xmalloc.c: Likewise.

	Changes to support i386-pc-uwin.

	* configure.in (*-*-uwin*): Workaround for vfork bug.
	* configure: Regenerate.
	* pexecute.c (pexecute): Be like standard Unix.
	(pwait): Likewise.
	* xmalloc.c (first_break): Define.
	(xmalloc_set_program_name): Use.
	(xmalloc): Use.

==== gcc =====
Sun Feb 21 15:05:27 1999  Mumit Khan  <khan@xraylith.wisc.edu>

	* c-common.c (decl_attributes): Flag unrecognized attribute
	functions as warnings instead of as errors.

	Support for i386-pc-uwin.

	* i386/uwin.h: New file.
	* i386/xm-uwin.h: New file.
	* i386/t-uwin: New file.
	* i386/uwin.asm: New file.
	* configure.in (i[3456]86-*-uwin*): Define.
	Add Workaround for vfork bug when hosted on uwin.
	* configure: Regenerate.

	* cccp.c (INO_T_EQ): Undefine. UWIN has inodes.
	(absolute_filename): UWIN uses POSIX pathnames only.
	* libgcc2.c (getpagesize): Do not define for UWIN.
	(mprotect): Likewise.
	* protoize.c (dirent.h): Conditionally include.
	(fputc): Prototype only if it's not a macro.

Regards,
Mumit



More information about the Gcc-patches mailing list