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

Message-ID: <375C188C.61D22258@pmail.net>
Date: Mon, 07 Jun 1999 21:07:56 +0200
From: Fredrick Backman <fredrick DOT backman AT pmail DOT net>
X-Mailer: Mozilla 4.5 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Compiling CGI script under DJGPP
References: <e0J63.2287$zn6 DOT 36970 AT weber DOT videotron DOT net>
Reply-To: djgpp AT delorie DOT com

Hi,
I don't know if this is the problem, but the cgi code must be native win32. Try
installing RSXNTDJ or whatever it's called, it can compile win32 code (at least
I think so...haven't tried myself).

good luck!
Fred

ps. please can you let me know if it works, as I'm in the same position as you
(unix->dos).

Martin Berard wrote:

> 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

--
Fred Backman
Lead Wizard
Binary Spells
www.femmefetish.com/games/

- Raw text -


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