Open MPI with D
Jude Young
10equals2 at gmail.com
Fri Nov 25 04:58:20 PST 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11/25/2011 06:27 AM, Andrei Alexandrescu wrote:
> On 11/25/11 2:13 AM, Jude Young wrote:
>> Is there an easy way to turn D style (string[] args) into C
>> style?
>
> Hm, I expected this would work:
>
> extern(C) int __argc; extern(C) char** __argv;
>
> The symbols do exist at least on OSX (no linker error) but they are
> both zero, so apparently druntime doesn't initialize them.
>
>
> Andrei
>
>
Hmmm. that's something I never expected.
It would be nice if that was always exposed. (and initialized)
More progress with Open MPI! from what I know now, I should have it
working in less than a week. barring I don't learn that I did
everything wrong.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJOz5DsAAoJENcHIWLyQiSlgIcH/iFQYy0cmPhybh+zbpEifZLJ
nUOe3x8AWXLCdeYISxbpbqmgS9yr04jY7y8svNPlvaCzuO8fabXFtSX4eJJCySIz
UOD0i3OXLFD9kRGq/c64E+v8pfCkagPMqDYY4mz4EKeZw97Pp/szMUUw7WdI2QWo
io/D/BjfGMY9u9YtvJnY++1Y4i95tOJqBYYYSFqu0/n52MmPA6aAGWkPuzMSApkS
6FJhcKbrWPHJliPqnLaUdCXfP5nvYUbdI6x/WbodC8xeWxjOzBUX9xNgEzKYTp2+
ejOou29SHDGnWdkK6iL4AwTEyAiNNOtPI9zrYkaWBITkfSd/z4CCtzI2iNOUIeA=
=1IL0
-----END PGP SIGNATURE-----
More information about the Digitalmars-d
mailing list