From: yangsu AT cs DOT iastate DOT edu (yang su) Subject: Re: cygwinb19.dll could not be found error 14 Jun 1998 19:13:12 -0700 Message-ID: <199806141847.NAA00978.cygnus.gnu-win32@popeye.cs.iastate.edu> References: Content-Type: text To: papilla AT cs DOT tamu DOT edu (Benoit Papillault) Cc: gnu-win32 AT cygnus DOT com I use the following test.c as a test and it fails as a cgi call: (with same error message) ================================================ #include main(){ printf("Content-type: text/html \n\n"); printf(" \n"); printf("Hello World!"); printf(" \n "); } ================================================== Any further suggestions? yang > > On Sat, 13 Jun 1998, yang su wrote: > > I have a regular c program served as a cgi, I compile it > > like this: > > gcc test.c -o test.cgi > > and this test.cgi runs ok on console , but when it runs as > > a cgi, the error "cygwinb19.dll not found in the path > > ---a list of path--- " appears. > > what's wrong with that? How do I compile it so that it will work > > as a cgi? > > I don't think that the problem comes from GNUWin32. I think you have to > investigate what are the difference when you run your program on a console > and when you run it as a CGI. I mean: check environnement variable, > program argument and so on. > > Benoit. > > - 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".