This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: CGI & gcc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]