View mode: basic / threaded / horizontal-split · Log in · Help
August 11
First working Win64 program!
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!
August 11
Re: First working Win64 program!
Am 11.08.2012 10:16, schrieb Walter Bright:
> 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!

Yeehaa! Best news of the last years and even two news that is :-)
August 11
Re: First working Win64 program!
>>
>>   dmd -c -m64 hello.d
>>   cl hello.obj
>>   hello
>>
>> hello world!
>
> Yeehaa! Best news of the last years and even two news that is 
> :-)
+1
Cool!!!!!!!!11111
August 11
Re: First working Win64 program!
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!

HURRAY!

Congratulations.

--
Paulo
August 11
Re: First working Win64 program!
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!
But the possibility of acceding to generate so files?
August 11
Re: First working Win64 program!
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.
August 11
Re: First working Win64 program!
On 8/11/12 10:16 , 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!

\o/ sweet!!!
August 11
Re: First working Win64 program!
On 8/11/12 4:16 AM, 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!

Cool, but the correct implementation should be

-------------------------------------
import core.stdc.stdio;

extern (C) int main()
{
    return puts("hello world\n") < 0;
}
-------------------------------------

:o)


Andrei
August 11
Re: First working Win64 program!
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!


Awesome!
August 11
Re: First working Win64 program!
On 2012-08-11 10:16, 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!

That's great news.

-- 
/Jacob Carlborg
« First   ‹ Prev
1 2 3 4 5
Top | Discussion index | About this forum | D home