First working Win64 program!
Simen Kjaeraas
simen.kjaras at gmail.com
Sun Aug 12 02:18:49 PDT 2012
On Sat, 11 Aug 2012 10:16:37 +0200, Walter Bright
<newshound2 at digitalmars.com> wrote:
> No, it ain't much, some of it is jury rigged, and there's a heluva lot
> more work to do. But we've got liftoff!
>
> -------------------------------------
> import core.stdc.stdio;
>
> extern (C) int main()
> {
> puts("hello world\n");
> return 0;
> }
> -------------------------------------
>
> dmd -c -m64 hello.d
> cl hello.obj
> hello
>
> hello world!
Sweet! Congratulations!
--
Simen
More information about the Digitalmars-d-announce
mailing list