First working Win64 program!
Adam Wilson
flyboynw at gmail.com
Sat Aug 11 18:28:52 PDT 2012
On Sat, 11 Aug 2012 01:16:37 -0700, 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!
This is a glorious day indeed!
--
Adam Wilson
IRC: LightBender
Project Coordinator
The Horizon Project
http://www.thehorizonproject.org/
More information about the Digitalmars-d-announce
mailing list