delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/22/06:30:12

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: cgicc
Date: 22 May 2001 10:22:57 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 17
Message-ID: <9edem1$h5m$1@nets3.rz.RWTH-Aachen.DE>
References: <b1369b75 DOT 0105211924 DOT 59a495cf AT posting DOT google DOT com>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 990526977 17590 137.226.32.75 (22 May 2001 10:22:57 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 22 May 2001 10:22:57 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Lakshmi Narasimhan <plnzone AT hotmail DOT com> wrote:
> hai
> I compiled cgicc for djgpp and created libcgicc.a after much effort.
> but the examples r not working.

Due to peculiarities of most Windows-based HTTP servers, DJGPP is not
a particularly good choice of compiler for writing CGI programs with.
The problem is that DJGPP creates DOS programs, but the webservers are
32bit Windows applications, and they don't seem to be able to redirect
output of DOS childprograms.  So switching to a different compiler may
be better for you than trying to coerce the servers to work with
DJGPP-compiled CGI programs.

Running the DJGPP CGI via a .bat file has been reported to help...
-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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