Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com> List-Archive: <http://sources.redhat.com/ml/cygwin/> List-Post: <mailto:cygwin AT sources DOT redhat DOT com> List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Apparently-From: <earnie?boyd AT yahoo DOT com> Message-ID: <3AD5A9FD.A70472B0@yahoo.com> Date: Thu, 12 Apr 2001 09:13:33 -0400 From: Earnie Boyd <earnie_boyd AT yahoo DOT com> Reply-To: Cygwin Users <cygwin AT cygwin DOT com> X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Greg Hamilton <Hamilton AT bblfm DOT com DOT au> CC: cygwin AT cygwin DOT com Subject: Re: CGI & gcc References: <D0D954BB7B58D31185F600A0C998E3921DF8C9 AT BBLPROXY01> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Greg Hamilton wrote: > > Hello, > > I'm running Apache 1.3.14 under NT4.0 Is this a Cygwin enable Apache? Output of `cygcheck httpd'? > I want to write CGI using gcc but I have a problem. > My 'Hello World.' test program failed because the cygwin1.dll was not in the > path. > I copied it to c:\winnt\system32. <RANT> DON'T COPY THE CYGWIN1.DLL FROM CYGWIN/BIN TO ANYWHERE ELSE; ADD THE CYGWIN/BIN path to the PATH. </RANT> My rant most likely will not help your problem. > The test worked. > Running the test again the browser informed me I had initiated a download of > cgitest.exe > and the test no longer worked. > If I remove cygwin1.dll from the path and start again this sequence is > repeatable. > Python and Perl scripts are working fine as are .exe files compiled with > Delphi. > This problem seems quite specific to executables which require the > cygwin1.dll > Again, is this a Cygwin enable httpd? Earnie. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple