Message-ID: <004601bc7365$2b4ba480$6af8c6c3@johan> From: "Johan Henriksson" To: Subject: Re: Compiling CGI script under DJGPP Date: Sat, 7 Jun 1997 18:53:39 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Reply-To: djgpp AT delorie DOT com from Johan Henriksson, Sweden HTTP://come.to/jhewok | Primary mail: johan DOT he AT telia DOT com #UIN 12035895 Second: jhe75 AT hotmail DOT com Third: johan_he AT yahoo DOT com Leadprogrammer and FX-specialist at Real software http://come.to/real_software ************************************************************************* -----Original Message----- From: Martin Berard Newsgroups: comp.os.msdos.djgpp To: djgpp AT delorie DOT com Date: Monday, June 07, 1999 5:06 PM Subject: Compiling CGI script under DJGPP >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) I've always used Perl so I don't know about that... > 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.. You run the page on your local machine? Through Unix? You must give it an executeattribute first. Check out chmod or what it was called. > >Any help will be appreciated > >Martin Bérard >SHF SENC >shf AT shf DOT qc DOT ca > > > >