D in SUSE Enterprise Linux

Vino vino.bheeman at hotmail.com
Tue May 1 14:56:28 UTC 2018


Hi All,

  Request your help, trying to execute the below program in SUSE 
Linux but there is no output


Code
#!/usr/bin/env rdmd
import std.stdio;

void main() {
writeln("Test");
}

DMD Version : DMD64 D Compiler v2.079.1
Package installed : dmd-2.079.1-0.openSUSE.x86_64.rpm

Execution 1 : rdmd <program name>  without this #!/usr/bin/env 
rdmd
Execution 2: ./<program name> with #!/usr/bin/env rdmd + chmod 
777 <program name>

Both ways there is on output


From,
Vino.B


More information about the Digitalmars-d-learn mailing list