Message-ID: <375C188C.61D22258@pmail.net> Date: Mon, 07 Jun 1999 21:07:56 +0200 From: Fredrick Backman 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: Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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/