Michal Minich wrote:
On Sun, 06 Jun 2010 09:00:25 -0400, new to d wrote:
import std.stdio;
void main(string[] args)
{
writeln("Hello world!");
}
Just a guess, but maybe the difference of your C and D programs is in
return value, which can be differently interpreted by CGI host. try
new to d Wrote:
> Robert Clipsham Wrote:
>
> > On 06/06/10 14:00, new to d wrote:
> > > It's a typical hello world program:
> > >
> > > import std.stdio;
> > >
> > > void main(string[] args) { writeln("Hello world!"); }
> > >
> > > I also tried using printf instead of writeln. I'm compiling it wi
Robert Clipsham Wrote:
> On 06/06/10 14:00, new to d wrote:
> > It's a typical hello world program:
> >
> > import std.stdio;
> >
> > void main(string[] args) { writeln("Hello world!"); }
> >
> > I also tried using printf instead of writeln. I'm compiling it with
> > dmd test.d. I'm using dmd v2.0
On Sun, 06 Jun 2010 09:00:25 -0400, new to d wrote:
> import std.stdio;
>
> void main(string[] args)
> {
> writeln("Hello world!");
> }
Just a guess, but maybe the difference of your C and D programs is in
return value, which can be differently interpreted by CGI host. try
returning 1 or
On 06/06/10 14:00, new to d wrote:
It's a typical hello world program:
import std.stdio;
void main(string[] args) { writeln("Hello world!"); }
I also tried using printf instead of writeln. I'm compiling it with
dmd test.d. I'm using dmd v2.046. I'm compiling the c program with
gcc -otest2 test
Robert Clipsham Wrote:
> On 06/06/10 13:40, new to d wrote:
> > After reading on this newsgroup about the use of D with cgi i've
> > tried it on my host. Even a simple hello world program gives me
> > internal server error while equivalent c program compiled with gcc
> > works fine. Does any one h
On 06/06/10 13:40, new to d wrote:
After reading on this newsgroup about the use of D with cgi i've
tried it on my host. Even a simple hello world program gives me
internal server error while equivalent c program compiled with gcc
works fine. Does any one here have any idea what the problem could
After reading on this newsgroup about the use of D with cgi i've tried it on my
host. Even a simple hello world program gives me internal server error while
equivalent c program compiled with gcc works fine. Does any one here have any
idea what the problem could be?