delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/04/08/09:31:10

From: John DOT C DOT Howard AT mci DOT com ("John C Howard")
Subject: vfork problem in beta 17.1
8 Apr 1997 09:31:10 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <01BC43FE.633C1F50.cygnus.gnu-win32@PCY4284>
Mime-Version: 1.0
Original-To: "'gnu-win32 AT cygnus DOT com'" <gnu-win32 AT cygnus DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by cygnus.com id GAA08333
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Problem:
------------
Compilation fails due to problem reported by fork in beta 17.1 under NT 4.0.
I get similar errors when in bash, almost like my environment is not visible to any of the b17.1 executables.  If I start bash in the bin directory and then type "ls", I get a directory listing.  If I cd .., and then type "ls", I get an error reported by fork that it could not find the command.

Read further for a compilation example...  Any suggestions?

Platform:
------------
Machine:	IBM Personal Computer 350-P166
OS:		Windows NT 4.0, Build 1381; Service Pack 1a
Free Memory:	32,180 Megabytes RAM
Free HD:	60,915,712 bytes
I installed from the all_tar.gz

Source Code for hello.c example:
----------------------------------
#include <stdio.h>
main()
{
        printf( "Content-type: text/html\n\n" );
        printf( "<H1>Hello World!</H1>\n" );
}


Compilation Output:
----------------------------
C:\cygnus\apps>gcc hello.c
gcc: vfork: No such file or directory
C:\cygnus\apps>

Environment:
------------------
GCC_EXEC_PREFIX="C:\cygnus\H-i386-cygwin32\lib\gcc-lib\"

PATH=.;C:\PROG\PERL5\bin;C:\WINNT\system32;C:\WINNT;C:\SQL60\BINN;C:\SQL60\DLL;
c:\prog\jdk1.1\bin;C:\Hotjava\bin;C:\Hotjava\runtime\bin;"c:\cygnus\H-i386-cygwin32\bin"; c:\winnt\command;c:\;c:\utils;C:\prog\perl5\bin;

End of Message
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019