Mail Archives: djgpp/1999/06/07/15:06:44
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 -