Mail Archives: djgpp/2000/03/21/15:41:04
This is a multi-part message in MIME format.
--------------00DCC5D8FD665AD338574553
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Ok first of all I realized that I was replying to the wrong message. I
actually
was just figuring out how to get inline assembly to work.
Secondly I cannot reply to the news server original message because the
original message is deleted due to my provider news server crash.
However here is the basics.
Download the entire ming32 version (win32) version of GCC.
Use that to compile the test.c cgi program attached. So GCC Mingw32
(Win32) CGI works fine.
I still cannot get DJGPP to work with CGI I presume because it is
protected mode and apache is not or something like that.
So in short you can use djgpp for all your development but just switch
to ming32 to
make a final compile on your CGI's.
Damon
Robin Johnson wrote:
> Yes, please! I would love to know how to get it to work right!
>
> Damon Hogan wrote:
> >
> > What do you know, all FAQ's are not the same :) Thanks for your
> help.
> >
> > It is the same problem. The FAQ just says get newer sources. But I
>
> > actually know
> > how to fix the code now. If anyone needs help with this I will
> explain.
> >
> > --
> > Damon Hogan
> > Sr Programmer/Analyst
> > PGM, Inc.
> > damonh AT pgmincorporated DOT com
> > http://www.pgmincorporated.com
> > http://www.pgmincorporated.com/site-imgs/dh.gif
> > Voice (801) 434-4054 /Voice Mail
> > Fax (801) 434-7304
>
> --
> Robin Hugh Johnson
> "Robbat2"
> QTOD: "I used to be an idealist, but I got mugged by reality."
> E-Mail : robbat2 AT t-p-l DOT com
> ICQ# : 30269588 or 41961639
> Home Page : http://tesla.t-p-l.com
> Time Zone : Pacific Daylight (GMT - 8)
--
Damon Hogan
Sr Programmer/Analyst
PGM, Inc.
damonh AT pgmincorporated DOT com
http://www.pgmincorporated.com
http://www.pgmincorporated.com/site-imgs/dh.gif
Voice (801) 434-4054 /Voice Mail
Fax (801) 434-7304
--------------00DCC5D8FD665AD338574553
Content-Type: text/plain; charset=us-ascii;
name="test.c"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="test.c"
#include <stdio.h>
#include <stdlib.h>
int main(void)
{
char hello[1000];
printf("Content-type: text/html\n\n");
printf("\n\nTesting!\n\n");
scanf("%s",hello);
printf("%s\n",hello);
printf("%s\n",getenv("QUERY_STRING"));
}
--------------00DCC5D8FD665AD338574553--
- Raw text -