aboutsummaryrefslogtreecommitdiff
path: root/gcc/collect2.c
diff options
context:
space:
mode:
authorMumit Khan <khan@xraylith.wisc.edu>1999-02-10 09:09:22 +0000
committerJeff Law <law@gcc.gnu.org>1999-02-10 02:09:22 -0700
commit93ea10ba5b8bee5cc7aa10392d7cc80f3662fba5 (patch)
treed095b64729b4be0d166f0f6a076119c3c88122a8 /gcc/collect2.c
parentff2a6c322f4081b680c6b2a6a00d95ecdd6b37a0 (diff)
downloadgcc-93ea10ba5b8bee5cc7aa10392d7cc80f3662fba5.zip
gcc-93ea10ba5b8bee5cc7aa10392d7cc80f3662fba5.tar.gz
gcc-93ea10ba5b8bee5cc7aa10392d7cc80f3662fba5.tar.bz2
* collect2.c (collect_execute): Remove cygwin-specific code.
From-SVN: r25123
Diffstat (limited to 'gcc/collect2.c')
-rw-r--r--gcc/collect2.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/collect2.c b/gcc/collect2.c
index f144480..e51ce71d 100644
--- a/gcc/collect2.c
+++ b/gcc/collect2.c
@@ -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