* collect2.c (collect_execute): Remove cygwin-specific code.
authorMumit Khan <khan@xraylith.wisc.edu>
Wed, 10 Feb 1999 09:09:22 +0000 (09:09 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 10 Feb 1999 09:09:22 +0000 (02:09 -0700)
From-SVN: r25123

gcc/ChangeLog
gcc/collect2.c

index 6db6024724b8eec2e5fc36a6ba8e4debdc724248..58ad49094b75a2348876970374c249960cee0589 100644 (file)
@@ -1,3 +1,7 @@
+Wed Feb 10 10:05:23 1999  Mumit Khan  <khan@xraylith.wisc.edu>
+
+        * collect2.c (collect_execute): Remove cygwin-specific code.
+
 Tue Feb  9 17:27:29 GMT 1999  Nathan Sidwell  <nathan@acm.org>
 
        * system.h (_, N_): Remove dummy i18n macros.
index f144480411d617ad7e00d20c0777b5dcfd4440f6..e51ce71d39d63048e434b74943da4b91c12813cd 100644 (file)
@@ -48,9 +48,6 @@ Boston, MA 02111-1307, USA.  */
 #include "demangle.h"
 #include "obstack.h"
 #include "intl.h"
-#ifdef __CYGWIN__
-#include <process.h>
-#endif
 
 /* Obstack allocation and deallocation routines.  */
 #define obstack_chunk_alloc xmalloc
@@ -1733,7 +1730,6 @@ collect_execute (prog, argv, redir)
   if (argv[0] == 0)
     fatal ("cannot find `%s'", prog);
 
-#ifndef __CYGWIN__
   pid = vfork ();
   if (pid == -1)
     fatal_perror (VFORK_STRING);
@@ -1752,11 +1748,6 @@ collect_execute (prog, argv, redir)
       execvp (argv[0], argv);
       fatal_perror ("execvp %s", prog);
     }
-#else
-  pid = _spawnvp (_P_NOWAIT, argv[0], argv);
-  if (pid == -1)
-    fatal ("spawnvp failed");
-#endif
 }
 
 static void