mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-18 21:59:35 +08:00
* collect2.c (collect_execute): Remove cygwin-specific code.
From-SVN: r25123
This commit is contained in:
parent
ff2a6c322f
commit
93ea10ba5b
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user