First working Win64 program!
Bernard Helyer
b.helyer at gmail.com
Sat Aug 11 07:09:15 PDT 2012
On Saturday, 11 August 2012 at 14:04:39 UTC, 拖狗散步 wrote:
> On Saturday, 11 August 2012 at 08:17:13 UTC, Walter Bright
> 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!
Congratulations! :D
>
> Congratulations!
> But the possibility of acceding to generate so files?
GDC already can. The .so thing is more of a druntime issue
than it is a compiler issue, AFAIK.
More information about the Digitalmars-d-announce
mailing list