www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/12/02:28:44

From: "Damian Yerrick" <web DOT poison AT pineight DOT 8m DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Question regarding CGI
Date: Mon, 11 Oct 1999 13:23:59 -0500
Organization: Rose-Hulman Institute of Technology
Lines: 44
Message-ID: <7tta3j$3o8$1@solomon.cs.rose-hulman.edu>
References: <38010A1D DOT BCF60B35 AT null DOT videotron DOT ca> <7tsjbt$65l AT acp3bf DOT knirsch DOT de> <3802211D DOT AB3D01FF AT null DOT videotron DOT ca>
NNTP-Posting-Host: yerricde.laptop.rose-hulman.edu
X-Trace: solomon.cs.rose-hulman.edu 939666355 3848 137.112.103.81 (11 Oct 1999 18:25:55 GMT)
X-Complaints-To: news AT cs DOT rose-hulman DOT edu
NNTP-Posting-Date: 11 Oct 1999 18:25:55 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

bub (bub AT null DOT videotron DOT ca) wrote:

bub> I couldn't find any references to CGI or problems related to it
bub> in the DJGPP FAQ.

Hans-Bernhard Broeker wrote:

hans> Off the top of my head, there's one main possibility: some of the
hans> 32bit Windows WWW servers have been reported to require CGIs to be
hans> *Windows* console applications. They refuse to run DOS programs, like
hans> the ones generated by DJGPP. That may be the cause of your problem.

Then rebuild everything with RSXNTDJ or MinGW32,
two Win32 ports of gcc.
Get RSXNTDJ at the Zip Picker; then
http://surf.to/rsxntdj to get it working.

But M$VC is compatible; it only took me a couple hours
to get even a DJGPP/Allegro program to work in M$VC.

bub> After comparing program outputs and finding they were exactly the same,
bub> I've decided that this appears to be the problem.
bub>
bub> Sifting through Microsoft's knowledge base, I found an article related
bub> to 16 bit executables and how they won't work.

M$ software thinks DJGPP executables are 16-bit
because their stubs are 16-bit.

bub> Though I am aware that djgpp executables are 32 bit, I performed
bub> MS's "test" (at least for this example), which consists of
bub> using Explorer | Properties for the file and seeing how many
bub> tabs there are. For 32 bit modules there should be 2 of them,
bub> more for 16 bit. Which is what my djgpp program shows.
bub>
bub> Upsetting. Maybe I should just use apache.

Apache is good. Micro$oft is bad.


Damian Yerrick
http://come.to/yerrick


- Raw text -


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