Thread overview | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
August 11, 2012 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, 2012 Re: First working Win64 program! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | 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, 2012 Re: First working Win64 program! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sönke Ludwig | >>
>> 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, 2012 Re: First working Win64 program! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | 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, 2012 Re: First working Win64 program! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | 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, 2012 Re: First working Win64 program! | ||||
---|---|---|---|---|
| ||||
Posted in reply to 拖狗散步 | 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, 2012 Re: First working Win64 program! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | 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, 2012 Re: First working Win64 program! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | 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, 2012 Re: First working Win64 program! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | 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, 2012 Re: First working Win64 program! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | 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 |
Copyright © 1999-2021 by the D Language Foundation