This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: RFC/RFT: split up pexecute.c
> I'm building a native compile now but I don't think the below patch will
> cause any problems.
>
> cgf
>
> 2003-01-24 Christopher Faylor <cgf@redhat.com>
>
> * configure.in: Remove special pex-cygwin consideration.
> * configure: Regenerate.
> * pex-cygwin.c: Remove.
Here is the patch I actually applied:
2003-01-24 Christopher Faylor <cgf@redhat.com>
* configure.in: Remove special pex-cygwin consideration.
* configure: Regenerate.
* pex-cygwin.c: Remove.
* Makefile.in: Remove pex-cygwin.[co] lines.
Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/libiberty/Makefile.in,v
retrieving revision 1.81
diff -p -3 -r1.81 Makefile.in
*** Makefile.in 24 Jan 2003 20:02:10 -0000 1.81
--- Makefile.in 24 Jan 2003 23:22:17 -0000
*************** CFILES = alloca.c argv.c asprintf.c atex
*** 141,147 ****
memset.c mkstemps.c \
objalloc.c obstack.c \
partition.c \
! pex-cygwin.c pex-djgpp.c pex-mpw.c pex-msdos.c pex-os2.c \
pex-unix.c pex-win32.c \
putenv.c \
random.c regex.c rename.c rindex.c \
--- 141,147 ----
memset.c mkstemps.c \
objalloc.c obstack.c \
partition.c \
! pex-djgpp.c pex-mpw.c pex-msdos.c pex-os2.c \
pex-unix.c pex-win32.c \
putenv.c \
random.c regex.c rename.c rindex.c \
*************** CONFIGURED_OFILES = asprintf.o atexit.o
*** 184,190 ****
getcwd.o getpagesize.o \
index.o insque.o \
memchr.o memcmp.o memcpy.o memmove.o memset.o mkstemps.o \
! pex-cygwin.o pex-djgpp.o pex-mpw.o pex-msdos.o pex-os2.o \
pex-unix.o pex-win32.o \
putenv.o \
random.o rename.o rindex.o \
--- 184,190 ----
getcwd.o getpagesize.o \
index.o insque.o \
memchr.o memcmp.o memcpy.o memmove.o memset.o mkstemps.o \
! pex-djgpp.o pex-mpw.o pex-msdos.o pex-os2.o \
pex-unix.o pex-win32.o \
putenv.o \
random.o rename.o rindex.o \
*************** objalloc.o: config.h $(INCDIR)/ansidecl.
*** 455,461 ****
obstack.o: config.h $(INCDIR)/obstack.h
partition.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
$(INCDIR)/partition.h
- pex-cygwin.o: config.h pex-common.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
pex-djgpp.o: config.h pex-common.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
pex-mpw.o: config.h pex-common.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
pex-msdos.o: config.h pex-common.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
--- 455,460 ----
Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/libiberty/configure.in,v
retrieving revision 1.53
diff -p -3 -r1.53 configure.in
*** configure.in 24 Jan 2003 20:02:11 -0000 1.53
--- configure.in 24 Jan 2003 23:22:17 -0000
*************** fi
*** 427,433 ****
# Figure out which version of pexecute to use.
case "${host}" in
- *-*-cygwin*) pexecute=pex-cygwin.o ;;
*-*-mingw* | *-*-winnt*) pexecute=pex-win32.o ;;
*-*-msdosdjgpp*) pexecute=pex-djgpp.o ;;
*-*-msdos*) pexecute=pex-msdos.o ;;
--- 427,432 ----