Thread overview | ||||||
---|---|---|---|---|---|---|
|
September 25, 2013 rdmd + ldmd2 = ? | ||||
---|---|---|---|---|
| ||||
$ cat test.d void main() { import std.stdio; writeln("hello"); } $ rdmd --compiler=ldmd2 test.d Error: cannot write object file: Error opening output file '/tmp/.rdmd-1000/rdmd-test.d-076D4362D54E9EAA8F49CE8F8A45511D/objs/test.o' $ ls /tmp/.rdmd-1000/rdmd-test.d-076D4362D54E9EAA8F49CE8F8A45511D/ rdmd.deps Is it an issue of ldmd2 object file output or tweak required from rdmd side? (rdmd build from 2.063.2 tag, ldc 0.11.0) |
September 25, 2013 Re: rdmd + ldmd2 = ? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dicebot | On Wednesday, 25 September 2013 at 13:26:51 UTC, Dicebot wrote:
> $ cat test.d
> void main()
> {
> import std.stdio;
> writeln("hello");
> }
> $ rdmd --compiler=ldmd2 test.d
> Error: cannot write object file: Error opening output file '/tmp/.rdmd-1000/rdmd-test.d-076D4362D54E9EAA8F49CE8F8A45511D/objs/test.o'
> $ ls /tmp/.rdmd-1000/rdmd-test.d-076D4362D54E9EAA8F49CE8F8A45511D/
> rdmd.deps
>
> Is it an issue of ldmd2 object file output or tweak required from rdmd side?
>
> (rdmd build from 2.063.2 tag, ldc 0.11.0)
I think that is a rdmd thing. DMD creates non-existent
directories when writing object files, gdc and ldc don't.
|
September 25, 2013 Re: rdmd + ldmd2 = ? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dav1d | On 25 Sep 2013, at 15:45, Dav1d wrote:
> I think that is a rdmd thing. DMD creates non-existent
> directories when writing object files, gdc and ldc don't.
Arguably, ldmd2 should behave exactly the same as DMD, though – in fact, that's its whole raison d'être.
Anyway, I have never experienced that problem on my local machine, and at least on OS X, where I just checked it, "ldc2 -of some_random_directory/result result.d" indeed creates some_random_directory.
Please create a bug report on GitHub with your operating system details (some Linux flavor?) so we have all the information in one place.
David
|
September 25, 2013 Re: rdmd + ldmd2 = ? | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Nadlinger | On Wednesday, 25 September 2013 at 15:07:11 UTC, David Nadlinger wrote: > On 25 Sep 2013, at 15:45, Dav1d wrote: >> I think that is a rdmd thing. DMD creates non-existent >> directories when writing object files, gdc and ldc don't. > > Arguably, ldmd2 should behave exactly the same as DMD, though – in fact, that's its whole raison d'être. > > Anyway, I have never experienced that problem on my local machine, and at least on OS X, where I just checked it, "ldc2 -of some_random_directory/result result.d" indeed creates some_random_directory. > > Please create a bug report on GitHub with your operating system details (some Linux flavor?) so we have all the information in one place. > > David https://github.com/ldc-developers/ldc/issues/480 |
Copyright © 1999-2021 by the D Language Foundation