delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/07/10:15:16

From: "Martin Berard" <shf AT videotron DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: Compiling CGI script under DJGPP
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Message-ID: <e0J63.2287$zn6.36970@weber.videotron.net>
Date: Mon, 7 Jun 1999 00:59:52 -0700
NNTP-Posting-Host: 207.253.84.20
X-Complaints-To: abuse AT videotron DOT net
X-Trace: weber.videotron.net 928734346 207.253.84.20 (Mon, 07 Jun 1999 01:45:46 EDT)
NNTP-Posting-Date: Mon, 07 Jun 1999 01:45:46 EDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I'm have been developping apps on unix for years!!  Now I need to test some
of my CGI script under my PC.

I hope someone can help me a bit solving these issue.

1.  When I compile with the following:
        gcc -o myscript.cgi myscript.c
    two files are generated:
        myscript.cgi and myscript.exe  (different size !? the .exe is
bigger)

    The .exe seems to be runnable not the CGI (Bad command or file name)

2.  When I start my script with my broswer it ask me if I want to download
it..

Any help will be appreciated

Martin Bérard
SHF SENC
shf AT shf DOT qc DOT ca



- Raw text -


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